<div dir="ltr"><div>gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2</div><div>Copyright (C) 2013 Free Software Foundation, Inc.</div><div>This is free software; see the source for copying conditions. There is NO</div><div>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</div><div><br></div><div><br></div><div><br></div><div>Bu, in make.sys, the variable CC is icc.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-30 13:06 GMT-02:00 Filippo Spiga <span dir="ltr"><<a href="mailto:spiga.filippo@gmail.com" target="_blank">spiga.filippo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Which GCC have you installed on this system?<br>
<br>
$ gcc --version<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
F<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Oct 30, 2014, at 12:05 PM, Mateus José Fernandes Martins <<a href="mailto:mjfmartins@ice.ufjf.br">mjfmartins@ice.ufjf.br</a>> wrote:<br>
><br>
> Ok, the error is gone. But, the error is<br>
><br>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
> ifort -static-intel -openmp -o pw-gpu.x \<br>
> pwscf.o ../../PW/src/libpw.a libpwgpu.a ../../Modules/libqemod.a ../Modules/libqemodgpu.a ../../flib/ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a /opt/espresso-5.0.2/GPU/..//qe-magma/lib/libmagma.a /opt/espresso-5.0.2/GPU/..//phiGEMM/lib/libphigemm.a -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -L/usr/lib64 -lcublas -lcufft -lcudart<br>
> ld: /opt/espresso-5.0.2/GPU/..//qe-magma/lib/libmagma.a(zhetrd_hb2st.o): referência indefinida ao símbolo '__gxx_personality_v0@@CXXABI_1.3'<br>
> //usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line<br>
> make[1]: ** [pw-gpu.x] Erro 1<br>
> make[1]: Saindo do diretório `/opt/espresso-5.0.2/GPU/PW'<br>
> make: ** [pw-gpu] Erro 2<br>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
><br>
><br>
> 2014-10-29 18:01 GMT-02:00 Filippo Spiga <<a href="mailto:spiga.filippo@gmail.com">spiga.filippo@gmail.com</a>>:<br>
> Please try 14.03, tell me if the problem persists.<br>
><br>
> F<br>
><br>
> > On Oct 29, 2014, at 6:34 PM, Mateus José Fernandes Martins <<a href="mailto:mjfmartins@ice.ufjf.br">mjfmartins@ice.ufjf.br</a>> wrote:<br>
> ><br>
> > Now, I try with espresso-5.0.3 and the result was the same error.<br>
> ><br>
> > 2014-10-29 14:13 GMT-02:00 Filippo Spiga <<a href="mailto:spiga.filippo@gmail.com">spiga.filippo@gmail.com</a>>:<br>
> > Which version of QE are you using? Which version of QE-GPU?<br>
> ><br>
> > F<br>
> ><br>
> > > On Oct 29, 2014, at 2:58 PM, Mateus José Fernandes Martins <<a href="mailto:mjfmartins@ice.ufjf.br">mjfmartins@ice.ufjf.br</a>> wrote:<br>
> > ><br>
> > > Hello QE-users,<br>
> > ><br>
> > > I am trying to compile the Quantum-Espresso with the GPU, following the script mentioned in this page: <a href="https://github.com/fspiga/QE-GPU" target="_blank">https://github.com/fspiga/QE-GPU</a>. But, the command "make -f pw-gpu Makefile.gpu", after a few minutes of compilation, generates this error:<br>
> > ><br>
> > > ----------------------------------------------------------------------------------------------------------------------------------<br>
> > > make[1]: Entrando no diretório `/opt/espresso-GPU/GPU/PW'<br>
> > > test -n "" && ( cd ../.. ; make -w || exit 1) || :<br>
> > > ifort -O2 -assume byterecl -g -traceback -par-report0 -vec-report0 -openmp -nomodule -openmp -fpp -D__INTEL -D__FFTW -D__CUDA -D__PHIGEMM -D__MAGMA -DHAVE_CUBLAS -D__OPENMP -I../include -I/opt/espresso-GPU/GPU/..//qe-magma/include -I/opt/espresso-GPU/GPU/..//quark/include -I/opt/espresso-GPU/GPU/..//phiGEMM/include -I/usr/include -I../../iotk/src -I../../PW/src -I../../Modules -I../Modules -I. -c ../../PW/src/pwscf.f90<br>
> > > ifort -O2 -assume byterecl -g -traceback -par-report0 -vec-report0 -openmp -nomodule -openmp -fpp -D__INTEL -D__FFTW -D__CUDA -D__PHIGEMM -D__MAGMA -DHAVE_CUBLAS -D__OPENMP -I../include -I/opt/espresso-GPU/GPU/..//qe-magma/include -I/opt/espresso-GPU/GPU/..//quark/include -I/opt/espresso-GPU/GPU/..//phiGEMM/include -I/usr/include -I../../iotk/src -I../../PW/src -I../../Modules -I../Modules -I. -c addusdens_gpu.f90<br>
> > > ifort -O2 -assume byterecl -g -traceback -par-report0 -vec-report0 -openmp -nomodule -openmp -fpp -D__INTEL -D__FFTW -D__CUDA -D__PHIGEMM -D__MAGMA -DHAVE_CUBLAS -D__OPENMP -I../include -I/opt/espresso-GPU/GPU/..//qe-magma/include -I/opt/espresso-GPU/GPU/..//quark/include -I/opt/espresso-GPU/GPU/..//phiGEMM/include -I/usr/include -I../../iotk/src -I../../PW/src -I../../Modules -I../Modules -I. -c newq_compute_gpu.f90<br>
> > > newq_compute_gpu.f90(30): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MP_BANDS]<br>
> > > USE mp_bands, ONLY : intra_bgrp_comm<br>
> > > ------^<br>
> > > newq_compute_gpu.f90(200): error #6404: This name does not have a type, and must have an explicit type. [INTRA_BGRP_COMM]<br>
> > > CALL mp_sum( deeq( :, :, :, 1:nspin_mag ), intra_bgrp_comm )<br>
> > > ---------------------------------------------^<br>
> > > newq_compute_gpu.f90(200): error #6285: There is no matching specific subroutine for this generic subroutine call. [MP_SUM]<br>
> > > CALL mp_sum( deeq( :, :, :, 1:nspin_mag ), intra_bgrp_comm )<br>
> > > -------^<br>
> > > newq_compute_gpu.f90(30): error #6580: Name in only-list does not exist. [INTRA_BGRP_COMM]<br>
> > > USE mp_bands, ONLY : intra_bgrp_comm<br>
> > > -----------------------------------^<br>
> > > compilation aborted for newq_compute_gpu.f90 (code 1)<br>
> > > make[1]: ** [newq_compute_gpu.o] Erro 1<br>
> > > make[1]: Saindo do diretório `/opt/espresso-GPU/GPU/PW'<br>
> > > make: ** [pw-gpu] Erro 2<br>
> > > ----------------------------------------------------------------------------------------------------------------------------------<br>
> > ><br>
> > > Can anyone help me?<br>
> > ><br>
> > > Regards,<br>
> > ><br>
> > > Mateus<br>
> > ><br>
> > ><br>
> > > --<br>
> > > Dr. Mateus José Fernandes Martins<br>
> > > Grupo de Eletrônica Orgânica<br>
> > > <a href="http://www.ufjf.br/geo" target="_blank">www.ufjf.br/geo</a><br>
> > > Departamento de Física<br>
> > > Universidade Federal de Juiz de Fora<br>
> > > CEP 36036-330 Juiz de Fora - MG -Brasil<br>
> > > Grupo de Físico-Química de Sólidos e Interfaces<br>
> > > <a href="http://www.ufjf.br/gfqsi" target="_blank">www.ufjf.br/gfqsi</a><br>
> > > Departamento de Química<br>
> > > Universidade Federal de Juiz de Fora<br>
> > > CEP 36036-330 Juiz de Fora - MG -Brasil<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><br>
> ><br>
> > --<br>
> > Mr. Filippo SPIGA, M.Sc.<br>
> > <a href="http://filippospiga.info" target="_blank">http://filippospiga.info</a> ~ skype: filippo.spiga<br>
> ><br>
> > «Nobody will drive us out of Cantor's paradise.» ~ David Hilbert<br>
> ><br>
> > *****<br>
> > Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and may be privileged or otherwise protected from disclosure. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission."<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><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Dr. Mateus José Fernandes Martins<br>
> > Grupo de Eletrônica Orgânica<br>
> > <a href="http://www.ufjf.br/geo" target="_blank">www.ufjf.br/geo</a><br>
> > Departamento de Física<br>
> > Universidade Federal de Juiz de Fora<br>
> > CEP 36036-330 Juiz de Fora - MG -Brasil<br>
> > Grupo de Físico-Química de Sólidos e Interfaces<br>
> > <a href="http://www.ufjf.br/gfqsi" target="_blank">www.ufjf.br/gfqsi</a><br>
> > Departamento de Química<br>
> > Universidade Federal de Juiz de Fora<br>
> > CEP 36036-330 Juiz de Fora - MG -Brasil<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><br>
><br>
> --<br>
> Mr. Filippo SPIGA, M.Sc.<br>
> <a href="http://filippospiga.info" target="_blank">http://filippospiga.info</a> ~ skype: filippo.spiga<br>
><br>
> «Nobody will drive us out of Cantor's paradise.» ~ David Hilbert<br>
><br>
> *****<br>
> Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and may be privileged or otherwise protected from disclosure. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission."<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><br>
><br>
><br>
><br>
> --<br>
> Dr. Mateus José Fernandes Martins<br>
> Grupo de Eletrônica Orgânica<br>
> <a href="http://www.ufjf.br/geo" target="_blank">www.ufjf.br/geo</a><br>
> Departamento de Física<br>
> Universidade Federal de Juiz de Fora<br>
> CEP 36036-330 Juiz de Fora - MG -Brasil<br>
> Grupo de Físico-Química de Sólidos e Interfaces<br>
> <a href="http://www.ufjf.br/gfqsi" target="_blank">www.ufjf.br/gfqsi</a><br>
> Departamento de Química<br>
> Universidade Federal de Juiz de Fora<br>
> CEP 36036-330 Juiz de Fora - MG -Brasil<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><br>
<br>
--<br>
Mr. Filippo SPIGA, M.Sc.<br>
<a href="http://filippospiga.info" target="_blank">http://filippospiga.info</a> ~ skype: filippo.spiga<br>
<br>
«Nobody will drive us out of Cantor's paradise.» ~ David Hilbert<br>
<br>
*****<br>
Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and may be privileged or otherwise protected from disclosure. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission."<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><br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#000000">Dr. Mateus José Fernandes Martins</font><div><span style="color:rgb(0,0,0);font-family:Arial"><font>Grupo de Eletrônica Orgânica</font></span></div><div><span style="color:rgb(0,0,0);font-family:Arial"><font><a href="http://www.ufjf.br/geo" target="_blank">www.ufjf.br/geo</a></font></span></div><div><font color="#000000">Departamento de Física</font><div><font color="#000000">Universidade Federal de Juiz de Fora<br></font></div><font color="#000000">CEP 36036-330 Juiz de Fora - MG -Brasil</font><font color="#000000"><font face="Arial"><br></font></font><div><span style="background-color:rgb(255,255,255)"><font color="#000000">Grupo de Físico-Química de Sólidos e Interfaces</font></span></div><span style="background-color:rgb(255,255,255)"><font color="#000000"><a href="http://www.ufjf.br/gfqsi" target="_blank">www.ufjf.br/gfqsi</a><br>Departamento de Química</font></span><div><span style="background-color:rgb(255,255,255)"><font color="#000000">Universidade Federal de Juiz de Fora<br></font></span></div><font color="#000000">CEP 36036-330 Juiz de Fora - MG -Brasil</font><br></div></div>
</div>