source: XIOS/branchs/xios-1.0/arch/arch-XC30_Cray.fcm @ 582

Last change on this file since 582 was 582, checked in by rlacroix, 10 years ago

Add arch files for building on the Cray XCs using the Cray compiler.

Files contributed by Mike Rezny (Met Office).

File size: 1.3 KB
Line 
1################################################################################
2###################        Projet xios - xmlioserver       #####################
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    -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.