[CP2K-user] [CP2K:18213] PEXSI dependancy SuperLU make error

Trevor Voss tvoss15 at gmail.com
Thu Dec 15 18:03:56 UTC 2022

Hello everyone, 

First thing to note is that I am a total noob at all of this. This is my 
first time using Linux (luckily I have an expert to help me).

I am working to build CP2K on Ubuntu 22.04.1 LTS with an AMD Threadripper 
3970x and NVIDIA 3090Ti using MPI support with openmp. 

I am working to install PEXSI and am having issues with one of its 
dependencies, SuperLU. I got through the configure step without errors and 
then get an error on the make step. It reads as follows... 

[55%] Linking CXX executable pdtest
/usr/bin/ld: /usr/local/lib.libblas.a(xerbla.f.o): in function 'xerbla_':
xerbla.f:(.text+0x55): undefined regerence to '_gfortran_st_write'
/usr/bin/ld: xerbla.f:(.text+0x60): undefined reference to 
/usr/bin/ld: xerbla.f:(.text+0x77): undefined reference to 
/usr/bin/ld: xerbla.f:(.text+0x87): undefined reference to 
/usr/bin/ld: xerbla.f:(.text+0x8f): undefined reference to 'gfortran_ 
/usr/bin/ld: xerbla.f:(.text+0x9a): undefined reference to 
collect2: error: ld returned 1 exit status
make[2]: *** [TEST/CMakeFiles/pdtest.dir/build.make:137: TEST/pdtest] Error 
make[1]: *** [CMakeFiles/MakeFile2:995: TEST/CMakeFiles/pdtest.dir/all] 
Error 2
make: *** [MakeFile:146: all] Error 2

I have no idea what this means really. I tried finding where it links to my 
gfortran to no avail. Can't seem to find much Googling around either. Any 
help would be much appreciated! Thanks! 

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 on the web visit https://groups.google.com/d/msgid/cp2k/af6a5344-34fc-4cf9-9c9f-7b4a7e75a84an%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20221215/911bcdfb/attachment.htm>

More information about the CP2K-user mailing list