Compilation options

To change the default options of compilation : export OPTION=myoption
For exemple, to compile without MPI library
export VER_MPI=NOMPI

  • Options for VER_MPI:
    • NOMPI (no MPI), MPIAUTO (default MPI library on the PC), specific libraries to be defined
  • Options for VER_OMP:
    • NOOMP (no Open-mp), OMP (Open-mp)
  • Options for OPTLEVEL ( optimization level ) :
    • DEBUG, O2
  • Options for VER_CDF ( Netcdf library):
    • CDFAUTO (included in SURFEX), CDFCTI (installed on CNRM computers), other pre-installed libraries on computers.
  • Options for VER_DRHOOK ( DR_HOOK library):
    • BYPASS (dummies), MINI (minimal HOOK, no parallelization), SIMPLE (simplified DRHOOK)
  • Options for VER_OASIS (OASIS library):
    • NOmct (no OASIS), mct (OASIS)