Changeset 1507
- Timestamp:
- 11/29/19 10:16:11 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_jeanzay.ksh
r1506 r1507 1379 1379 1380 1380 if ( ${OK_PARA_OMP} ) ; then 1381 eval comp_proc_omp_loc=\${${comp}_PROC_OMP} 1382 echo "" >> script_${ExeNameOut}.ksh 1383 echo "export OMP_STACKSIZE=3g" >> script_${ExeNameOut}.ksh 1384 echo "export OMP_PLACES=cores" >> script_${ExeNameOut}.ksh 1385 echo "OMP_NUM_THREADS=${comp_proc_omp_loc}" >> script_${ExeNameOut}.ksh 1381 eval comp_proc_omp_loc=\${${comp}_PROC_OMP} 1382 # Check if the number of threads is correct 1383 case ${comp_proc_omp_loc} in 1384 2|4|5|10|20) 1385 IGCM_debug_Print 1 "You run ${ExeNameOut} on ${comp_proc_omp_loc} OMP threads" 1386 ;; 1387 *) 1388 IGCM_debug_Exit "ERROR with OMP parameters !" 1389 IGCM_debug_Print 2 "${comp_proc_omp_loc} is not possible as number of OMP threads" 1390 IGCM_debug_Print 2 "Only 2,4,5,10,20 as number of OMP threads are possible " 1391 IGCM_debug_Verif_Exit 1392 ;; 1393 esac 1394 echo "" >> script_${ExeNameOut}.ksh 1395 echo "export OMP_STACKSIZE=3g" >> script_${ExeNameOut}.ksh 1396 echo "export OMP_PLACES=cores" >> script_${ExeNameOut}.ksh 1397 echo "OMP_NUM_THREADS=${comp_proc_omp_loc}" >> script_${ExeNameOut}.ksh 1386 1398 fi 1387 1399
Note: See TracChangeset
for help on using the changeset viewer.