Skip to content

Add support for Intel compilers#1

Draft
mkappas wants to merge 12 commits into
intel-compiler-supportfrom
intel-compiler-dev
Draft

Add support for Intel compilers#1
mkappas wants to merge 12 commits into
intel-compiler-supportfrom
intel-compiler-dev

Conversation

@mkappas

@mkappas mkappas commented Feb 3, 2026

Copy link
Copy Markdown
Owner

Instructions:

  1. Create a python venv, activate it and pip install fypp.
  2. Create a pkgconfigs directory and add the following two files:

lapack.pc:

prefix=/rds/bear-apps/2024a/EL8-ice/software/imkl/2024.2.0/mkl/2024.2
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: LAPACK
Description: Intel(R) oneAPI Math Kernel Library acting as LAPACK
Version: 2024.2

Libs: -L${libdir} -lmkl_rt -lpthread -lm -ldl
Cflags: -I"${includedir}"

hdf5_fortran.pc:

Name: HDF5
Description: Hierarchical Data Format 5 (HDF5)
Version: 1.14.5
Requires:
Cflags: -I/rds/bear-apps/2024a/EL8-ice/software/HDF5/1.14.5-iimpi-2024a/include/
Libs: -L/rds/bear-apps/2024a/EL8-ice/software/HDF5/1.14.5-iimpi-2024a/lib -lhdf5_fortran
  1. Load the necessary module
module reset
module load bear-apps/2024a
module load intel/2024a
  1. Set the env variables
export WITH_ADIPLS=no
export WITH_CRLIBM=no
export WITH_GYRE=no
export WITH_PGSTAR=no
export COMPILER=ifx

export PKG_CONFIG_PATH=path_to_the_pkgconfigs_dir:$PKG_CONFIG_PATH
  1. Run make star. If the process fails due to permission issues with fypp_deps, execute chmod 750 build/forum/src/build/fypp_deps and restart make star. If it later fails because of missing module files, run cp build/forum/src/build/*.mod build/forum/include/ and run make star one final time.

@mkappas mkappas self-assigned this Feb 3, 2026
@mkappas mkappas force-pushed the intel-compiler-dev branch from 799b9cc to 4b31ea9 Compare February 3, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant