Changeset 1486 for trunk/libIGCM
- Timestamp:
- 06/17/19 17:50:03 (5 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh
r1467 r1486 1006 1006 eval ExeNameIn=\${config_Executable_${comp}[0]} 1007 1007 eval ExeNameOut=\${config_Executable_${comp}[1]} 1008 1009 # If missing executable and DRYRUN is set to 0 or 1 then stop! 1010 if [ ${DRYRUN} -le 1 ] && [ X${ExeNameIn} != X\"\" ] && [ ! -f ${R_EXE}/${ExeNameIn} ] ; then 1011 IGCM_debug_Exit "IGCM_comp_GetInputBinaryFiles missing executable ${ExeNameIn}" 1008 # Test if missing executable and DRYRUN is set to 0 or 1, then stop! 1009 if [ ${DRYRUN} -le 1 ] && [ X${ExeNameIn} != X\"\" ] ; then 1010 # The executable is set in config.card and is different from "" 1011 # Use eval to expand ExeNameIn if variables are used in the name 1012 eval ExeNameIn=${ExeNameIn} 1013 if [ ! -f ${R_EXE}/${ExeNameIn} ] ; then 1014 IGCM_debug_Exit "IGCM_comp_GetInputBinaryFiles missing executable ${ExeNameIn}" 1015 fi 1012 1016 fi 1013 1017 … … 1069 1073 # Copy executable for this component 1070 1074 eval ExeNameIn=\${config_Executable_${comp}[0]} 1075 eval ExeNameIn=${ExeNameIn} 1071 1076 eval ExeNameOut=\${config_Executable_${comp}[1]} 1072 1077 -
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1431 r1486 38 38 IGCM_debug_Print 3 "${option} : ${auxprint}" 39 39 done 40 41 # Set variables with shorter names on some variables which 42 # are used in the executable name in config.card 43 ResolAtm=${config_UserChoices_ResolAtm} 44 ResolOce=${config_UserChoices_ResolOce} 45 OptMode=${config_UserChoices_OptMode} 40 46 41 47 #================================== … … 653 659 654 660 # Keep the first executable found and the first CompName 655 ExeNameFirst=${ExeNameIn}661 eval ExeNameFirst=${ExeNameIn} 656 662 CompNameFirst=${comp} 657 663 … … 1110 1116 (( ExeSize=0 )) 1111 1117 else 1118 eval ExeNameIn=${ExeNameIn} 1112 1119 LS_bin=${R_EXE}/${ExeNameIn} 1113 1120 IGCM_sys_FileSize ${LS_bin} ExeSize
Note: See TracChangeset
for help on using the changeset viewer.