Changeset 557
- Timestamp:
- 02/22/12 10:43:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_MPI_OpenMP/libIGCM_sys/libIGCM_sys_vargas.ksh
r556 r557 1142 1142 fi 1143 1143 1144 if [ -f run_file ] ; then1145 IGCM_sys_Rm -f run_file1146 fi1147 touch run_file1148 1149 1144 if ( ${OK_PARA_MPMD} ) ; then 1145 1146 if [ -f run_file ] ; then 1147 IGCM_sys_Rm -f run_file 1148 fi 1149 touch run_file 1150 1150 1151 1151 if ( ${OK_PARA_OMP} ) ; then … … 1195 1195 eval ExeNameOut=\${config_Executable_${comp}[1]} 1196 1196 1197 # Only if we really have an executable for the component :1197 # for CPL component only 1198 1198 if [ "X${comp}" = "XCPL" ] ; then 1199 1199 … … 1230 1230 1231 1231 # Only if we really have an executable for the component and not the coupler ie oasis: 1232 if ( [ "X${ExeNameOut}" != X ] && [ "X${comp}" != "XCPL" ] ) ; then1232 if ( [ "X${ExeNameOut}" != X\"\" ] && [ "X${comp}" != "XCPL" ] ) ; then 1233 1233 1234 1234 eval comp_proc_mpi_loc=\${${comp}_PROC_MPI} … … 1259 1259 EXECUTION="${HOST_MPIRUN_COMMAND} -pgmmodel mpmd -cmdfile ./run_file" 1260 1260 1261 IGCM_sys_Chmod u+x run_file 1262 if ( $DEBUG_sys ) ; then 1263 echo "run_file contains : " 1264 cat run_file 1265 fi 1266 1261 1267 else # Only one executable. launch it. 1262 1268 … … 1265 1271 eval ExeNameIn=\${config_Executable_${comp}[0]} 1266 1272 eval ExeNameOut=\${config_Executable_${comp}[1]} 1267 # to suppress "" coming from config.card 1268 eval ExeNameToLaunch=${ExeNameOut} 1269 1270 [ "X${ExeNameToLaunch}" != X ] && EXECUTION="time ./${ExeNameToLaunch}" 1273 1274 [ "X${ExeNameOut}" != X\"\" ] && EXECUTION="time ./${ExeNameOut}" 1271 1275 1272 1276 done 1273 1277 1274 1278 fi 1275 1276 IGCM_sys_Chmod u+x run_file1277 if ( $DEBUG_sys ) ; then1278 echo "run_file contains : "1279 cat run_file1280 fi1281 1279 1282 1280 IGCM_debug_Print 1 "sys vargas : execution command is "
Note: See TracChangeset
for help on using the changeset viewer.