125 lines
5.3 KiB
INI
125 lines
5.3 KiB
INI
# ----------------------- FCM extract configuration file -----------------------
|
|
cfg::type bld
|
|
cfg::version 1.0
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# Build information
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# INC /cluster/home/robinson/nemo_4.2.2/mk/arch_tools.fcm # Start
|
|
|
|
#==========================================================
|
|
# Automatically generated by Fcheck_archfile.sh from
|
|
# /cluster/home/robinson/nemo_4.2.2/arch/arch-obetzy.fcm
|
|
#==========================================================
|
|
|
|
# Curie BULL at TGCC, http://www-hpc.cea.fr/en/complexe/tgcc-curie.htm
|
|
#
|
|
# NCDF_HOME root directory containing lib and include subdirectories for netcdf4
|
|
# HDF5_HOME root directory containing lib and include subdirectories for HDF5
|
|
# XIOS_HOME root directory containing lib for XIOS
|
|
# OASIS_HOME root directory containing lib for OASIS
|
|
#
|
|
# NCDF_INC netcdf4 include file
|
|
# NCDF_LIB netcdf4 library
|
|
# XIOS_INC xios include file (taken into accound only if key_iomput is activated)
|
|
# XIOS_LIB xios library (taken into accound only if key_iomput is activated)
|
|
# OASIS_INC oasis include file (taken into accound only if key_oasis3 is activated)
|
|
# OASIS_LIB oasis library (taken into accound only if key_oasis3 is activated)
|
|
#
|
|
# FC Fortran compiler command
|
|
# FCFLAGS Fortran compiler flags
|
|
# FFLAGS Fortran 77 compiler flags
|
|
# LD linker
|
|
# LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries
|
|
# FPPFLAGS pre-processing flags
|
|
# AR assembler
|
|
# ARFLAGS assembler flags
|
|
# MK make
|
|
# USER_INC complete list of include files
|
|
# USER_LIB complete list of libraries to pass to the linker
|
|
# CC C compiler used to compile conv for AGRIF
|
|
# CFLAGS compiler flags used with CC
|
|
#
|
|
# Note that:
|
|
# - unix variables $... are accpeted and will be evaluated before calling fcm.
|
|
# - fcm variables are starting with a % (and not a $)
|
|
#
|
|
%NCDF_HOME
|
|
%HDF5_HOME
|
|
%XIOS_HOME /cluster/home/robinson/xios2_trunk/trunk
|
|
%OASIS_HOME /now/models/oa3mct
|
|
|
|
%NCDF_INC -I/include
|
|
%NCDF_LIB -L/lib -lnetcdff -lnetcdf -L/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5
|
|
%XIOS_INC -I/cluster/home/robinson/xios2_trunk/trunk/inc
|
|
%XIOS_LIB -L/cluster/home/robinson/xios2_trunk/trunk/lib
|
|
%OASIS_INC -I/now/models/oa3mct/build/lib/mct -I/now/models/oa3mct/build/lib/psmile.MPI1
|
|
%OASIS_LIB -L/now/models/oa3mct/lib
|
|
|
|
%CPP cpp
|
|
%FC mpif90 -c -cpp
|
|
# for Curie Fat Node
|
|
#%FCFLAGS -i4 -r8 -O3 -fp-model precise -xSSE4.2
|
|
# for Curie Thin Node
|
|
#%FCFLAGS -i4 -r8 -O3 -fp-model precise -xAVX
|
|
# for Curie all Node
|
|
%FCFLAGS -i4 -r8 -O3 -fp-model precise
|
|
%FFLAGS -i4 -r8 -O3 -fp-model precise
|
|
%LD mpif90
|
|
%LDFLAGS -lstdc++
|
|
%FPPFLAGS -P -traditional
|
|
%AR ar
|
|
%ARFLAGS rs
|
|
%MK gmake
|
|
%USER_INC -I/cluster/home/robinson/xios2_trunk/trunk/inc -I/now/models/oa3mct/build/lib/mct -I/now/models/oa3mct/build/lib/psmile.MPI1 -I/include
|
|
%USER_LIB -L/cluster/home/robinson/xios2_trunk/trunk/lib -L/now/models/oa3mct/lib -L/lib -lnetcdff -lnetcdf -L/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5
|
|
|
|
%CC mpicc
|
|
%CFLAGS -O0
|
|
# INC /cluster/home/robinson/nemo_4.2.2/mk/arch_tools.fcm # End
|
|
# INC /cluster/home/robinson/nemo_4.2.2/mk/cpp_tools.fcm # Start
|
|
bld::tool::fppkeys
|
|
# INC /cluster/home/robinson/nemo_4.2.2/mk/cpp_tools.fcm # End
|
|
|
|
search_src 1
|
|
|
|
src::nemo /cluster/home/robinson/nemo_4.2.2/tools/REBUILD/src
|
|
|
|
dir::root /cluster/home/robinson/nemo_4.2.2/tools/REBUILD/BLD
|
|
|
|
bld::tool::cpp cpp
|
|
bld::tool::fpp cpp
|
|
bld::tool::fc mpif90 -c -cpp
|
|
bld::tool::fflags -i4 -r8 -O3 -fp-model precise -I/cluster/home/robinson/xios2_trunk/trunk/inc -I/now/models/oa3mct/build/lib/mct -I/now/models/oa3mct/build/lib/psmile.MPI1 -I/include
|
|
bld::tool::ld mpif90
|
|
bld::tool::ldflags -lstdc++ -L/cluster/home/robinson/xios2_trunk/trunk/lib -L/now/models/oa3mct/lib -L/lib -lnetcdff -lnetcdf -L/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5
|
|
bld::tool::ar ar
|
|
bld::tool::arflags rs
|
|
bld::tool::make gmake
|
|
|
|
# Pre-process code before analysing dependencies
|
|
bld::pp::nemo 1
|
|
bld::tool::fppflags::nemo -P -traditional
|
|
|
|
# Ignore the following dependencies
|
|
bld::excl_dep inc::netcdf.inc
|
|
bld::excl_dep use::netcdf
|
|
bld::excl_dep use::xios
|
|
bld::excl_dep h::netcdf.inc
|
|
bld::excl_dep h::mpif.h
|
|
bld::excl_dep inc::mpif.h
|
|
bld::excl_dep use::mpi
|
|
bld::excl_dep use::mod_oasis
|
|
|
|
# Don't generate interface files
|
|
bld::tool::geninterface none
|
|
|
|
# Allow ".h90" as an extension for CPP include files
|
|
bld::infile_ext::h90 CPP::INCLUDE
|
|
bld::infile_ext::f90 FPP::FPP9X::SOURCE
|
|
|
|
# extension for module output
|
|
bld::outfile_ext::mod .mod
|