Dear All,
I am definitely new with Abinit. I tried installing it in a parallel environment using this string
../configure PFC=mpif90 FC=ifort CFLAGS="-O2" CXXFLAGS="-O2" --enable-mpi=yes --with-mpi-includes="-I/usr/local/openmpi-1.3.4-intel64-v9.1/include" --with-mpi-libs="-L/usr/local/openmpi-1.3.4-intel64-v9.1/lib -lmpi" --with-mpi-level="2" FCFLAGS="-O2 -assume byterecl -g -traceback -nomodule -fpp -D__MPI"
the configuration is successful. then I type "make" (I also tried "make multi" with same result) and I got this message.
I also attach you the config.log
Thanks for your kind help
Giacomo
Installation paths:
Source code location: .
Prefix: /home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/tmp
Exec prefix: ${prefix}
Binaries: ${exec_prefix}/bin
Static libraries: ${exec_prefix}/lib
Fortran modules: /home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/tmp/include
touch configure-stamp
bigdft-1.2.0.2 has been configured.
cd bigdft-1.2.0.2 && make
make[5]: Entering directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2'
make all-recursive
make[6]: Entering directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2'
Making all in src
make[7]: Entering directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src'
cd .. && /bin/sh /home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/config/missing --run automake-1.10 --gnu src/Makefile
/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/config/missing: line 54: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd .. && /bin/sh ./config.status src/Makefile
config.status: creating src/Makefile
make[7]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src'
make[7]: Entering directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src'
Making all in modules
make[8]: Entering directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src/modules'
cd ../.. && /bin/sh ./config.status src/modules/Makefile
config.status: creating src/modules/Makefile
make[8]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src/modules'
make[8]: Entering directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src/modules'
ifort -I. -I. -free -O2 -assume byterecl -g -traceback -nomodule -fpp -D__MPI -c -o base.o base.f90
fortcom: Error: base.f90, line 26: Cannot open include file 'mpif.h'
include 'mpif.h'
----------^
fortcom: Error: base.f90, line 27: This symbol must be a defined parameter or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_DOUBLE_PRECISION]
integer, parameter :: mpidtypw=MPI_DOUBLE_PRECISION,mpidtypd=MPI_DOUBLE_PRECISION
---------------------------------^
fortcom: Error: base.f90, line 27: This symbol must be a defined parameter or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_DOUBLE_PRECISION]
integer, parameter :: mpidtypw=MPI_DOUBLE_PRECISION,mpidtypd=MPI_DOUBLE_PRECISION
---------------------------------------------------------------^
fortcom: Error: base.f90, line 28: This symbol must be a defined parameter or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_DOUBLE_PRECISION]
integer, parameter :: mpidtypg=MPI_DOUBLE_PRECISION
---------------------------------^
fortcom: Error: base.f90, line 27: This name does not have a type, and must have an explicit type. [MPI_DOUBLE_PRECISION]
integer, parameter :: mpidtypw=MPI_DOUBLE_PRECISION,mpidtypd=MPI_DOUBLE_PRECISION
---------------------------------^
compilation aborted for base.f90 (code 1)
make[8]: *** [base.o] Error 1
make[8]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src/modules'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft/bigdft-1.2.0.2'
make[4]: *** [build-stamp] Error 2
make[4]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft'
make[3]: *** [package-ready] Error 2
make[3]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins/bigdft'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/giacomo/src/abinit-6.4.3/tmp'
make: *** [all] Error 2
[giacomo@gaius tmp]$
[SOLVED] pb in parallel install of the new release (6.4.3)
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
[SOLVED] pb in parallel install of the new release (6.4.3)
- Attachments
-
- config.log
- config.log
- (97.81 KiB) Downloaded 241 times
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: problem in parallel installation of the new release (6.4
Hello Giacomo,
Having a look on your config.log, MPI is not properly recognized. Don't mix MPI with FC settings - your parallel compiler is already hooked to ifort. Start by setting the environment variables - PATH and LD_LIBRARY_PATH - to cover your mpi implementation and Intel Fortran (this means that a plain "mpif90 test.F90" on the command line should compile a test.F90 source and produce a working executable). Then try with a configure line like ...
The build system should be able to discover the rest. If you're working on a cluster --enable-mpi-io may be useful. If you want to play with optimization, try --enable-optim variants.
Any improvement?
Kind regards,
Alain
Having a look on your config.log, MPI is not properly recognized. Don't mix MPI with FC settings - your parallel compiler is already hooked to ifort. Start by setting the environment variables - PATH and LD_LIBRARY_PATH - to cover your mpi implementation and Intel Fortran (this means that a plain "mpif90 test.F90" on the command line should compile a test.F90 source and produce a working executable). Then try with a configure line like ...
Code: Select all
../configure --enable-64bit-flags="yes" --enable-mpi="yes" --with-mpi-prefix="/usr/local/openmpi-1.3.4-intel64-v9.1"
The build system should be able to discover the rest. If you're working on a cluster --enable-mpi-io may be useful. If you want to play with optimization, try --enable-optim variants.
Any improvement?
Kind regards,
Alain
Re: problem in parallel installation of the new release (6.4
Thanks and excuse me for the slow reply!....
yes, things now seem to work properly!
I am testing!
Thanks a lot...
Giacomo
yes, things now seem to work properly!
I am testing!
Thanks a lot...
Giacomo