Ignore:
Timestamp:
Oct 25, 2013, 10:12:38 AM (11 years ago)
Author:
Ehouarn Millour
Message:

Getting XIOS to work in MPI, OpenMP and mixed MPI/OpenMP modes. Use "-io xios" option with makelmdz or makelmdz_fcm to enable XIOS (this doesn't deactivate IOIPSL outputs; to suppress IOIPSL outputs, add cpp flag CPP_NO_IOIPSL).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz_fcm

    r1869 r1897  
    300300   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    301301   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
    302 fi
     302elif [[ $io == xios ]]
     303then
     304   # For now, xios implies also using ioipsl
     305   CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS"
     306   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"
     307   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios"
     308fi
     309
    303310if [[ "$cosp" == "true" ]]
    304311then
Note: See TracChangeset for help on using the changeset viewer.