Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Problem with installing abinit 5.8.4 on Ubuntu 9.04

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Problem with installing abinit 5.8.4 on Ubuntu 9.04


Chronological Thread 
  • From: REN Hang <hangren@ust.hk>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Problem with installing abinit 5.8.4 on Ubuntu 9.04
  • Date: Fri, 13 Nov 2009 00:12:40 +0800

Hi,

Thank you for your kind reply. I tried as you suggested. This time the configuration parameter was:

../configure --enable-mpi=yes --disable-all-plugins --with-mpi-prefix=/home/lyon/Projects/mpich

And it could find the mpif90.



But the compilation aborted after I went for "make multi". The terminal said:

../../../src/12_hide_mpi/xallgatherv_mpi.F90(235): error #5102: Cannot open include file 'mpif.h'
include 'mpif.h'
---------^
../../../src/12_hide_mpi/xallgatherv_mpi.F90(251): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_SELF]
if (spaceComm /= MPI_COMM_SELF) then
------------------^
../../../src/12_hide_mpi/xallgatherv_mpi.F90(253): error #6404: This name does not have a type, and must have an explicit type. [MPI_DOUBLE_PRECISION]
call MPI_ALLGATHERV(xval,nelem,MPI_DOUBLE_PRECISION,recvbuf,recvcounts,displs,&
---------------------------------^
compilation aborted for ../../../src/12_hide_mpi/xalltoallv_mpi.F90 (code 1)
make[4]: *** [lib12_hide_mpip_a-xalltoallv_mpi.o] Error 1
make[4]: *** Waiting for unfinished jobs....
compilation aborted for ../../../src/12_hide_mpi/xallgatherv_mpi.F90 (code 1)
make[4]: *** [lib12_hide_mpip_a-xallgatherv_mpi.o] Error 1
make[4]: Leaving directory `/home/lyon/Downloads/abinit-5.8.4/tmp/src/12_hide_mpi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lyon/Downloads/abinit-5.8.4/tmp/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lyon/Downloads/abinit-5.8.4/tmp'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lyon/Downloads/abinit-5.8.4/tmp'
make: *** [multi] Error 2



Thanks again for your kind help.

Best regards,

Ren Hang


Yann Pouillon wrote:
Hi,

REN Hang <hangren@ust.hk> ha escrito:

I have some troubles to install abinit 5.8.4 on Ubuntu 9.04 x64 with ifort 11.1.059, gcc and mpich.

The configuration parameter is as follows:

../configure --enable-mpi=yes --disable-all-plugins.

You should look where MPICH is installed and add --with-mpi-prefix=/path/to/mpich.

The mpif90 executable should be in /path/to/mpich/bin/.

make[3]: Leaving directory `/home/lyon/Downloads/abinit-5.8.4/tmp/tests'
grep 'failed' */*/report >&2

If you don't see any test number after this line, it means that things do work.

Besides, in the build directory, the src directory is dirty, which consists of many directories starting with numbers. In the directory of "src/98_main/", I can find some executable files but without "abinip".

This is not dirty at all, but a way of sorting the directories by build order. Not only normal, but purposefully designed so.

Best regards,

Yann.





Archive powered by MHonArc 2.6.16.

Top of Page