[mvapich-discuss] Error compiling MVAPICH2 with CUDA on Ubuntu Server

José Manuel Molero jmlero at hotmail.com
Mon Jan 21 15:49:07 EST 2013


Hi,

I have the same problem discusses in this thread:

http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/2012-July/003964.html

List of software in my case:

Ubuntu Server
MVAPICH2 1.8 r5668
SLURM 2.3.2 

Everything is fine if I not use CUDA flag. For example:

./configure --prefix=/opt/mvapich2 --with-pm=no --with-pmi=slurm  --with-device=ch3:mrail --with-rdma=gen2 --enable-g=dbg 

But if I try to use CUDA flag in this way (I have the CUDA version 5.0):

./configure --prefix=/opt/mvapich2 --with-pm=no --with-pmi=slurm  --with-device=ch3:mrail --with-rdma=gen2 --enable-g=dbg --enable-cuda --with-cuda=/usr/local/cuda-5.0

or 

./configure --prefix=/opt/mvapich2 --with-pm=no --with-pmi=slurm  --with-device=ch3:mrail --with-rdma=gen2 --enable-g=dbg --enable-cuda --with-cuda=/usr/local/cuda

or

./configure --prefix=/opt/mvapich2 --with-pm=no --with-pmi=slurm  --with-device=ch3:mrail --with-rdma=gen2 --enable-g=dbg --enable-cuda 

This is the result when I do the make:

../bin/mpicc   -o cpi cpi.o  -lm 
/usr/bin/ld: /root/mvapich2-1.8-r5668/lib/libmpich.a(alltoall_cuda_osu.o): undefined reference to symbol 'ceil@@GLIBC_2.2.5'
/usr/bin/ld: note: 'ceil@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libm.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libm.so: could not read symbols: Invalid operation


Any suggestion or idea?

Thanks in advance






 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20130121/228ecb67/attachment.html


More information about the mvapich-discuss mailing list