[CP2K-user] [CP2K:21294] Scalapack error in compilation of cp2k

Siva Bharadwaj V sivanitw99 at gmail.com
Tue Mar 18 08:49:25 UTC 2025


Hi everyone, I am having an error while compiling the cp2k and the error 
shows this

usr/bin/ld: 
/home/batmen/cp2k/tools/toolchain/install/scalapack-2.2.1/lib/libscalapack.a(clarnv.f.o): 
relocation R_X86_64_32S against `.rodata' can not be used when making a PIE 
object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[3]: *** [/home/batmen/cp2k/obj/local/psmp/all.dep:166: 
/home/batmen/cp2k/exe/local/dbt_tas_unittest.psmp] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/batmen/cp2k/Makefile:146: all] Error 2
make[1]: *** [/home/batmen/cp2k/Makefile:135: popt] Error 2
make: *** [Makefile:123: all] Error 2

This is the last line please tell how to solve this
Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/38f8aa79-9210-42aa-b910-601d32f952b1n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250318/7d557f2e/attachment.htm>


More information about the CP2K-user mailing list