source: BOL/script_install_amaury/arch_local/arch-local-gfortran-parallel.fcm @ 5059

Last change on this file since 5059 was 4900, checked in by abarral, 8 months ago

change bundled veget version
fix veget version update
unbundle XIOS
split init and install arch
fix ORCHIDEE XIOS library forwarding
fix local netcdf compil
fix Makefile linking

File size: 1.3 KB
RevLine 
[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
[4896]13# /!\ LD must be written in Makefile syntax
[4900]14%BASE_LD             -Wl,-rpath=$(shell dirname $(shell readlink -f "$(shell which mpif90)"))/../lib:$(shell nf-config --prefix)/lib -lstdc++
[4893]15%BASE_INC            -D__NONE__  # xios
16
[4892]17%PROD_FFLAGS         -O3 -fallow-argument-mismatch
[4893]18%PROD_CFLAGS         -O3 -DBOOST_DISABLE_ASSERTS  # xios
19
[4892]20%DEV_FFLAGS          -Wall -fbounds-check -fallow-argument-mismatch
[4893]21%DEV_CFLAGS          -g -O2  # xios
22
[4892]23%DEBUG_FFLAGS        -g3 -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow -O0 -fstack-protector-all -fbacktrace -finit-real=snan -fallow-argument-mismatch
[4893]24%DEBUG_CFLAGS        -g -DBZ_DEBUG # xios
25
[4892]26%MPI_FFLAGS          -fcray-pointer
[4900]27%MPI_LD              -L$(shell dirname $(shell readlink -f "$(shell which mpif90)"))/../lib -lmpi
[4892]28%OMP_LD              -fopenmp
[4893]29%OMP_FFLAGS          -fopenmp -fcray-pointer
[4892]30
[4893]31%CPP                 cpp  # xios
32%FPP                 cpp -P  # xios
33%MAKE                make  # xios
34
35
Note: See TracBrowser for help on using the repository browser.