<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Reza,<br>
    <br>
    please make sure you follow the INSTALLATION instructions as
    reported here: <a class="moz-txt-link-freetext" href="http://qe-forge.org/gf/project/q-e-gpu/">http://qe-forge.org/gf/project/q-e-gpu/</a><br>
    Configure and make commands are to be executed for different PATHs
    of the directory tree.<br>
    For following e-mail on this topic please use the
    <a class="moz-txt-link-abbreviated" href="mailto:q-e-gpgpu@qe-forge.org">q-e-gpgpu@qe-forge.org</a> mailing-list.<br>
    <br>
    Kind Regards,<br>
    <br>
    Ivan<br>
    <br>
    On 07/05/2014 08:52, Reza Behjatmanesh-Ardakani wrote:
    <blockquote
      cite="mid:1399445527.68190.YahooMailBasic@web163804.mail.gq1.yahoo.com"
      type="cite">
      <pre wrap="">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- <a class="moz-txt-link-abbreviated" href="mailto:reza_b_m_a@yahoo.com">reza_b_m_a@yahoo.com</a> (preferred),
          2- <a class="moz-txt-link-abbreviated" href="mailto:behjatmanesh@pnu.ac.ir">behjatmanesh@pnu.ac.ir</a>, 
          3- <a class="moz-txt-link-abbreviated" href="mailto:reza.b.m.a@gmail.com">reza.b.m.a@gmail.com</a>.</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pw_forum mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>
<a class="moz-txt-link-freetext" href="http://pwscf.org/mailman/listinfo/pw_forum">http://pwscf.org/mailman/listinfo/pw_forum</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>