source:
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/ARCH/NOC/arch-XT6_HECTORcrayftn.fcm
@
3857
Last change on this file since 3857 was 3256, checked in by acc, 13 years ago | |
---|---|
File size: 1.6 KB |
Rev | Line | |
---|---|---|
[3256] | 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.