Last change
on this file since 5456 was
5235,
checked in by abarral, 3 months ago
|
Remove -fimplicit-none from arch (temp)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[4923] | 1 | %COMPILER mpif90 |
---|
[5035] | 2 | %CCOMPILER mpicc # xios |
---|
[4923] | 3 | %LINK mpif90 |
---|
[5035] | 4 | %FPP cpp |
---|
[4923] | 5 | %AR ar |
---|
[5035] | 6 | %ARFLAGS rU |
---|
| 7 | %MAKE make |
---|
| 8 | %FPP_FLAGS -P -traditional |
---|
| 9 | %FPP_DEF NC_DOUBLE |
---|
| 10 | |
---|
[5235] | 11 | %BASE_FFLAGS -cpp -ffree-line-length-0 -fdefault-real-8 -DNC_DOUBLE -fallow-argument-mismatch # -fimplicit-none # re-add fimplicit-none after merge of Amaury commits |
---|
[5035] | 12 | %BASE_CFLAGS -w -std=c++11 -D__XIOS_EXCEPTION # xios |
---|
| 13 | # /!\ LD must be written in Makefile syntax |
---|
[5049] | 14 | %BASE_LD -Wl,-rpath=$(shell nf-config --prefix)/lib -lstdc++ |
---|
[5035] | 15 | %BASE_INC -D__NONE__ # xios |
---|
| 16 | |
---|
[5235] | 17 | %PROD_FFLAGS -O3 -march=native -fPIC |
---|
[5035] | 18 | %PROD_CFLAGS -O3 -DBOOST_DISABLE_ASSERTS # xios |
---|
| 19 | |
---|
[5235] | 20 | %DEV_FFLAGS -Wall -fbounds-check |
---|
[5035] | 21 | %DEV_CFLAGS -g -O2 # xios |
---|
| 22 | |
---|
[5235] | 23 | %DEBUG_FFLAGS -g3 -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow -O0 -fstack-protector-all -fbacktrace -finit-real=snan |
---|
[5035] | 24 | %DEBUG_CFLAGS -g -DBZ_DEBUG # xios |
---|
| 25 | |
---|
| 26 | %MPI_FFLAGS -fcray-pointer |
---|
| 27 | %MPI_LD -L$(shell dirname $(shell readlink -f "$(shell which mpif90)"))/../lib -lmpi |
---|
[4923] | 28 | %OMP_LD -fopenmp |
---|
[5035] | 29 | %OMP_FFLAGS -fopenmp -fcray-pointer |
---|
| 30 | |
---|
| 31 | %CPP cpp # xios |
---|
Note: See
TracBrowser
for help on using the repository browser.