source: branches/2011/dev_r2802_NOCL_bfrimp/NEMOGCM/ARCH/arch-gfortran_ubuntu.fcm @ 2872

Last change on this file since 2872 was 2872, checked in by hliu, 9 years ago

1) added the semi-implicit bottom friction code (3 in DYN, 1 in ZDF), 2) added par_AMM7/12.h90, 3) added two arch files for NOCL mobius and ubuntu linux

File size: 1.0 KB
Line 
1# generic gfortran compiler options for Ubuntu
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/include
18%NCDF_LIB            -L/usr/lib -lnetcdff
19
20%FC                gfortran
21%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none
22%FFLAGS              %FCFLAGS
23%LD                  gfortran
24%LDFLAGS
25%FPPFLAGS            -P -C -traditional
26%AR                  ar
27%ARFLAGS             -rs
28#%MK                  gmake
29%MK                  make
30%USER_INC            %NCDF_INC
31%USER_LIB            %NCDF_LIB
32
Note: See TracBrowser for help on using the repository browser.