Changeset 3567 for trunk/LMDZ.PLUTO
- Timestamp:
- Dec 19, 2024, 3:47:51 PM (4 days ago)
- Location:
- trunk/LMDZ.PLUTO/util/startarchive2icosa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/util/startarchive2icosa/compile
r3545 r3567 1 1 #!/usr/bin/bash 2 2 3 LMDZ=${LMDZ:-../../..} # change to your LMDZ install dir 3 # change to your LMDZ install dir or set "export LMDZ=/path/lmdz" in your .bashrc 4 LMDZ=${LMDZ:-../../..} 4 5 5 6 source $LMDZ/XIOS/arch.env 6 7 source $LMDZ/XIOS/arch.path 7 8 8 mpif90 -g -traceback start_archive2icosa.f90 \ 9 FLAGS="-g -traceback" 10 FLAGS= 11 12 mpif90 $FLAGS start_archive2icosa.f90 \ 9 13 $NETCDF_INCDIR $NETCDF_LIBDIR $NETCDF_LIB \ 10 14 $HDF5_INCDIR $HDF5_LIBDIR $HDF5_LIB \ … … 13 17 -o start_archive2icosa.e 14 18 15 mpif90 -g -tracebackrearrange_startphy.f90 \19 mpif90 $FLAGS rearrange_startphy.f90 \ 16 20 $NETCDF_INCDIR $NETCDF_LIBDIR $NETCDF_LIB \ 17 21 $HDF5_INCDIR $HDF5_LIBDIR $HDF5_LIB \ … … 20 24 -o rearrange_startphy.e 21 25 22 #mpif90 -g -tracebackrearrange_startphy_tsurf_cst.f90 \26 #mpif90 $FLAGS rearrange_startphy_tsurf_cst.f90 \ 23 27 #$NETCDF_INCDIR $NETCDF_LIBDIR $NETCDF_LIB \ 24 28 #$HDF5_INCDIR $HDF5_LIBDIR $HDF5_LIB \ -
trunk/LMDZ.PLUTO/util/startarchive2icosa/icosa_finalize.bash
r3545 r3567 7 7 # load nco module 8 8 module purge 9 LMDZ=${LMDZ:-../trunk/} #You have to adapt to your own path, can be in your bashrc 9 # change to your LMDZ install dir or set "export LMDZ=/path/lmdz" in your .bashrc 10 LMDZ=${LMDZ:-../../..} 10 11 source $LMDZ/XIOS/arch.env 11 12 #module load nco/4.7.9-gcc-4.8.5-hdf5-1.8.18-openmpi-2.0.4 #Example of version of the module needed 12 13 module load nco 14 15 # save start*nc from lmdz grid 16 mkdir -p lmdz_starts 17 cp start.nc startfi.nc lmdz_starts 13 18 14 19 #conversion to netcdf 3 in order to rename and add variables, not properly done with netcdf4 files … … 58 63 # cleanup 59 64 rm -rf startphy_icosa_nc3.nc startphy_nc3.nc 65 66 # copy icosa start files in icosa_starts folder 67 mkdir -p icosa_starts 68 mv start_icosa.nc icosa_starts/start.nc 69 mv startfi.nc icosa_starts/startfi.nc 70 71 # get back start files from lmdz grid 72 cp lmdz_starts/* . -
trunk/LMDZ.PLUTO/util/startarchive2icosa/job_start_archive_2icosa
r3545 r3567 10 10 #SBATCH --output %x.%j.out 11 11 12 arch= ifort_MESOIPSL12 arch=${ARCH:-ifort_MESOIPSL} 13 13 source $HOME/lmdz/LMDZ.COMMON/arch/arch-$arch.env 14 14
Note: See TracChangeset
for help on using the changeset viewer.