#!/usr/bin/bash # change to your LMDZ install dir or set "export LMDZ=/path/lmdz" in your .bashrc LMDZ=${LMDZ:-../../..} source $LMDZ/XIOS/arch.env source $LMDZ/XIOS/arch.path FLAGS="-g -traceback" FLAGS= mpif90 $FLAGS start_archive2icosa.f90 \ $NETCDF_INCDIR $NETCDF_LIBDIR $NETCDF_LIB \ $HDF5_INCDIR $HDF5_LIBDIR $HDF5_LIB \ -I $LMDZ/XIOS/inc \ -L $LMDZ/XIOS/lib -lxios -lstdc++ \ -o start_archive2icosa.e mpif90 $FLAGS rearrange_startphy.f90 \ $NETCDF_INCDIR $NETCDF_LIBDIR $NETCDF_LIB \ $HDF5_INCDIR $HDF5_LIBDIR $HDF5_LIB \ -I $LMDZ/XIOS/inc \ -L $LMDZ/XIOS/lib -lxios -lstdc++ \ -o rearrange_startphy.e #mpif90 $FLAGS rearrange_startphy_tsurf_cst.f90 \ #$NETCDF_INCDIR $NETCDF_LIBDIR $NETCDF_LIB \ #$HDF5_INCDIR $HDF5_LIBDIR $HDF5_LIB \ #-I /scratch/cnt0027/lmd1167/adelavois/models/code/XIOS/inc \ #-L /scratch/cnt0027/lmd1167/adelavois/models/code/XIOS/lib -lxios -lstdc++ \ #-o rearrange_startphy_tsurf_cst