Last change
on this file since 1691 was
1543,
checked in by oabramkina, 6 years ago
|
Correcting a typo in Cray config file.
|
File size:
1.4 KB
|
Line | |
---|
1 | ################################################################################ |
---|
2 | ################### Projet XIOS ################### |
---|
3 | ################################################################################ |
---|
4 | |
---|
5 | # Cray XC build instructions for XIOS/xios-1.0 |
---|
6 | # These files have been tested on |
---|
7 | # Archer (XC30), ECMWF (XC30), and the Met Office (XC40) using the Cray PrgEnv. |
---|
8 | # One must also: |
---|
9 | # module load cray-netcdf-hdf5parallel/4.3.2 |
---|
10 | # There is a bug in the CC compiler prior to cce/8.3.7 using -O3 or -O2 |
---|
11 | # The workarounds are not ideal: |
---|
12 | # Use -Gfast and put up with VERY large executables |
---|
13 | # Use -O1 and possibly suffer a significant performance loss. |
---|
14 | # |
---|
15 | # Mike Rezny Met Office 23/03/2015 |
---|
16 | |
---|
17 | %CCOMPILER CC |
---|
18 | %FCOMPILER ftn |
---|
19 | %LINKER CC |
---|
20 | |
---|
21 | %BASE_CFLAGS -hstd=c++11 -DMPICH_SKIP_MPICXX -h msglevel_4 -h zero -h gnu |
---|
22 | |
---|
23 | ## Only use -O3 if you can load module cce/8.3.7 or later |
---|
24 | #%PROD_CFLAGS -O3 -DBOOST_DISABLE_ASSERTS |
---|
25 | |
---|
26 | ## Otherwise take your pick of these, refer to information above. |
---|
27 | %PROD_CFLAGS -O1 -DBOOST_DISABLE_ASSERTS |
---|
28 | ## %PROD_CFLAGS -Gfast -DBOOST_DISABLE_ASSERTS |
---|
29 | %DEV_CFLAGS -O2 |
---|
30 | %DEBUG_CFLAGS -g |
---|
31 | |
---|
32 | %BASE_FFLAGS -em -m 4 -e0 -eZ |
---|
33 | %PROD_FFLAGS -O3 |
---|
34 | %DEV_FFLAGS -G2 |
---|
35 | %DEBUG_FFLAGS -g |
---|
36 | |
---|
37 | %BASE_INC -D__NONE__ |
---|
38 | %BASE_LD -D__NONE__ |
---|
39 | |
---|
40 | %CPP cpp |
---|
41 | %FPP cpp -P -CC |
---|
42 | %MAKE gmake |
---|
Note: See
TracBrowser
for help on using the repository browser.