source:
trunk/NEMOGCM/ARCH/arch-ALTIX_NAUTILUS4.fcm
@
2569
Last change on this file since 2569 was 2364, checked in by acc, 14 years ago | |
---|---|
File size: 1.7 KB |
Line | |
---|---|
1 | # ifort compiler options for NOCS ALTIX cluster nautilus using NetCDF4 libraries |
2 | # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 |
3 | # HDF5_HOME root directory containing lib and include subdirectories for HDF5 |
4 | # NCDF_INC netcdf include file |
5 | # NCDF_LIB netcdf library |
6 | # FC Fortran compiler command |
7 | # FCFLAGS Fortran compiler flags |
8 | # FFLAGS Fortran 77 compiler flags |
9 | # LD linker |
10 | # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
11 | # FPPFLAGS pre-processing flags |
12 | # AR assembler |
13 | # ARFLAGS assembler flags |
14 | # MK make |
15 | # USER_INC additional include files for the compiler, e.g. -I<include dir> |
16 | # USER_LIB additional libraries to pass to the linker, e.g. -l<library> |
17 | |
18 | |
19 | %NCDF_HOME /noc/users/jeff/packages/netcdf4/netcdf-4.1.1/x86_64/intel10.1 |
20 | %HDF5_HOME /noc/users/jeff/packages/hdf5/hdf5-1.8.4-patch1/x86_64/intel10.1 |
21 | %NCDF_INC -I%NCDF_HOME/include -I%HDF5_HOME/include |
22 | # Note use of -Bstatic because the library root directories are not accessible to the back-end compute nodes |
23 | %NCDF_LIB -L%HDF5_HOME/lib -L%NCDF_HOME/lib -Bstatic -lnetcdf -lhdf5_fortran -lhdf5_hl -lhdf5 -Bdynamic -lz |
24 | %FC mpif90 |
25 | %FCFLAGS -r8 -O3 -xT -ip -vec-report0 |
26 | %FFLAGS -r8 -O3 -xT -ip -vec-report0 |
27 | %LD mpif90 |
28 | %FPPFLAGS -P -C -traditional |
29 | %LDFLAGS |
30 | %AR ar |
31 | %ARFLAGS -r |
32 | %MK gmake |
33 | %USER_INC %NCDF_INC |
34 | %USER_LIB %NCDF_LIB |
35 | |
36 | # - if debugging use these flags |
37 | #FCFLAGS -g -traceback -r8 -O0 -xT -ip -vec-report0 |
38 | #FFLAGS -g -traceback -r8 -O0 -xT -ip -vec-report0 |
Note: See TracBrowser
for help on using the repository browser.