source: utils/build/arch/CMCC/arch-ifort_athena_xios.fcm

Last change on this file was 14242, checked in by smasson, 6 months ago

trunk: replace key_iomput by key_xios

  • Property svn:mime-type set to text/x-perl
File size: 2.6 KB
RevLine 
[4225]1# mpi ifort compiler options for ATHENA using XIOS parallel writer server
[4021]2#
[4225]3#
[4021]4# NCDF_HOME   root directory containing lib and include subdirectories for netcdf4
5# HDF5_HOME   root directory containing lib and include subdirectories for HDF5
6# XIOS_HOME   root directory containing lib for XIOS
7# OASIS_HOME  root directory containing lib for OASIS
8#
9# NCDF_INC    netcdf4 include file
10# NCDF_LIB    netcdf4 library
[14242]11# XIOS_INC    xios include file    (taken into accound only if key_xios is activated)
12# XIOS_LIB    xios library         (taken into accound only if key_xios is activated)
[4021]13# OASIS_INC   oasis include file   (taken into accound only if key_oasis3 is activated)
14# OASIS_LIB   oasis library        (taken into accound only if key_oasis3 is activated)
15#
16# FC          Fortran compiler command
17# FCFLAGS     Fortran compiler flags
18# FFLAGS      Fortran 77 compiler flags
19# LD          linker
20# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
21# FPPFLAGS    pre-processing flags
22# AR          assembler
23# ARFLAGS     assembler flags
24# MK          make
25# USER_INC    complete list of include files
26# USER_LIB    complete list of libraries to pass to the linker
[5656]27# CC          C compiler used to compile conv for AGRIF
28# CFLAGS      compiler flags used with CC
[4021]29#
30# Note that:
31#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
32#  - fcm variables are starting with a % (and not a $)
33#
34
[4494]35# required modules
[6522]36# module load  INTEL/intel_xe_2013 NETCDF/netcdf-4.3_parallel NETCDF/parallel-netcdf-1.7.0 HDF5/hdf5-1.8.11_parallel
[4021]37
[6522]38# NETCDF and PNETCDF should be set automatically when loading modules.
39# The following environment variables must be set by the user.
[6140]40#export XIOS=/users/home/models/nemo/xios
[6409]41#export HDF5=/users/home/opt/hdf5/hdf5-1.8.11_parallel
[4021]42
[6522]43%NCDF_INC            -I${NETCDF}/include -I${PNETCDF}/include
44%NCDF_LIB            -L${NETCDF}/lib -lnetcdff -lnetcdf -L${PNETCDF}/lib -lpnetcdf
[6140]45%HDF5_INC            -I${HDF5}/include
46%HDF5_LIB            -L${HDF5}/lib -lhdf5_hl -lhdf5
47%XIOS_INC            -I${XIOS}/inc
48%XIOS_LIB            -L${XIOS}/lib -lxios
[4865]49%CPP                 cpp
[4021]50%FC                  mpiifort
[6409]51%FCFLAGS             -r8 -O3 -xHost -fp-model source -traceback
[4997]52%FFLAGS              %FCFLAGS
[4021]53%LD                  mpiifort
54%FPPFLAGS            -P -C -traditional
[6409]55%LDFLAGS             -lstdc++ -lz -lgpfs -lcurl
[4021]56%AR                  ar
57%ARFLAGS             -r
58%MK                  gmake
[4494]59%USER_INC            %XIOS_INC %NCDF_INC %HDF5_INC
60%USER_LIB            %XIOS_LIB %NCDF_LIB %HDF5_LIB
[5656]61%CC                  icc
62%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.