[Wien] Compiling error
Gavin Abo
gabo13279 at gmail.com
Thu May 15 17:26:15 CEST 2025
The syntax I've seen and used has a comma without a space as seen on
page 13 of the ELPA Manual Version 2025.01.001 [1]:
Example: LDFLAGS="-Wl,-rpath,/absolute_path_to_a_library
Page 261 of the WIEN2k 23.2 usersguide (which is also used for version
24.1) under section "11.1.1 Installation tips for fftw3, ELPA and LIBXC"
[2], you should see a comma without a space in the example there:
-Wl,-rpath,$MKLROOT/lib/intel
Also, I did not encounter the mentioned error when I had installed it
were I had a comma without a space as seen in step 3 of [3] with:
-Wl,-rpath,$MKLROOT/lib/intel64
[1] https://elpa.mpcdf.mpg.de/userguide/elpa_userguide.pdf
[2] http://www.wien2k.at/reg_user/textbooks/usersguide.pdf
[3]
https://github.com/gsabo/WIEN2k-Docs/blob/main/WIEN2k24.1_Ubuntu22.04_Install_with_OneAPI(ifx).pdf
Kind Regards,
Gavin
WIEN2k user
On 5/15/2025 2:32 AM, Luis Ogando wrote:
> Hi,
> I am not an expert, but is there a comma between -rpath and
> $MKLROOT/lib/intel64" ?
> All the best,
> Luis
>
> Em qua., 14 de mai. de 2025 às 19:47, delamora <delamora at unam.mx>
> escreveu:
>
> Dear WIEN2k community
> I am trying to compile the "elpa" but I get this message
>
> ./configure FC=mpiifx CC=mpiicx
> SCALAPACK_LDFLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64
> -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
> -lmkl_blacs_intelmpi_lp64 -lpthread -lm -ldl -liomp5 -lm -Wl,
> -rpath,$MKLROOT/lib/intel64"
> SCALAPACK_FC_FLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64
> -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
> -lmkl_blacs_intelmpi_lp64 -lpthread -lm
> -I$MKLROOT/include/intel64/lp64"
> --prefix=/home/pablo/Documentos/Soporte/Software/elpa FCFLAGS=-O3
> CFLAGS="-O3 -mfma -funsafe-math-optimizations -ftree-vectorize"
> LIBS=" -lmpi -lmpifort" --disable-avx512
>
> after configure I tried make command, and this is the outcome;
>
> icx: error: unknown argument:
> '-rpath,/opt/intel/oneapi/mkl/2025.1/lib/intel64'
>
> the linux is Ubuntu 25
>
> Pablo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20250515/9a5da382/attachment.htm>
More information about the Wien
mailing list