Ticket #174: arch-GCC_MACOSX.fcm

File arch-GCC_MACOSX.fcm, 1.2 KB (added by omamce, 3 years ago)
Line 
1################################################################################
2###################                Projet XIOS               ###################
3################################################################################
4#
5# Tested on :
6#
7# Mac OSX 10.14.6 by olivier.marti@lsce.ipsl.fr
8#
9# Compiler and libraries installed whith MacPort :
10#
11#    gcc11 @11.1.0_2
12#    openmpi-gcc11 @4.1.1_0+fortran
13#    hdf5 @1.12.0_0+cxx+fortran+gcc11+hl+openmpi
14#    netcdf @4.8.0_0+cdf5+dap+gcc11+netcdf4+openmpi
15#    netcdf-cxx @4.2_16+gcc11+openmpi
16#    netcdf-fortran @4.5.3_0+gcc11+openmpi
17#
18# make_xios --arch GCC_MACOSX --job 4
19#
20# parallel-netcdf seems to be incompatible with openmpi
21#
22#################################################################################
23
24%CCOMPILER      mpicc
25%FCOMPILER      mpif90
26%LINKER         mpif90
27
28%BASE_CFLAGS    -w -D__XIOS_EXCEPTION -std=c++11
29%PROD_CFLAGS    -O3 -D BOOST_DISABLE_ASSERTS
30%DEV_CFLAGS     -g
31%DEBUG_CFLAGS   -g -O2
32
33%BASE_FFLAGS    -D__NONE__ -ffree-line-length-none
34%PROD_FFLAGS    -O3
35%DEV_FFLAGS     -g -O2
36%DEBUG_FFLAGS   -g -ggdb3 -O0
37
38%BASE_INC       -D__NONE__
39%BASE_LD        -lstdc++
40
41%CPP            cpp
42%FPP            cpp -P
43%MAKE           gmake
44