Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95194495
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Dec 13, 15:21
Size
744 B
Mime Type
text/x-makefile
Expires
Sun, Dec 15, 15:21 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22927904
Attached To
R11945 test_gysela_gpu
Makefile
View Options
EXEC=Jacobi_CCEoffload # Excutable name
# on cray
NVFC=ftn # NVHPC compiler on cray
CCE=ftn # CCE compiler on cray
NVOMPFLAGS= -O3 -static-nvidia -mp=gpu -gpu=cc60 # options for openMP with NVHPC on cray
CCEOMPFLAGS= -O3 -h omp -e Z -hmsgs -hlist=m -eo # options for openmp with CCE on cray
CUDA_HOME=$CUDATOOLKIT_HOME
CUDAFORFLAGS= -LCUDA_HOME -Mcuda=cc60,cuda11.0 -lcublas -lblas -v -Wl,-t # options for cuda fortran on cray
#
all: $(EXEC)
Jacobi_offload: Jacobi_simple.F90 jacobi_kernel.F90
$(GNUFC) $(GNUOMPFLAGS) Jacobi_simple.F90 -o Jacobi_offload
Jacobi_CCEoffload: Jacobi_simple.F90
$(CCE) $(CCEOMPFLAGS) jacobi_kernel.F90 Jacobi_simple.F90 -o Jacobi_CCEoffload
clean:
rm -f $(EXEC) Jacobi_offload Jacobi_CCEoffload *.mod *.o *~
Event Timeline
Log In to Comment