[Pw_forum] GPU serial compiling error

Ivan Girotto igirotto at ictp.it
Mon May 12 12:15:33 CEST 2014


Dear Reza,

please make sure you follow the INSTALLATION instructions as reported 
here: http://qe-forge.org/gf/project/q-e-gpu/
Configure and make commands are to be executed for different PATHs of 
the directory tree.
For following e-mail on this topic please use the q-e-gpgpu at qe-forge.org 
mailing-list.

Kind Regards,

Ivan

On 07/05/2014 08:52, Reza Behjatmanesh-Ardakani wrote:
> Dear Users
>
> I have compiled QE 5.0.2 with MPICH and intel composerxe parallel studio, and everything is OK.
>
> Now, I am compiling QE-GPU-14.03.0. To do this, I started with GTX660Ti. I installed NVIDIA linux driver, and CUDA5.5.
>
> I configured GPU according to its help. It seems that it is OK. However, when I run following command, I get some errors (see Following section). Any help will be appreciated. I have also attache make.sys and makefile.gpu
>
>
>
> =====================
> Command:
> make -f Makefile.gpu pw-gpu
> =================
> Error:
> .
> .
> .
> .
> cd ../../phiGEMM; make phigemm;
> make[2]: Entering directory `/root/espresso-5.0.2/phiGEMM'
> if test -d src ; then \
> 	( cd src ; if test "make" = "" ; then make -w ; \
> 	else make -w ; fi ) ; fi
> make[3]: Entering directory `/root/espresso-5.0.2/phiGEMM/src'
> mkdir -p ../bin ../lib
> ar ruv libphigemm.a phigemm_auxiliary.o phigemm_env.o phigemm_dgemm.o phigemm_zgemm.o phigemm_dgemm_specialK.o phigemm_zgemm_specialK.o phigemm_cgemm.o phigemm_sgemm.o
> ar: creating libphigemm.a
> a - phigemm_auxiliary.o
> a - phigemm_env.o
> a - phigemm_dgemm.o
> a - phigemm_zgemm.o
> a - phigemm_dgemm_specialK.o
> a - phigemm_zgemm_specialK.o
> a - phigemm_cgemm.o
> a - phigemm_sgemm.o
> mv libphigemm.a ../lib/.
> mkdir -p ../bin ../lib
> cc -O3 -fopenmp -fPIC -z muldefs  -o libphigemm.so.2.0 phigemm_auxiliary.o phigemm_env.o phigemm_dgemm.o phigemm_zgemm.o phigemm_dgemm_specialK.o phigemm_zgemm_specialK.o phigemm_cgemm.o phigemm_sgemm.o -L/usr/local/cuda-5.5/lib64 -lcublas  -lcufft -lcudart /root/espresso-5.0.2/GPU/..//phiGEMM/lib/libphigemm.a  /root/espresso-5.0.2/GPU/..//BLAS/blas.a -L/usr/local/cuda-5.5/lib64 -lcublas  -lcufft -lcudart
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start':
> (.text+0x20): undefined reference to `main'
> /root/espresso-5.0.2/GPU/..//BLAS/blas.a(xerbla.o): In function `xerbla_':
> xerbla.f:(.text+0x44): undefined reference to `_gfortran_st_write'
> xerbla.f:(.text+0x54): undefined reference to `_gfortran_transfer_character_write'
> xerbla.f:(.text+0x64): undefined reference to `_gfortran_transfer_integer_write'
> xerbla.f:(.text+0x6c): undefined reference to `_gfortran_st_write_done'
> xerbla.f:(.text+0x75): undefined reference to `_gfortran_stop_string'
> collect2: error: ld returned 1 exit status
> make[3]: *** [shared] Error 1
> make[3]: Leaving directory `/root/espresso-5.0.2/phiGEMM/src'
> make[2]: *** [phigemm] Error 2
> make[2]: Leaving directory `/root/espresso-5.0.2/phiGEMM'
> make[1]: *** [libphiGEMM] Error 2
> make[1]: Leaving directory `/root/espresso-5.0.2/GPU/install'
> make: *** [libphiGEMM] Error 2
> =================================================
>
>
>
>
>
>
>
> With the Best Regards
>
>     Reza Behjatmanesh-Ardakani
>     Associate Professor of Physical Chemistry
>     Address:
>     Department of Chemistry,
>     School of Science,
>     Payame Noor University (PNU),
>     Ardakan,
>     Yazd,
>     Iran.
>     E-mails:
>            1- reza_b_m_a at yahoo.com (preferred),
>            2- behjatmanesh at pnu.ac.ir,
>            3- reza.b.m.a at gmail.com.
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20140512/07ce4912/attachment.html>


More information about the users mailing list