-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This script seems a copy from upper air. But I think it is incorrect and may do one more remapping. I am checking . @mathomp4 @biljanaorescanin
GEOS_Util/pre/remap_restart/remap_lake_landice_saltwater.py
Lines 217 to 271 in 7820b59
| """ | |
| source {Bin}/g5_modules | |
| limit stacksize unlimited | |
| cd {out_dir}/upper_data | |
| /bin/touch input.nml | |
| # The MERRA fvcore_internal_restarts don't include W or DZ, but we can add them by setting | |
| # HYDROSTATIC = 0 which means HYDROSTATIC = FALSE | |
| if ($?I_MPI_ROOT) then | |
| # intel scaling suggestions | |
| #-------------------------- | |
| setenv I_MPI_ADJUST_ALLREDUCE 12 | |
| setenv I_MPI_ADJUST_GATHERV 3 | |
| setenv I_MPI_SHM_HEAP_VSIZE 512 | |
| setenv PSM2_MEMORY large | |
| setenv I_MPI_EXTRA_FILESYSTEM 1 | |
| setenv I_MPI_EXTRA_FILESYSTEM_FORCE gpfs | |
| setenv ROMIO_FSTYPE_FORCE "gpfs:" | |
| endif | |
| set infiles = () | |
| set outfils = () | |
| foreach infile ( *_restart_in ) | |
| if ( $infile == fvcore_internal_restart_in ) continue | |
| if ( $infile == moist_internal_restart_in ) continue | |
| set infiles = ( $infiles $infile ) | |
| set outfil = `echo $infile | sed "s/restart_in/rst_out/"` | |
| set outfils = ($outfils $outfil) | |
| end | |
| set interp_restartsX = {Bin}/interp_restarts.x | |
| if ( $#infiles ) then | |
| set ioflag = "-input_files $infiles -output_files $outfils" | |
| set ftype = `file -Lb --mime-type fvcore_internal_restart_in` | |
| if ($ftype =~ *stream*) then | |
| set interp_restartsX = {Bin}/interp_restarts_bin.x | |
| endif | |
| else | |
| set ioflag = "" | |
| endif | |
| set drymassFLG = {drymassFLG} | |
| if ($drymassFLG) then | |
| set dmflag = "" | |
| else | |
| set dmflag = "-scalers F" | |
| endif | |
| {Bin}/esma_mpirun -np {NPE} $interp_restartsX -im {imout} -lm {nlevel} \\ | |
| -do_hydro {hydrostatic} $ioflag $dmflag -nwriter {nwrit} {stretch_str} | |
| """ |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels