Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] abinip compilation

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] abinip compilation


Chronological Thread 
  • From: Myrta Gruning <myrta.gruning@uclouvain.be>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] abinip compilation
  • Date: Mon, 20 Oct 2008 09:22:40 +0200

Dear Sara,

How did you configure abinit? (if you do not remember is in the
config.log).

Did you include the --enable-mpi=yes and --with-mpi-prefix=MPIPATH?
option to the ./configure?

Abinit will look in MPIPATH/include for mpif.h

You have also to be sure that the env var $PATH $LD_LIBRARY_PATH include
the corresponding mpi and mpi lib.

(type ./configure -h in your abinit dir for more info on these options)

It is not possible for us to tell the exact addresses (MPIPATH) to type
for abinip, this depends on the machine you are working on (more a
question for the machine sysadmin)

Good luck
m

On Mon, 2008-10-20 at 07:00 +0200, sara yazdani wrote:
> Dear Sir,
>
> I have installed open mpi on a 8 core machine. And I have configured
> abinit5.4.4 on it.
>
> I have followed the advises in FAQ to compile abinip, but when I write make
> multi, it gives me the following error:
>
> gfortran -DHAVE_CONFIG_H -I. -I../.. -I../defs -I./../defs -DMPI=1 -c -o
> liblib01hidempip_a-xderiveread.o `test -f 'xderiveread.F90' || echo
> './'`xderiveread.F90
> Error: Can't open included file 'mpif.h'
> Error: Can't open included file 'mpif.h'
> Error: Can't open included file 'mpif.h'
> Error: Can't open included file 'mpif.h'
> make[1]: *** [liblib01hidempip_a-xderiveread.o] Error 1
> make[1]: Leaving directory `/home/physicsusr/abinit-5.4.4/src/lib01hidempi'
> make: *** [multi] Error 2
>
> This is while mpif.h is in /usr/local/include.
>
> Is is possible that you kindly mention the addresses we should type for
> abinip
> compilation?
>
> Regards,
> Sara




Archive powered by MHonArc 2.6.15.

Top of Page