Makefile 486 B

123456789101112131415
  1. # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
  2. FC := nvfortran
  3. FCC := nvfortran
  4. FFLAGS := -fast
  5. LDFLAGS := -lnvToolsExt
  6. ACCFLAGS := -Minfo=accel
  7. NVTXINC := -I/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/cuda/11.0/include
  8. NVTXLIB := -L/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/cuda/11.0/lib64/
  9. miniWeather: nvtx.f90 miniWeather_serial.f90
  10. $(FC) $(FFLAGS) $(ACCFLAGS) $(NVTXINC) nvtx.f90 miniWeather_serial.f90 -o miniWeather $(NVTXLIB) $(LDFLAGS)
  11. clean:
  12. rm -f *.o miniWeather