source: trunk/NEMOGCM/ARCH/arch-gfortran_linux.fcm @ 3319

Last change on this file since 3319 was 2315, checked in by rblod, 10 years ago

update configuration files for gfortran because of stupid cray pointers used for stupid nec computers

  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# generic gfortran compiler options for linux
2# NCDF_INC    netcdf include file
3# NCDF_LIB    netcdf library
4# FC          Fortran compiler command
5# FCFLAGS     Fortran compiler flags
6# FFLAGS      Fortran 77 compiler flags
7# LD          linker
8# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
9# FPPFLAGS    pre-processing flags
10# AR          assembler
11# ARFLAGS     assembler flags
12# MK          make
13# USER_INC    additional include files for the compiler,  e.g. -I<include dir>
14# USER_LIB    additional libraries to pass to the linker, e.g. -l<library>
15
16
17%NCDF_INC            -I/usr/local/netcdf/include
18%NCDF_LIB            -L/usr/local/netcdf/lib -lnetcdf
19%FC                gfortran
20%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer
21%FFLAGS              %FCFLAGS
22%LD                  gfortran
23%LDFLAGS
24%FPPFLAGS            -P -C -traditional
25%AR                  ar
26%ARFLAGS             -rs
27%MK                  gmake
28%USER_INC            %NCDF_INC
29%USER_LIB            %NCDF_LIB
30
Note: See TracBrowser for help on using the repository browser.