[Wien] Compiling error

Gavin Abo gabo13279 at gmail.com
Wed May 14 21:18:08 CEST 2025


In your configure line, it looks like there is a (space) between -Wl, 
and -rpath:


-Wl,(space)-rpath,$MKLROOT/lib/intel64


Go back to the configure step again and trying it with no space:


-Wl,-rpath,$MKLROOT/lib/intel64


Kind Regards,

Gavin

WIEN2k user


On 5/14/2025 11:47 AM, delamora wrote:
> 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/20250514/199501f6/attachment.htm>


More information about the Wien mailing list