1 | # Mobilis - ClusterVision X86_64 cluster at NOCS |
---|
2 | #--------------------------------------------------------------------- |
---|
3 | # REMEMBER TO LOAD THE CORRECT ENVIRONMENT BEFORE INVOKING makenemo # |
---|
4 | #--------------------------------------------------------------------- |
---|
5 | # |
---|
6 | # Works with nemo-PrgEnv modules on Mobilis |
---|
7 | # module use /home/acc/MyMods |
---|
8 | # and either: |
---|
9 | # |
---|
10 | # module load nemo-PrgEnv/4.0 |
---|
11 | # or |
---|
12 | # module load nemo-PrgEnv/3.6 |
---|
13 | # |
---|
14 | #--------------------------------------------------------------------- |
---|
15 | # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 |
---|
16 | # HDF5_HOME root directory containing lib and include subdirectories for HDF5 |
---|
17 | # XIOS_HOME root directory containing lib for XIOS |
---|
18 | # OASIS_HOME root directory containing lib for OASIS |
---|
19 | # |
---|
20 | # NCDF_INC netcdf4 include file |
---|
21 | # NCDF_LIB netcdf4 library |
---|
22 | # XIOS_INC xios include file (taken into accound only if key_xios is activated) |
---|
23 | # XIOS_LIB xios library (taken into accound only if key_xios is activated) |
---|
24 | # OASIS_INC oasis include file (taken into accound only if key_oasis3 is activated) |
---|
25 | # OASIS_LIB oasis library (taken into accound only if key_oasis3 is activated) |
---|
26 | # |
---|
27 | # FC Fortran compiler command |
---|
28 | # FCFLAGS Fortran compiler flags |
---|
29 | # FFLAGS Fortran 77 compiler flags |
---|
30 | # LD linker |
---|
31 | # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries |
---|
32 | # FPPFLAGS pre-processing flags |
---|
33 | # AR assembler |
---|
34 | # ARFLAGS assembler flags |
---|
35 | # MK make |
---|
36 | # USER_INC complete list of include files |
---|
37 | # USER_LIB complete list of libraries to pass to the linker |
---|
38 | # CC C compiler used to compile conv for AGRIF |
---|
39 | # CFLAGS compiler flags used with CC |
---|
40 | # |
---|
41 | # Note that: |
---|
42 | # - fcm variables are starting with a % (and not a $) |
---|
43 | # - unix variables "$..." are accepted and will be evaluated before calling fcm. |
---|
44 | # - The $ variables in this arch file are set by the nemo-PrgEnv module (see top) |
---|
45 | # |
---|
46 | %NCDF_HOME $NETCDF_DIR |
---|
47 | %HDF5_HOME $HDF5_DIR |
---|
48 | %XIOS_HOME $XIO_HOME |
---|
49 | %OASIS_HOME |
---|
50 | |
---|
51 | %NCDF_INC -I%NCDF_HOME/include |
---|
52 | %NCDF_LIB -L%NCDF_HOME/lib -lnetcdf -lnetcdff -lnetcdf -L%HDF5_HOME/lib -lhdf5_hl -lhdf5 -lhdf5 -lcurl |
---|
53 | %XIOS_INC -I%XIOS_HOME/inc |
---|
54 | %XIOS_LIB -L%XIOS_HOME/lib -lxios |
---|
55 | %OASIS_INC |
---|
56 | %OASIS_LIB |
---|
57 | |
---|
58 | #%CPP /cm/local/apps/gcc/6.1.0/bin/cpp |
---|
59 | %CPP cpp |
---|
60 | %FC mpif90 -c -cpp |
---|
61 | %FCFLAGS -i4 -r8 -O3 -fp-model source -xAVX |
---|
62 | %FFLAGS %FCFLAGS |
---|
63 | %LD mpif90 |
---|
64 | %LDFLAGS -lstdc++ |
---|
65 | %FPPFLAGS -P -traditional |
---|
66 | %AR ar |
---|
67 | %ARFLAGS rs |
---|
68 | %MK gmake |
---|
69 | %USER_INC %XIOS_INC %OASIS_INC %NCDF_INC |
---|
70 | %USER_LIB %XIOS_LIB %OASIS_LIB %NCDF_LIB |
---|
71 | |
---|
72 | %CC icc |
---|
73 | %CFLAGS -O0 |
---|