Changeset 4221 for BOL


Ignore:
Timestamp:
Jul 20, 2022, 5:54:18 PM (2 years ago)
Author:
lguez
Message:

Define compiler variables for mpiifort

With mpiifort, we only need to add the definition of CC to compile
NetCDF95, but it is simpler to just merge the cases ifort and
mpiifort.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz_new.sh

    r4220 r4221  
    494494    compile_with_fcm=1
    495495
    496 elif [ $compiler = ifort ] ; then
     496elif [[ $compiler = ifort || $compiler = mpiifort ]] ; then
    497497    OPTIM="-O2 -fp-model strict -ip -align all "
    498498    OPTDEV="-p -g -O2 -traceback -fp-stack-check -ftrapuv -check"
     
    510510    # Pourquoi forcer la compilation fcm. Marche mieux sans
    511511    #compile_with_fcm=1
    512 
    513 elif [ $compiler = mpiifort ] ; then
    514     echo on ne fait rien la
    515     # Pourquoi forcer la compilation fcm. Marche mieux sans
    516     #compile_with_fcm=1
    517 
    518512else
    519513    echo unexpected compiler $compiler ; exit
Note: See TracChangeset for help on using the changeset viewer.