Changeset 1897 for LMDZ5/trunk/makelmdz


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

    r1873 r1897  
    3535  arch="SX8_BRODIE"
    3636fi
    37 if [[ "${machine:0:6}" == "vargas" ]]
    38 then
    39   arch="PW6_VARGAS"
     37if [[ "${machine:0:3}" == "ada" ]]
     38then
     39  arch="X64_ADA"
    4040fi
    4141if [[ "${machine:0:6}" == "ciclad" ]]
     
    393393   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    394394   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
     395elif [[ $io == xios ]]
     396then
     397   # For now, xios implies also using ioipsl
     398   CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS"
     399   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"
     400   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios"
    395401fi
    396402
Note: See TracChangeset for help on using the changeset viewer.