New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
arch-ifort_athena_xios.fcm in branches/2015/dev_r5056_CMCC4_simplification/NEMOGCM/ARCH/CMCC – NEMO

source: branches/2015/dev_r5056_CMCC4_simplification/NEMOGCM/ARCH/CMCC/arch-ifort_athena_xios.fcm @ 5282

Last change on this file since 5282 was 5282, checked in by diovino, 9 years ago

Dev. branch CMCC4_simplification ticket #1456

File size: 2.4 KB
Line 
1# mpi ifort 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_iomput is activated)
12# XIOS_LIB    xios library         (taken into accound only if key_iomput 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#
28# Note that:
29#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
30#  - fcm variables are starting with a % (and not a $)
31#
32
33# required modules
34# module load  INTEL/intel_xe_2013 NETCDF/netcdf-4.3_parallel_shared NETCDF/parallel-netcdf-1.3.1 HDF5/hdf5-1.8.11_parallel_shared
35
36# Environment variables set by user. Others should automatically define when loading modules.
37#export XIOS=/users/home/models/nemo/xios
38#export HDF5=/users/home/opt/hdf5/hdf5-1.8.11_parallel_shared
39#export NETCDF=/users/home/opt/netcdf/netcdf-4.3_parallel_shared
40
41%NCDF_INC            -I${NETCDF}/include
42%NCDF_LIB            -L${NETCDF}/lib -lnetcdff -lnetcdf
43%HDF5_INC            -I$HDF5/include
44%HDF5_LIB            -L$HDF5/lib -lhdf5_hl -lhdf5
45%XIOS_INC            -I$XIOS/inc
46%XIOS_LIB            -L$XIOS/lib -lxios
47%CPP                 cpp
48%FC                  mpiifort
49%FCFLAGS             -r8 -O3 -xHost -fp-model source -traceback ${CFLAGS}
50%FFLAGS              %FCFLAGS
51%LD                  mpiifort
52%FPPFLAGS            -P -C -traditional
53%LDFLAGS             -lstdc++ -lz -lgpfs -lcurl  ${LDFLAGS}
54%AR                  ar
55%ARFLAGS             -r
56%MK                  gmake
57%USER_INC            %XIOS_INC %NCDF_INC %HDF5_INC
58%USER_LIB            %XIOS_LIB %NCDF_LIB %HDF5_LIB
Note: See TracBrowser for help on using the repository browser.