<div dir="ltr">I also have a problem with the compilation. I downloaded espresso<span style="font-family:arial,sans-serif;font-size:13px">-5.0.99.tar.gz and </span><font face="arial, sans-serif">QE-GPU-14.03.0.tar.gz, placed GPU directory in espresso main directory (did not apply any patches). Then, in GPU directory I run:</font><div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">./configure --disable-parallel --enable-openmp --enable-cuda --with-gpu-arch=sm_35 --with-cuda-dir=$CUDA_HOME --with-magma --with-phigemm<br>
</font></div><div><font face="arial, sans-serif">cd ..</font></div><div><font face="arial, sans-serif">make -f Makefile.gpu pw-gpu<br></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">the error I get is as follows:</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><div>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 /home/pepe/src/espresso-5.0.99/GPU/..//phiGEMM/lib/libphigemm.a   -lblas  -L/usr/local/cuda-5.5/lib64 -lcublas  -lcufft -lcudart </div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 12</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 13</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 13</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 13</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 13</div><div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 21</div>
<div>/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_line): relocation 0 has invalid symbol index 2</div><div>/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':</div>
<div>(.text+0x20): undefined reference to `main'</div><div>collect2: ld returned 1 exit status</div><div>make[3]: *** [shared] Error 1</div><div>make[3]: Leaving directory `/home/pepe/src/espresso-5.0.99/phiGEMM/src'</div>
<div>make[2]: *** [phigemm] Error 2</div><div>make[2]: Leaving directory `/home/pepe/src/espresso-5.0.99/phiGEMM'</div><div>make[1]: *** [libphiGEMM] Error 2</div><div>make[1]: Leaving directory `/home/pepe/src/espresso-5.0.99/GPU/install'</div>
<div>make: *** [libphiGEMM] Error 2</div><div><br></div></font></div><div><font face="arial, sans-serif">Can somebody please help me.</font></div><div><font face="arial, sans-serif"><br></font></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Apr 6, 2014 at 1:39 AM, 薛诗川 <span dir="ltr"><<a href="mailto:nudt.xueshichuan@gmail.com" target="_blank">nudt.xueshichuan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
oh sorry .it seems that i got it , is it espresso-5.0.99.tar.gz?<br>
<br>
2014-04-06 15:27 GMT+08:00, 薛诗川 <<a href="mailto:nudt.xueshichuan@gmail.com">nudt.xueshichuan@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Thank u professor<br>
> i'll test as soon as possible and tell u the results.<br>
> but the latest version is 5.0.2,right?<br>
> when will 5.1 be released?<br>
><br>
> 2014-04-03 11:18 GMT+08:00, 薛诗川 <<a href="mailto:nudt.xueshichuan@gmail.com">nudt.xueshichuan@gmail.com</a>>:<br>
>> dear all,<br>
>> happy to see that GPU 14.03 has been released, so<br>
>> i tried to compile it for calculation.<br>
>> i just followed the instructions in the README file and added few<br>
>> manual DFLAGS and make.<br>
>> but during the process, it failed with such an error:<br>
>> Fatal error: cannot open mudule file 'mp_bands.mod' for reading.<br>
>> i cannot figure out its reasons.<br>
>> need  your help<br>
>> thanks.<br>
>><br>
><br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a></div></div></blockquote></div><br></div>