Last change
on this file since 4893 was
4893,
checked in by abarral, 8 weeks ago
|
fix XIOS compilation
add make_j arg
|
File size:
1.2 KB
|
Rev | Line | |
---|
[4892] | 1 | %COMPILER mpif90 |
---|
[4893] | 2 | %CCOMPILER mpicc # xios |
---|
[4892] | 3 | %LINK mpif90 |
---|
| 4 | %FPP cpp |
---|
| 5 | %AR ar |
---|
| 6 | %ARFLAGS rU |
---|
| 7 | %MAKE make |
---|
| 8 | %FPP_FLAGS -P -traditional |
---|
| 9 | %FPP_DEF NC_DOUBLE |
---|
[4893] | 10 | |
---|
[4892] | 11 | %BASE_FFLAGS -cpp -ffree-line-length-0 -fdefault-real-8 -DNC_DOUBLE |
---|
[4893] | 12 | %BASE_CFLAGS -w -std=c++11 -D__XIOS_EXCEPTION # xios |
---|
| 13 | %BASE_LD -Wl,-rpath=$(dirname $(readlink -f "$(which mpif90)"))/../lib:$(nf-config --prefix)/lib -lstdc++ |
---|
| 14 | %BASE_INC -D__NONE__ # xios |
---|
| 15 | |
---|
[4892] | 16 | %PROD_FFLAGS -O3 -fallow-argument-mismatch |
---|
[4893] | 17 | %PROD_CFLAGS -O3 -DBOOST_DISABLE_ASSERTS # xios |
---|
| 18 | |
---|
[4892] | 19 | %DEV_FFLAGS -Wall -fbounds-check -fallow-argument-mismatch |
---|
[4893] | 20 | %DEV_CFLAGS -g -O2 # xios |
---|
| 21 | |
---|
[4892] | 22 | %DEBUG_FFLAGS -g3 -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow -O0 -fstack-protector-all -fbacktrace -finit-real=snan -fallow-argument-mismatch |
---|
[4893] | 23 | %DEBUG_CFLAGS -g -DBZ_DEBUG # xios |
---|
| 24 | |
---|
[4892] | 25 | %MPI_FFLAGS -fcray-pointer |
---|
| 26 | %MPI_LD -L$(dirname $(readlink -f "$(which mpif90)"))/../lib -lmpi |
---|
| 27 | %OMP_LD -fopenmp |
---|
[4893] | 28 | %OMP_FFLAGS -fopenmp -fcray-pointer |
---|
[4892] | 29 | |
---|
[4893] | 30 | %CPP cpp # xios |
---|
| 31 | %FPP cpp -P # xios |
---|
| 32 | %MAKE make # xios |
---|
| 33 | |
---|
| 34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.