source:
trunk/NEMOGCM/ARCH/arch-PW7_C2A_XIO.fcm
@
6125
Last change on this file since 6125 was 5656, checked in by timgraham, 9 years ago | |
---|---|
File size: 2.0 KB |
Line | |
---|---|
1 | # POWER 6 at ECMWF |
2 | # |
3 | # NCDF_INC netcdf4 include file |
4 | # NCDF_LIB netcdf4 library |
5 | # XIOS_INC xios include file (taken into accound only if key_iomput is activated) |
6 | # XIOS_LIB xios library (taken into accound only if key_iomput is activated) |
7 | # |
8 | # FC Fortran compiler command |
9 | # FCFLAGS Fortran compiler flags |
10 | # FFLAGS Fortran 77 compiler flags |
11 | # LD linker |
12 | # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
13 | # FPPFLAGS pre-processing flags |
14 | # AR assembler |
15 | # ARFLAGS assembler flags |
16 | # MK make |
17 | # USER_INC complete list of include files |
18 | # USER_LIB complete list of libraries to pass to the linker |
19 | # CC C compiler used to compile conv for AGRIF |
20 | # CFLAGS compiler flags used with CC |
21 | # |
22 | # Note that: |
23 | # - unix variables "$..." are accpeted and will be evaluated before calling fcm. |
24 | # - fcm variables are starting with a % (and not a $) |
25 | # |
26 | #options: |
27 | # |
28 | #debug : g -C -qinitauto=7FBFFFFF -qfloat=nans -qflttrap=overflow:underflow:zerodivide:invalid:enable |
29 | #portage : -qsource |
30 | #format : -qfree=f90 -qfixed -qsuffix=f=f90 -qsuffix=cpp=F90 |
31 | #others : -qmaxmem=-1 -qsave -qlargepage |
32 | # |
33 | %NCDF_INC -I${NETCDF_INC1} |
34 | %NCDF_LIB -L${NETCDF_LIB1} -lnetcdff -lnetcdf -L${HDF5_LIB} -lhdf5_hl -lhdf5 -lz |
35 | %XIOS_INC -I${XIOS_INC} |
36 | %XIOS_LIB -L${XIOS_LIB} -lxios |
37 | |
38 | %XLF90_LIB -lxlf90_r |
39 | |
40 | %CPP cpp |
41 | %FC mpxlf90_r |
42 | %FCFLAGS -qsuffix=f=f90 -qsuffix=cpp=F90 -qfree=f90 -O3 -qrealsize=8 -qarch=auto -qtune=auto -qinitauto |
43 | %FFLAGS -qsuffix=f=f90 -qsuffix=cpp=F90 -qfixed -O3 -qrealsize=8 -qarch=auto -qtune=auto -qinitauto |
44 | %LD mpCC_r |
45 | %FPPFLAGS |
46 | %LDFLAGS -O2 |
47 | %AR ar |
48 | %ARFLAGS -r |
49 | %MK gmake |
50 | %USER_INC %XIOS_INC %NCDF_INC |
51 | %USER_LIB %XIOS_LIB %NCDF_LIB %XLF90_LIB |
52 | |
53 | %CC xlc |
54 | %CFLAGS -O -qcpluscmt |
Note: See TracBrowser
for help on using the repository browser.