source: trunk/LMDZ.COMMON/arch/arch-ADASTRA-gnu.fcm @ 3046

Last change on this file since 3046 was 3034, checked in by emillour, 18 months ago

Adastra fix:
When running with OpenMP and using "libsci" (i.e. LAPACK library) then one must link with "-lsci_gnu_mp", the threadsafe version of the library.
EM

File size: 884 bytes
Line 
1%COMPILER            mpif90
2%LINK                mpif90
3%AR                  ar
4%MAKE                gmake
5%FPP_FLAGS           -P -traditional -I${FFTW_INC}
6%CPP_FLAGS           -P
7%FPP_DEF             NC_DOUBLE LAPACK BLAS SGEMV=DGEMV SGEMM=DGEMM FFT_FFTW
8%CPP_DEF             LAPACK
9%BASE_FFLAGS         -fcray-pointer -c -fdefault-real-8 -fdefault-double-8 -ffree-line-length-none -fno-align-commons -fallow-argument-mismatch  -I${FFTW_INC}
10%PROD_FFLAGS         -O2
11%DEV_FFLAGS          -O -Wall -fbounds-check
12%DEBUG_FFLAGS        -ffpe-trap=invalid,zero,overflow -fbounds-check -g3 -O0 -fstack-protector-all -finit-real=nan -fbacktrace
13%C_COMPILER          mpicc
14%C_OPTIM             -O2
15%MPI_FFLAGS         
16%OMP_FFLAGS          -fopenmp
17%BASE_LD             -L$FFTW_DIR -lfftw3 -L$CRAY_LIBSCI_PREFIX_DIR/lib -lsci_gnu_mp
18%MPI_LD             
19%OMP_LD              -fopenmp
Note: See TracBrowser for help on using the repository browser.