I have made some progress on compiling Vasp 6.5.0 using the Intel oneapi 2025.0.4 20241205 compiler. There are now no errors until the final linking step (HDF5 include, but no other options), but a cascade of errors occurs due to undefined references to scalapack.
I have attached the output from "make" (nohup.out) as well as the "makefile.include" file I used (from the arch directory with only a few changes to update the new compiler names in the latest oneapi.
The instructions in makefile.include states to comment out the separate scaLAPACK statements so that the intel MKL version is used. This is what I have done. This leads to hundreds of undefined references (see the file nohup.out for the complete list) such as the following. Any advice as to what to change to avoid this problem? Thanks!
Code: Select all
ld: scala.o: in function `scala_mp_init_scala_desc_':
scala.f90:(.text+0x1799): undefined reference to `blacs_gridexit_'
ld: scala.f90:(.text+0x1826): undefined reference to `blacs_gridinfo_'
ld: scala.f90:(.text+0x184a): undefined reference to `numroc_'
ld: scala.f90:(.text+0x187c): undefined reference to `numroc_'
ld: scala.f90:(.text+0x18c0): undefined reference to `descinit_'
ld: scala.f90:(.text+0x1b54): undefined reference to `numroc_'
ld: scala.f90:(.text+0x1b73): undefined reference to `numroc_'
ld: scala.f90:(.text+0x1bb4): undefined reference to `iceil_'
ld: scala.o: in function `scala_mp_procmap_':
scala.f90:(.text+0x1e68): undefined reference to `blacs_gridinit_'
ld: scala.f90:(.text+0x1ea2): undefined reference to `blacs_gridinfo_'
ld: scala.f90:(.text+0x1eb3): undefined reference to `blacs_pnum_'
ld: scala.f90:(.text+0x25ca): undefined reference to `blacs_gridexit_'
ld: scala.f90:(.text+0x25ee): undefined reference to `blacs_gridmap_'
ld: scala.o: in function `scala_mp_ppotrf_trtri_':
Code: Select all
# Intel MKL for FFTW, BLAS, LAPACK, and scaLAPACK
# (Note: for Intel Parallel Studio's MKL use -mkl instead of -qmkl)
FCL += -qmkl
MKLROOT ?= /path/to/your/mkl/installation
INCS =-I$(MKLROOT)/include/fftw
# Use a separate scaLAPACK installation (optional but recommended in combination with OpenMPI)
# Comment out the two lines below if you want to use scaLAPACK from MKL instead
#SCALAPACK_ROOT ?= /path/to/your/scalapack/installation
#LLIBS += -L${SCALAPACK_ROOT}/lib -lscalapack