Dear Anubhav, make sure you clean properly before re-run configure and make
make -f Makefile.gpu distclean ./configure ... make -f Makefile.gpu pw-gpu F On May 27, 2015, at 8:54 AM, [email protected] wrote: > Dear QE users > > I was configuring qe-gpu 14.10.0 with espresso-5.1.2 on ubuntu 14.04 > .Serial Configuration was successful, but when i run makefile, it gives me > the following error > > /usr/bin/ld: > /home/anubhav/Downloads/espresso-5.1.2/GPU/..//qe-magma/lib/libmagma.a(ztrevc3_mt.o): > undefined reference to symbol '__cxa_pure_virtual@@CXXABI_1.3' > //usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO > missing from command line > collect2: error: ld returned 1 exit status > make[1]: *** [pw-gpu.x] Error 1 > make[1]: Leaving directory `/home/anubhav/Downloads/espresso-5.1.2/GPU/PW' > make: *** [pw-gpu] Error 2 > > As suggested in one the mail, i configured qe-gpu without magma.Then after > running make file, i am getting the following error > > ../Modules/libqemodgpu.a(cuda_init.o): In function `initcudaenv_': > tmpxft_0000384c_00000000-3_cuda_init.cudafe1.cpp:(.text+0x8f0): undefined > reference to `magma_init' > ../Modules/libqemodgpu.a(cuda_init.o): In function `closecudaenv_': > tmpxft_0000384c_00000000-3_cuda_init.cudafe1.cpp:(.text+0xa5a): undefined > reference to `magma_finalize' > libpwgpu.a(cdiaghg_gpu.o): In function `cdiaghg_gpu_': > /home/anubhav/Downloads/espresso-5.1.2/GPU/PW/cdiaghg_gpu.f90:146: > undefined reference to `magmaf_zhegvx_' > collect2: error: ld returned 1 exit status > make[1]: *** [pw-gpu.x] Error 1 > make[1]: Leaving directory `/home/anubhav/Downloads/espresso-5.1.2/GPU/PW' > make: *** [pw-gpu] Error 2 > Please someone help me out > > Anubhav Kumar > IITK > > _______________________________________________ > Pw_forum mailing list > [email protected] > http://pwscf.org/mailman/listinfo/pw_forum -- Mr. Filippo SPIGA, M.Sc. http://fspiga.github.io ~ skype: filippo.spiga «Nobody will drive us out of Cantor's paradise.» ~ David Hilbert ***** 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." _______________________________________________ Pw_forum mailing list [email protected] http://pwscf.org/mailman/listinfo/pw_forum
