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

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

trunk: replace key_iomput by key_xios

  • Property svn:mime-type set to text/x-perl
File size: 2.3 KB
Line 
1# mpi gfortran compiler options for ATHENA using XIOS parallel writer server
2#
3#
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
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)
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
27# CC          C compiler used to compile conv for AGRIF
28# CFLAGS      compiler flags used with CC
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
35%NCDF_HOME           /users/home/ans040/local
36%HDF5_HOME           /users/home/ans040/local
37%XIOS_HOME           /users/home/ans040/SOFTWARE/XIOS/trunk
38
39%NCDF_INC            -I%NCDF_HOME/include
40%NCDF_LIB            -L%NCDF_HOME/lib
41
42%HDF5_INC            -I%HDF5_HOME/include
43%HDF5_LIB            -L%HDF5_HOME/lib -lhdf5_hl -lhdf5
44
45%XIOS_INC            -I%XIOS_HOME/inc
46%XIOS_LIB            -L%XIOS_HOME/lib -lxios
47
48%CPP                 cpp
49%FC                  mpif90
50%FCFLAGS             -fdefault-real-8 -fno-second-underscore -Dgfortran -ffree-line-length-none
51%FFLAGS              %FCFLAGS
52%LD                  %FC
53%LDFLAGS
54%FPPFLAGS            -x f77-cpp-input
55%AR                  ar
56%ARFLAGS             rs
57%MK                  gmake
58%USER_INC            %XIOS_INC %NCDF_INC %HDF5_INC
59%USER_LIB            %XIOS_LIB %NCDF_LIB %HDF5_LIB  -lnetcdff -lnetcdf -lstdc++ -lz -lcurl -lgpfs
60
61%CC                  cc
62%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.