source: LMDZ6/trunk/arch/arch-IRENE_NVIDIA_ACC.fcm

Last change on this file was 5718, checked in by yann meurdesoif, 2 months ago

Manage isnan non standard fortran intrinsic function with wrapper that switch to ieee_is_nan when preprocessing key CPP_USE_IEEE_IS_NAN is set.

This is mandatory for nvdia compiler that is not accept the isnan function. Due to not well understood side effect with MPI initialization on irene, for now we offer the 2 possibility, and by default, CPP_USE_IEEE_IS_NAN is set only for nvidia compilers.
YM

  • Property svn:eol-style set to native
File size: 631 bytes
Line 
1# $Id: arch-X64_JEANZAY.fcm 4599 2023-06-30 16:27:01Z ymeurdesoif $
2%COMPILER            mpif90
3%LINK                mpif90
4%FPP                 cpp
5%AR                  ar
6%ARFLAGS             rs
7%MAKE                gmake
8%FPP_FLAGS           -P -traditional
9%FPP_DEF             NC_DOUBLE FFT_MKL CPP_USE_IEEE_IS_NAN
10%BASE_FFLAGS         -i4 -r8 -acc=gpu -gpu=cc70
11%PROD_FFLAGS         -gopt -traceback -fast -gpu=fastmath
12%DEV_FFLAGS          -g -O1 -traceback
13%DEBUG_FFLAGS        -g -Mbounds -Kieee -O0 -traceback -gpu=nofma
14%MPI_FFLAGS
15%OMP_FFLAGS          -mp
16%BASE_LD             -i4 -r8
17%MPI_LD
18%OMP_LD              -mp
Note: See TracBrowser for help on using the repository browser.