source: branches/nemo_v3_3_beta/NEMOGCM/ARCH/arch-XT6_HECTOR.fcm @ 2418

Last change on this file since 2418 was 2418, checked in by sga, 10 years ago

NEMO branch nemo_v3_3_beta
Add a configuration file to the ARCH directory for compilation on hector (UK's national HPC facility)

File size: 1.6 KB
1# compiler options for hector CRAY XT6
3# NCDF_HOME   root directory containing lib and include subdirectories for netcdf4
4# HDF5_HOME   root directory containing lib and include subdirectories for HDF5
5# NCDF_INC    netcdf include file
6# NCDF_LIB    netcdf library
7# FC          Fortran compiler command
8# FCFLAGS     Fortran compiler flags
9# FFLAGS      Fortran 77 compiler flags
10# LD          linker
11# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
12# FPPFLAGS    pre-processing flags
13# AR          assembler
14# ARFLAGS     assembler flags
15# MK          make
16# USER_INC    additional include files for the compiler,  e.g. -I<include dir>
17# USER_LIB    additional libraries to pass to the linker, e.g. -l<library>
20# PGI prgenv (default for hector)
21# use "module load netcdf" to setup system netcdf
23%NCDF_HOME           $CRAY_NETCDF_DIR/netcdf-pgi
24%HDF5_HOME           $CRAY_HDF5_DIR/hdf5-pgi
25%NCDF_INC            -I%NCDF_HOME/include -I%HDF5_HOME/include
26%NCDF_LIB            -L%HDF5_HOME/lib -L%NCDF_HOME/lib -lnetcdf -lhdf5_fortran -lhdf5_hl -lhdf5 -lz
27%FC                  ftn
28%FCFLAGS             -i4 -r8 -O3
29%FFLAGS              -i4 -r8 -O3
30%LD                  ftn
31%FPPFLAGS            -P -C -traditional
33%AR                  ar
34%ARFLAGS             -r
35%MK                  gmake
36%USER_INC            %NCDF_INC
37%USER_LIB            %NCDF_LIB
39# replacement options for GNU prgenv
41# %NCDF_HOME           $CRAY_NETCDF_DIR/netcdf-gnu
42# %HDF5_HOME           $CRAY_HDF5_DIR/hdf5-gnu
43# %FCFLAGS             -fdefault-real-8 -O3
44# %FFLAGS              -fdefault-real-8 -O3
Note: See TracBrowser for help on using the repository browser.