- Timestamp:
- 02/24/15 14:41:27 (9 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1150 r1173 850 850 # Read OMP parameter for composante 851 851 eval ${comp}_PROC_OMP=$( echo ${tempvar} | tr '[a-z]' '[A-Z]' | sed -e "s/OMP//" ) 852 OK_PARA_OMP=true;;852 ;; 853 853 *[nN][oO][dD]*) 854 854 # Read NOD (NumBer of Nodes) parameter for composante … … 863 863 eval tempvarNOD=\${${comp}_PROC_NOD} 864 864 eval tempvarOMP=\${${comp}_PROC_OMP} 865 866 # set OMP mode if more than 1 OMP thread. 867 [ ${tempvarOMP} -ge 2 ] && OK_PARA_OMP=true 865 868 866 869 (( PROCESSUS_NUMBER = PROCESSUS_NUMBER + tempvarMPI * tempvarNOD * tempvarOMP )) -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r1166 r1173 2297 2297 # Build rankfile : method used to assign cores and nodes for the MPI process 2298 2298 # Ex : 2299 #rank 0=curie5296 slot=0, 1,2,32300 #rank 1=curie5296 slot= 4,5,6,72299 #rank 0=curie5296 slot=0,2,4,6 2300 #rank 1=curie5296 slot=8,10,12,14 2301 2301 # Example of final command : 2302 2302 # mpirun -hostfile hosts -rankfile rankfile -np 27 ./script_lmdz.x.ksh : -np 5 ./script_opa.xx.ksh … … 2317 2317 string_final="" 2318 2318 for index in `seq $slot $(($slot+$comp_proc_omp_loc-1))`; do 2319 string=$index$virg 2319 (( index_slot = index * 2 )) 2320 string=$index_slot$virg 2320 2321 string_final=$string_final$string 2321 2322 done
Note: See TracChangeset
for help on using the changeset viewer.