source:
branches/2012/dev_MERGE_2012/NEMOGCM/ARCH/arch-xlf_osx.fcm
@
3811
Last change on this file since 3811 was 2281, checked in by smasson, 14 years ago | |
---|---|
|
|
File size: 1017 bytes |
Line | |
---|---|
1 | # generic xlf compiler options for OSX (ppc) |
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/XLF/netcdf/include |
18 | %NCDF_LIB -L/usr/local/XLF/netcdf/lib -lnetcf |
19 | %FC xlf90 |
20 | %FCFLAGS -O3 -qrealsize=8 -qextname -qsuffix=f=f90 -qsuffix=cpp=F90 |
21 | %FFLAGS -O3 -qrealsize=8 -qextname -qsuffix=f=f -qsuffix=cpp=F |
22 | %FPPFLAGS -P -C -traditional |
23 | %LD xlf90 |
24 | %LDFLAGS |
25 | %AR ar |
26 | %ARFLAGS rs |
27 | %MK make |
28 | %USER_INC %NCDF_INC |
29 | %USER_LIB %NCDF_LIB |
Note: See TracBrowser
for help on using the repository browser.