[CP2K-user] [CP2K:20711] Re: complication issue with cp2kv2024.3

Johann Pototschnig pototschnig.johann at gmail.com
Sat Sep 14 16:52:32 UTC 2024


As far as I know, is this happening because binutils(ld) and the 
compiler(gcc) are too different. 
You can try changing the version of one of them. 

On Friday, September 13, 2024 at 10:35:38 PM UTC+2 Colin Hylton-Farrington 
wrote:

> 1.git clone -b support/v2024.3 https://github.com/cp2k/cp2k.git cp2k
>
> 2. module load intel_mkl/18.0.5
>
> 3. ./install_cp2k_toolchain.sh --with-openmpi=system --with-mkl=system 
> --with-elpa=no --with-sirius=no
>
> 4. cp /cp2k/tools/toolchain/install/arch/* cp2k/arch
>
> 5. source 
> /projects/f_rcr78_1/PACKAGES/CP2Kv9/cp2k/tools/toolchain/install/setup
>
> 6. make -j 8 ARCH=local VERSION=psmp
>
>
> It complies for a while and then this error gets thrown up:
>
> /usr/bin/ld: Dwarf Error: found dwarf version '5', this reader only 
> handles version 2, 3 and 4 information.
>
> /cp2k/tools/toolchain/install/libvori-220621/lib/libvori.a(v_unitcell.cpp.o): 
> In function `std::deque<int, std::allocator<int> 
> >::_M_reallocate_map(unsigned long, bool)':
>
> v_unitcell.cpp:(.text._ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb[_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb]+0x177): 
> undefined reference to `std::__throw_bad_array_new_length()'
>
> /usr/bin/ld: Dwarf Error: found dwarf version '5', this reader only 
> handles version 2, 3 and 4 information.
>
> /cp2k/tools/toolchain/install/libvori-220621/lib/libvori.a(v_unitcell.cpp.o): 
> In function `std::deque<int, std::allocator<int> 
> >::_M_reallocate_map(unsigned long, bool)':
>
> v_unitcell.cpp:(.text._ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb[_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb]+0x177): 
> undefined reference to `std::__throw_bad_array_new_length()'
>
> /usr/bin/ld: Dwarf Error: found dwarf version '5', this reader only 
> handles version 2, 3 and 4 information.
>
> /cp2k/tools/toolchain/install/libvori-220621/lib/libvori.a(bqb_format.cpp.o): 
> In function `CBQBFile::OpenListFile(_IO_FILE*)':
>
> bqb_format.cpp:(.text+0x4137): undefined reference to 
> `std::__throw_bad_array_new_length()'
>
> bqb_format.cpp:(.text+0x4159): undefined reference to 
> `std::__throw_bad_array_new_length()'
>
> /usr/bin/ld: Dwarf Error: found dwarf version '5', this reader only 
> handles version 2, 3 and 4 information.
>
> cp2k/tools/toolchain/install/libvori-220621/lib/libvori.a(bqb_format.cpp.o): 
> In function `CBQBFile::OpenListFile(_IO_FILE*)':
>
> bqb_format.cpp:(.text+0x4137): undefined reference to 
> `std::__throw_bad_array_new_length()'
>
> bqb_format.cpp:(.text+0x4159): undefined reference to 
> `std::__throw_bad_array_new_length()'
>
> collect2: error: ld returned 1 exit status
>
> make[3]: *** [/cp2k/exe/local/cp2k.ssmp] Error 1
>
> make[3]: *** Waiting for unfinished jobs....
>
> collect2: error: ld returned 1 exit status
>
> make[3]: *** [/cp2k/exe/local/libcp2k_unittest.ssmp] Error 1
>
> make[2]: *** [all] Error 2
>
> make[1]: *** [ssmp] Error 2
>
> make: *** [all] Error 2
>
>  
>
>
> This is being compiled on a local cluster x86_64 GNU/Linux
>

-- 
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/c141c6cb-6fc6-4e19-8e4e-e999468b2276n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240914/c3a258e6/attachment.htm>


More information about the CP2K-user mailing list