Skip to content

Commit

Permalink
Update dirac (CSD3) makefile (#199)
Browse files Browse the repository at this point in the history
* Update dirac (CSD3) makefile
* Add flag USE_LOCAL_SPFUNC
  • Loading branch information
bpatel2107 authored Feb 27, 2025
1 parent 1abe268 commit 37b01c6
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions COMPILATION/Makefiles/Makefile.dirac
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
# Host: Marconi

helplocal:
# GK_SYSTEM = marconi
# You are using Makefile.marconi to build gs2 executables on MARCONI.
# GK_SYSTEM = dirac
# You are using Makefile.dirac to build gs2 executables on CSD3 Icelake.

define STANDARD_SYSTEM_CONFIGURATION
module purge;\
module load intel/mkl/2020.2;\
module load intel/impi/2020.2/intel;\
module load rhel8/default-ccl;\
module load intel-oneapi-mkl-cluster/2024.1.0/intel/r55ddo3z;\
module load openblas/0.2.15;\
module load netlib-scalapack-2.0.2-intel-17.0.4-wwvkcj6;\
module load szip-2.1.1-gcc-5.4.0-6vkwvdj;\
module load zlib/1.2.11;\
module load hdf5-1.10.4-intel-17.0.4-swn7n43;\
module load netcdf-4.4.1.1-intel-17.0.4-zysrbqw;\
module load netcdf-fortran-4.4.4-intel-17.0.4-cesnirf;\
module load fftw-3.3.6-pl2-intel-17.0.4-qssvkuw;\
export MAKEFLAGS='-j -IMakefiles'
module load netcdf-fortran/4.6.1/intel/intel-oneapi-mpi/kqukipdf;\
module load fftw/3.3.10/intel/intel-oneapi-mpi/hwbiyhzw;\
module load python/3.11.0-icl;\
export MAKEFLAGS='-IMakefiles'
endef

COMPILER=intel
CHIP=skylake

USE_FFT = fftw3
USE_NETCDF = on
USE_LOCAL_SPFUNC=on

MODULE_FLAG = -module

# This line disables the automated checking
# of the intel version which is slow
Expand All @@ -49,10 +47,11 @@ USE_HDF5=
#unfortunately some clash with values we use
ifdef USE_NETCDF
NETCDF_LIB= -lnetcdff -lnetcdf
F90FLAGS = -DNETCDF
endif

ifdef USE_LAPACK
LAPACK_LIB = -mkl
LAPACK_LIB = -qmkl
endif

ifdef USE_SFINCS
Expand Down

0 comments on commit 37b01c6

Please sign in to comment.