source:
branches/2011/dev_r2802_NOCL_prjhpg/NEMOGCM/ARCH/arch-gfortran_ubuntu.fcm
@
3068
Last change on this file since 3068 was 2873, checked in by hliu, 13 years ago | |
---|---|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[2873] | 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.