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 | # |
---|
20 | # Note that: |
---|
21 | # - unix variables "$..." are accpeted and will be evaluated before calling fcm. |
---|
22 | # - fcm variables are starting with a % (and not a $) |
---|
23 | # |
---|
24 | #options: |
---|
25 | # debug: -g -check bounds -check uninit -check pointers -traceback |
---|
26 | # |
---|
27 | |
---|
28 | |
---|
29 | #%FCFLAGS -O2 -i4 -r8 -fp-model precise -convert big_endian -assume byterecl -g -traceback -check bounds -check uninit -check pointers |
---|
30 | #%FCFLAGS -O2 -i4 -r8 -fp-model precise -convert big_endian -assume byterecl -g -traceback -ftrapuv -fpe0 -check bounds -check uninit -check pointers |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | %XIOS_LIB -L /perm/ms/fr/ar5/DEV/intel/xios_trunk_r930/lib -lxios |
---|
36 | %XIOS_INC -I /perm/ms/fr/ar5/DEV/intel/xios_trunk_r930/include |
---|
37 | %NCDF_INC -I$NETCDF_INC |
---|
38 | %NCDF_LIB -L$NETCDF_LIB -lnetcdff -lnetcdf -L$HDF5_LIB -lhdf5_hl -lhdf5 -lz |
---|
39 | %CPP cpp |
---|
40 | %FC ftn |
---|
41 | ##%FCFLAGS -align array64byte -fp-model source -ftz -O2 -xAVX -finline-functions -finline-limit=500 -r8 |
---|
42 | #%FCFLAGS -fp-model source -ftz -O2 -r8 -traceback |
---|
43 | #%FCFLAGS -fp-model source -O1 -r8 -check bounds -g -traceback -fpe-all=0 |
---|
44 | #%FCFLAGS -fp-model source -O1 -r8 -check bounds -g -traceback -fpe3 |
---|
45 | #%FCFLAGS -fp-model source -O1 -r8 -check bounds -g -traceback -ftrapuv |
---|
46 | %FCFLAGS -fp-model source -O0 -r8 -no-ftz -align array64byte -finline-functions -finline-limit=500 -check bounds -g -traceback |
---|
47 | #%FCFLAGS -fp-model source -O0 -r8 -no-ftz -align array64byte -xAVX -finline-functions -finline-limit=500 -check bounds -g -traceback |
---|
48 | %FFLAGS %FCFLAGS |
---|
49 | %LD ftn |
---|
50 | %FPPFLAGS -P -C -traditional |
---|
51 | %LDFLAGS -sox |
---|
52 | %AR ar |
---|
53 | %ARFLAGS -rs |
---|
54 | %MK gmake |
---|
55 | %USER_INC %XIOS_INC %NCDF_INC |
---|
56 | %USER_LIB %XIOS_LIB %NCDF_LIB -lstdc++ |
---|