[Pw_forum] subroutine error.f90? or error_handler.f90? for pw2abinit

nicola varini nicola.varini at gmail.com
Thu May 28 18:27:35 CEST 2015


Hi Manuale, to fix the problem you should do something like
espresso="set espresso path"

ifort -I$ESPRESSO/Modules -o pw2abinit.x pw2abinit.f90
$ESPRESSO/Modules/libqemod.a $ESPRESSO/flib/ptools.a $ESPRESSO/flib/flib.a
$ESPRESSO/clib/clib.a  -Wl,--start-group
${MKLROOT}/lib/intel64/libmkl_intel_ilp64.a
${MKLROOT}/lib/intel64/libmkl_core.a
${MKLROOT}/lib/intel64/libmkl_sequential.a -Wl,--end-group -lpthread -lm

Assuming you have intel compiler and mkl installed. Otherwise you can use
lapack and gfortran.

IHTH

Nicola



2015-05-27 16:58 GMT+02:00 Manuel Pérez Jigato <manuel.perez at list.lu>:

> thanks a lot Paolo
>
> I have tried to compile pw2abinit with the -I option (gfortran) pointing
> to the Modules/error_handler.o, and I get all sorts of fortran errors,
> "undefined reference to .." many things
>
> Manuel
>
>
>
>
> Dr Manuel Pérez Jigato, Chargé de Recherche
> Luxembourg Institute of Science and Technology (LIST)
> Materials Research and Technology (MRT)
> 41 rue du Brill
> L-4422 BELVAUX
> Grand-Duché de Luxembourg
> Tel (+352) 47 02 61 - 584
> Fax (+352) 47 02 64
> e-mail  manuel.perez at list.lu
>
>
> [image: Inactive hide details for Paolo Giannozzi ---27/05/2015
> 15:41:53---Modules/error_handler.f90 should be the right place Paolo]Paolo
> Giannozzi ---27/05/2015 15:41:53---Modules/error_handler.f90 should be the
> right place Paolo
>
> From: Paolo Giannozzi <p.giannozzi at gmail.com>
> To: PWSCF Forum <pw_forum at pwscf.org>,
> Date: 27/05/2015 15:41
> Subject: Re: [Pw_forum] subroutine error.f90? or error_handler.f90? for
> pw2abinit
> Sent by: pw_forum-bounces at pwscf.org
> ------------------------------
>
>
>
> Modules/error_handler.f90 should be the right place
>
> Paolo
>
> On Wed, May 27, 2015 at 1:58 PM, Manuel Pérez Jigato <
> *manuel.perez at list.lu* <manuel.perez at list.lu>> wrote:
>
>    hello
>
>    I am trying to locate the right subroutine in order to compile
>    pw2abinit
>    The code seems to need an object file $espresso/flib/error.o, although
>    version 5.1.2 of quantum-espresso does not seem to have it
>
>    I did find an error_handler.f90 and error_handler.o (I have already
>    compiled quantum-espresso)
>    inside Modules
>
>    is there anyone who could let me know the right error.o file, or else,
>    where can I find it?
>
>    thanks a lot
>
>    Manuel
>
>    Dr Manuel Pérez Jigato, Chargé de Recherche
>    Luxembourg Institute of Science and Technology (LIST)
>    Materials Research and Technology (MRT)
>    41 rue du Brill
>    L-4422 BELVAUX
>    Grand-Duché de Luxembourg
>    Tel *(+352) 47 02 61 - 584* <%28%2B352%29%2047%2002%2061%20-%20584>
>    Fax *(+352) 47 02 64* <%28%2B352%29%2047%2002%2064>
>    e-mail  *manuel.perez at list.lu* <manuel.perez at list.lu>
>
>    _______________________________________________
>    Pw_forum mailing list
> *Pw_forum at pwscf.org* <Pw_forum at pwscf.org>
> *http://pwscf.org/mailman/listinfo/pw_forum*
>    <http://pwscf.org/mailman/listinfo/pw_forum>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20150528/11508f2e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20150528/11508f2e/attachment.gif>


More information about the users mailing list