Cuda compiling

From NWChem

You are viewing a single post from the thread title above
Jump to: navigation, search

Click here for full thread
Clicked A Few Times
Threads 6
Posts 29
My installation nwchem on cuda is fail. I have standart problems with SLP the basic block and this
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZNSt8_Rb_treeIiSt4pairIKiSt3setIPvSt4lessIS3_ESaIS3_EEESt10_Select1stIS8_ES4_IiESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E[_ZNSt8_Rb_treeIiSt4pairIKiSt3setIPvSt4lessIS3_ESaIS3_EEESt10_Select1stIS8_ES4_IiESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E]+0x23): undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(memory.o): In function `std::_Rb_tree<void*, std::pair<void* const, int>, std::_Select1st<std::pair<void* const, int> >, std::less<void*>, std::allocator<std::pair<void* const, int> > >::_M_erase_aux(std::_Rb_tree_const_iterator<std::pair<void* const, int> >)':
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZNSt8_Rb_treeIPvSt4pairIKS0_iESt10_Select1stIS3_ESt4lessIS0_ESaIS3_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS3_E[_ZNSt8_Rb_treeIPvSt4pairIKS0_iESt10_Select1stIS3_ESt4lessIS0_ESaIS3_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS3_E]+0x23): undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(memory.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<void*> >::deallocate(std::_Rb_tree_node<void*>*, unsigned long)':
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPvEE10deallocateEPS3_m[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPvEE10deallocateEPS3_m]+0x1c): undefined reference to `operator delete(void*)'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(memory.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<void*> >::allocate(unsigned long, void const*)':
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPvEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPvEE8allocateEmPKv]+0x2c): undefined reference to `std::__throw_bad_alloc()'
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPvEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPvEE8allocateEmPKv]+0x46): undefined reference to `operator new(unsigned long)'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(memory.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<void* const, int> > >::allocate(unsigned long, void const*)':
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPviEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPviEEE8allocateEmPKv]+0x2c): undefined reference to `std::__throw_bad_alloc()'
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPviEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPviEEE8allocateEmPKv]+0x45): undefined reference to `operator new(unsigned long)'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(memory.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, std::set<void*, std::less<void*>, std::allocator<void*> > > > >::allocate(unsigned long, void const*)':
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiSt3setIPvSt4lessIS5_ESaIS5_EEEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiSt3setIPvSt4lessIS5_ESaIS5_EEEEE8allocateEmPKv]+0x2c): undefined reference to `std::__throw_bad_alloc()'
tmpxft_00007d5b_00000000-3_memory.cudafe1.cpp.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiSt3setIPvSt4lessIS5_ESaIS5_EEEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiSt3setIPvSt4lessIS5_ESaIS5_EEEEE8allocateEmPKv]+0x4c): undefined reference to `operator new(unsigned long)'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(memory.o).eh_frame+0xcb): undefined reference to `__gxx_personality_v0'
/MD/azat/nwchem-6.6/lib/LINUX64/libtce.a(sd_t_total.o).eh_frame+0xeb): undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make: *** [all] Error 1

without cuda Nwchem worked.
My steps:

export ARMCI_NETWORK="MPI-PR"
export BLASOPT="-L/MD/azat/Openblas/lib -lopenblas -lpthread -lrt"
export BLAS_SIZE="4"
export CUDA="nvcc"
export CUDA_FLAGS="-arch sm_20 "
export CUDA_INCLUDE="-I. -I/usr/local/cuda-6.5/include"
export CUDA_LIBS="-L/usr/local/cuda-6.5/lib64 -L/usr/local/cuda-6.5/lib -lcudart"
export FC="gfortran"
LD_LIBRARY_PATH="/usr/local/cuda-6.5/lib64:/root/.local/Tcl/lib:/home/azat/Downloads/amber14/lib:/usr/lib64/mpi/gcc/openmpi/lib64:/MD/azat/Openblas/lib:/usr/local/lib:/usr/lib64/mpi/gcc/openmpi/lib64:/MD/azat/Openblas/lib"
export NWCHEM_MODULES="all"
export NWCHEM_TARGET="LINUX64"
export NWCHEM_TOP="/MD/azat/nwchem-6.6"
export TCE_CUDA="Y"
export USE_64TO32="y"
export USE_MPI="y"

make nwchem_config
make 64_to_32
make > make.log

linux432:/MD/azat/nwchem-6.6/src # nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2014 NVIDIA Corporation
Built on Thu_Jul_17_21:41:27_CDT_2014
Cuda compilation tools, release 6.5, V6.5.12

NVIDIA 650 Ti

Gromacs programm package work with CUDA.

When I tryed install with
LAPACK_SIZE=4
SCALAPACK_SIZE=4
SCALAPACK=-lsci_pgi_mp
BLASOPT=-lsci_pgi_mp

I had error: cannot found: -lsci_pgi_mp.
Im not used: module load cudatoolkit, because I can’t add cudatoolkit in environment module
Edited On 8:13:27 AM PST - Wed, Feb 10th 2016 by KAZat


Who's here now Members 0 Guests 0 Bots/Crawler 0


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC