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-XT6_HECTORcrayftn.fcm in branches/UKMO/icebergs_restart_single_file/NEMOGCM/ARCH/OLD/NOC – NEMO

source: branches/UKMO/icebergs_restart_single_file/NEMOGCM/ARCH/OLD/NOC/arch-XT6_HECTORcrayftn.fcm @ 6019

Last change on this file since 6019 was 6019, checked in by timgraham, 8 years ago

Reinstated svn keywords before upgrading to head of trunk

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# compiler options for hector CRAY XT6 (using crayftn compiler)
2
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>
18
19
20# PrgEnv-cray (default for hector phase 3)
21# use "module load netcdf/4.1.2" to setup netcdf (defines NETCDF_DIR and HDF5_DIR)
22
23%NCDF_HOME           $NETCDF_DIR
24%HDF5_HOME           $HDF5_DIR
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             -em -s integer32 -s real64 -O3
29%FFLAGS              -em -s integer32 -s real64 -O3
30%LD                  ftn
31%FPPFLAGS            -P -C -traditional
32%LDFLAGS
33%AR                  ar
34%ARFLAGS             -r
35%MK                  gmake
36%USER_INC            %NCDF_INC
37%USER_LIB            %NCDF_LIB
38
39# replacement options for GNU prgenv
40
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.