On Wed, Sep 10, 2014 at 9:37 AM, Axel Kohlmeyer <akohlmey at gmail.com> wrote: > On Wed, Sep 10, 2014 at 9:35 AM, Filippo Spiga <spiga.filippo at gmail.com> > wrote: >> Dear Mauro, >> >> On Sep 8, 2014, at 9:47 AM, Mauro Sgroi <maurofrancesco.sgroi at gmail.com> >> wrote: >>> I'm using now gcc 4.4 wih the internal blas/lapack libraries, just to >>> reduce the complexity of the problem. >> >> Bus still, Intel MKL will give you best performance. It is worth the >> complexity, give it a try! >> >> >>> I modified GPU/install/make_phiGEMM.inc to link with -lgfortran to solve >>> some undefined reference errors. >>> But now the compilation stops with an undefined reference to `main'. >> >> uhm I will look at this, I do not see any problem on my local machine but I >> will double-check again. > > that would happen, if gcc is used as linker instead of gfortran (which > would also explain the need of adding -lgfortran)
or when you try to link a shared library without the -shared flag. > > axel. > > >> F >> >> -- >> Mr. Filippo SPIGA, M.Sc. >> http://filippospiga.info ~ 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 >> Pw_forum at pwscf.org >> http://pwscf.org/mailman/listinfo/pw_forum > > > > -- > Dr. Axel Kohlmeyer akohlmey at gmail.com http://goo.gl/1wk0 > College of Science & Technology, Temple University, Philadelphia PA, USA > International Centre for Theoretical Physics, Trieste. Italy. -- Dr. Axel Kohlmeyer akohlmey at gmail.com http://goo.gl/1wk0 College of Science & Technology, Temple University, Philadelphia PA, USA International Centre for Theoretical Physics, Trieste. Italy.
