Changeset 3050 for trunk/LMDZ.MARS/deftank
- Timestamp:
- Sep 26, 2023, 3:57:38 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/deftank/pem/launch_pem.sh
r3047 r3050 51 51 if [ ! -f "run_GCM.def" ]; then 52 52 echo "Error: file \"run_GCM.def\" does not exist in $dir!" 53 exit 154 fi55 if [ ! -f "diagfi_PEM.def" ]; then56 echo "Error: file \"diagfi_PEM.def\" does not exist in $dir!"57 exit 158 fi59 if [ ! -f "diagfi_GCM.def" ]; then60 echo "Error: file \"diagfi_GCM.def\" does not exist in $dir!"61 53 exit 1 62 54 fi … … 118 110 cp run_GCM.def run.def 119 111 rm diagfi.def 120 if [ !-f "diagfi_GCM.def" ]; then112 if [ -f "diagfi_GCM.def" ]; then 121 113 cp diagfi_GCM.def diagfi.def 122 114 fi … … 146 138 cp restart.nc starts/restart${iGCM}.nc 147 139 mv restart.nc start.nc 140 fi 141 if [ -f "restart1D.txt" ]; then 142 cp restart1D.txt starts/restart1D${iGCM}.txt 143 mv restart1D.txt start1D.txt 148 144 fi 149 145 if ls profile_out_* 1> /dev/null 2>&1; then … … 165 161 done 166 162 echo "Done!" 167 163 #--- Running PEM 168 164 echo "Run PEM $iPEM..." 169 165 cp run_PEM.def run.def 170 166 rm diagfi.def 171 if [ !-f "diagfi_PEM.def" ]; then167 if [ -f "diagfi_PEM.def" ]; then 172 168 cp diagfi_PEM.def diagfi.def 173 169 fi 174 170 mv startfi.nc startfi_evol.nc 171 if [ -f "start.nc" ]; then 172 cp start.nc start_evol.nc 173 fi 174 #if [ -f "start1D.txt" ]; then 175 # cp start1D.txt start1D.txt 176 #fi 175 177 ./$exePEM > out_runPEM${iPEM} 2>&1 176 178 if [ ! -f "restartfi_evol.nc" ]; then # Check if run ended abnormally
Note: See TracChangeset
for help on using the changeset viewer.