Changeset 3634
- Timestamp:
- Feb 19, 2025, 3:54:06 PM (5 months ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/changelog.txt
r3628 r3634 597 597 == 18/02/2025 == JBC 598 598 Bug correction about pressure rewriting in the "start.nc". 599 600 == 19/02/2025 == JBC 601 Few small adjustments in the script files. -
trunk/LMDZ.COMMON/libf/evolution/deftank/PCMrun.job
r3579 r3634 35 35 # Running the PCM 36 36 read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt 37 echo "Run PCM $iPCMis starting."37 echo "Run \"PCM $iPCM\" is starting." 38 38 cp run_PCM.def run.def 39 39 eval "$exe_cmd > out_runPCM${iPCM} 2>&1" -
trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job
r3584 r3634 42 42 # Running the PEM 43 43 read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt 44 echo "Run PEM $iPEMis starting."44 echo "Run \"PEM $iPEM\" is starting." 45 45 cp run_PEM.def run.def 46 46 eval "./$exePEM $arg_pem > out_runPEM${iPEM} 2>&1" -
trunk/LMDZ.COMMON/libf/evolution/deftank/launchPEM.sh
r3579 r3634 110 110 exec >> log_launchPEM.txt 2>&1 111 111 echo 112 echo "This is a relaunch for the PEM simulation from the run $relaunch$irelaunch."112 echo "This is a relaunch for the PEM simulation from the run \"$relaunch $irelaunch\"." 113 113 date 114 114 checklaunch -
trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh
r3620 r3634 172 172 fi 173 173 if [ $(echo "$i_myear < $n_myear" | bc -l) -eq 1 ]; then 174 echo "Run PCM $iPCM: call $ii/$3..."174 echo "Run \"PCM $iPCM\": call $ii/$3..." 175 175 if [ $1 -eq 0 ]; then # Mode: processing scripts 176 176 sed -i "s/^k=[0-9]\+$/k=$(echo "3 - $nPCM_ini" | bc)/" PCMrun.job … … 199 199 for ((i = $ii; i <= $3; i++)); do 200 200 if [ $(echo "$i_myear < $n_myear" | bc -l) -eq 1 ]; then 201 echo "Run PCM $iPCM: call $i/$3..."201 echo "Run \"PCM $iPCM\": call $i/$3..." 202 202 if [ $1 -eq 0 ]; then # Mode: processing scripts 203 203 sed -i "s/^k=[0-9]\+$/k=$(echo "$i + 2 - $nPCM_ini" | bc)/" PCMrun.job … … 227 227 submitPEM() { 228 228 if [ $(echo "$i_myear < $n_myear" | bc -l) -eq 1 ]; then 229 echo "Run PEM $iPEM"229 echo "Run \"PEM $iPEM\"" 230 230 if [ $1 -eq 0 ]; then # Mode: processing scripts 231 231 ./PEMrun.job … … 257 257 # PEM run 258 258 if [ $(echo "$i_myear < $n_myear" | bc -l) -eq 1 ]; then 259 echo "Run PEM $iPEM"259 echo "Run \"PEM $iPEM\"" 260 260 if [ $1 -eq 0 ]; then # Mode: processing scripts 261 261 ./PEMrun.job … … 348 348 il=$(echo "($irelaunch - $nPCM_ini + 1)%$nPCM + 1" | bc) 349 349 if [ $2 -ne 0 ]; then # Counting: PCM runs taken into account 350 i_myear=$( ($(awk "NR==$iPEM {printf \"%s\n\", \$3}" "info_PEM.txt") + $il))350 i_myear=$(echo "$(awk "NR==$iPEM {printf \"%s\n\", \$3}" "info_PEM.txt") + $il" | bc -l) 351 351 else # Counting: only PEM runs count 352 352 i_myear=$(awk "NR==$iPEM {printf \"%s\n\", \$3}" "info_PEM.txt") -
trunk/LMDZ.COMMON/libf/evolution/reshape_XIOS_output.F90
r3584 r3634 43 43 do numyear = 1,2 44 44 write(str,'(i1.1)') numyear 45 write(*,*) ' Reshaping of variables from "data2reshape_Y'//str//'.nc"...'45 write(*,*) '> Reshaping of variables from "data2reshape_Y'//str//'.nc"...' 46 46 47 47 state = nf90_open(path = "data2reshape_Y"//str//".nc",mode = nf90_nowrite,ncid = ncid1) … … 98 98 do i = 1,nvars 99 99 state = nf90_inquire_variable(ncid1,varids(i),name = namevar,xtype = xtype_var,ndims = numdims,natts = numatts) 100 write(*,*) ' >Treatment of '//namevar100 write(*,*) 'Treatment of '//namevar 101 101 if (state /= nf90_noerr) call handle_err(state) 102 102 allocate(dimid_var(numdims)) … … 219 219 220 220 deallocate(dimids,varids,dimids_2,varids_2) 221 write(*,*) ' Done!'221 write(*,*) '> "data2reshape_Y'//str//'.nc" processed!' 222 222 enddo 223 223
Note: See TracChangeset
for help on using the changeset viewer.