Changeset 26431


Ignore:
Timestamp:
09/03/21 17:49:51 (4 years ago)
Author:
seroussi
Message:

fixed mitgcm compilation on babylon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/test/MITgcm/build.sh

    r23076 r26431  
    2424#create MITgcm makefile for this run, if needed
    2525if [ ! -f Makefile ]; then
    26     if [ $hostname == "pleiades" ]; then
    27         $modelpath/../MITgcm/install/tools/genmake2 -of $SLR_DIR/models/ice-ocean/configs/linux_amd64_gfortran+mpi_ice_nas -mo ../code -rd $modelpath/../MITgcm/install
    28     else
    29         $modelpath/../MITgcm/install/tools/genmake2 -mpi -mo $modelpath/../MITgcm/code -rd $modelpath/../MITgcm/install
    30     fi
     26        case $hostname in
     27                "pleiades")
     28                        $modelpath/../MITgcm/install/tools/genmake2 -of $SLR_DIR/models/ice-ocean/configs/linux_amd64_gfortran+mpi_ice_nas -mo ../code -rd $modelpath/../MITgcm/install
     29                        ;;
     30                "babylon")
     31                        $modelpath/../MITgcm/install/tools/genmake2 -of $modelpath/../MITgcm/install/tools/build_options/linux_amd64_ifort -mpi -mo $modelpath/../MITgcm/code -rd $modelpath/../MITgcm/install
     32                        export LD_LIBRARY_PATH="$ISSM_DIR/externalpackages/petsc/install/lib:/dartfs-hpc/admin/opt/el7/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64:$ISSM_DIR/externalpackages/triangle/install/lib"
     33                        ;;
     34                *)
     35                        $modelpath/../MITgcm/install/tools/genmake2 -mpi -mo $modelpath/../MITgcm/code -rd $modelpath/../MITgcm/install
     36                        ;;
     37        esac
    3138fi
    3239
     
    3542    make depend
    3643fi
    37 
    38 make -j 4
     44make -j 4 &> Makefile.log
Note: See TracChangeset for help on using the changeset viewer.