source: XIOS3/dev/XIOS_KOKKOS/arch/arch-X64_JEANZAY_KOKKOS.fcm @ 2654

Last change on this file since 2654 was 2654, checked in by jderouillat, 9 days ago

Implement Kokkos kernels compatible with GPU : removing all C++ object from kernels (access to class members).

The behavior of NumTraits?<double>::isNan is not correct on GPU, a solution must be found (temporary solution consists in checking that values are not too large).

Revert some CArray_WF introduction in the initialisation (mask management in CGrid).
For a given process, the CArray_WF class can't address host and device. Clients should be compile with a GPU backend, while servers with a CPU backend (serial, openMP).
Some transfer methods of connectors have been duplicated to manage CArray (initialisation) and CArray_WF (workflow).

A gpu_computing parameter (gpu_computing, 0 by default) has been introduced in the generic_testcase to upload field3D management on GPU.
Other xios_send_field have been temporarily disabled.

File size: 818 bytes
Line 
1################################################################################
2####################                Projet XIOS               ###################
3#################################################################################
4
5
6%CCOMPILER      mpic++
7%FCOMPILER      mpif90
8%LINKER         mpif90
9
10%BASE_CFLAGS    -I${KOKKOS_HOME}/include -std=c++17 -extended-lambda -fopenmp
11%PROD_CFLAGS    -O3 -w
12%DEV_CFLAGS     -g -traceback
13%DEBUG_CFLAGS   -DBZ_DEBUG -g -fno-inline -w
14
15%BASE_FFLAGS    -D__NONE__
16%PROD_FFLAGS    -O3
17%DEV_FFLAGS     -g -O2 -traceback
18%DEBUG_FFLAGS   -g -traceback
19
20%BASE_INC       -D__NONE__
21%BASE_LD        -lstdc++ -L${KOKKOS_HOME}/lib64 -lkokkoscore -ldl -L/gpfslocalsys/cuda/12.2.0/lib64 -lcudart -fopenmp
22
23%CPP            cpp
24%FPP            cpp -P
25%MAKE           gmake
Note: See TracBrowser for help on using the repository browser.