Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112672462
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
Mon, May 12, 04:37
Size
671 B
Mime Type
text/x-makefile
Expires
Wed, May 14, 04:37 (2 d)
Engine
blob
Format
Raw Data
Handle
26125341
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 # 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
$(GNUFC) $(GNUOMPFLAGS) Jacobi_simple.F90 -o Jacobi_offload
Jacobi_CCEoffload: Jacobi_simple.F90
$(CCE) $(CCEOMPFLAGS) Jacobi_simple.F90 -o Jacobi_CCEoffload
clean:
rm -f $(EXEC) Jacobi_offload *.mod *.o *~
Event Timeline
Log In to Comment