hi,
I have trouble compiling ABINIT 6.0.4 in X86-64 in parallel.
my compiler: gnu 4.1;
mpich version: openmpi 1.4;
system: redhat
configure:
$ ../configure FC=f95 --enable-mpi="yes" --prefix=/home/jghe/abinit --disable-all-plugins
$ make
configure.log:
==============================================================================
=== Overall startup ===
==============================================================================
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a thread-safe mkdir -p... /bin/mkdir -p
configure: disabling all plug-ins
==============================================================================
=== Build-system information ===
==============================================================================
configure: ABINIT version: 6.0.4
configure: M4 010413 - Autoconf 026300 - Automake 011100 - Libtool 020204
configure: reporting user interface changes:
configure: * new option --enable-cuda is available
configure: * --enable-debug has a new meaning
configure: please check that --enable-debug="yes" is OK for you
configure: * new option --enable-etsf-io-test is available
configure: * --enable-tricks renamed --enable-hints
configure: * --enable-etsf-xc renamed --enable-libxc
configure: * --enable-mpi has a new meaning
configure: please check that --enable-mpi="yes" is OK for you
configure: * --enable-mpi-io-buggy renamed --enable-mpi-io-test
configure: * --enable-optlevel renamed --enable-optim
configure: * --enable-xmlf90 removed
configure: * new option --with-cuda-includes is available
configure: * new option --with-cuda-libs is available
configure: * new option --with-etsf-io-test-includes is available
configure: * new option --with-etsf-io-test-libs is available
configure: * --with-etsf-xc-includes renamed --with-libxc-includes
configure: * --with-etsf-xc-libs renamed --with-libxc-libs
configure: * --with-mpi-cc-ldflags removed
configure: * --with-mpi-cc-libs removed
configure: * --with-mpi-cflags removed
configure: * --with-mpi-cppflags removed
configure: * --with-mpi-cxx-ldflags removed
configure: * --with-mpi-cxx-libs removed
configure: * --with-mpi-cxxflags removed
configure: * --with-mpi-fc-ldflags removed
configure: * --with-mpi-fc-libs removed
configure: * --with-mpi-fcflags removed
configure: * --with-mpi-prefix has a new meaning
configure: please check that --with-mpi-prefix="" is OK for you
configure: * --with-xmlf90-includes removed
configure: * --with-xmlf90-libs removed
==============================================================================
=== Option consistency checking ===
==============================================================================
configure: checking consistency of external prerequisite options
configure: |---> all OK
configure:
configure: checking consistency of plug-in options
configure: |---> all OK
configure:
configure: parsing command-line options
==============================================================================
=== Connector startup ===
==============================================================================
configure: Initializing MPI support
checking for mpirun... mpirun
configure: compiler checks deferred
==============================================================================
=== Utilities ===
==============================================================================
checking for sh... /bin/sh
checking for perl... /usr/bin/perl
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking for latex... /bin/false
checking for dvips... /bin/false
checking for dvipdf... /usr/bin/dvipdf
checking for ps2pdf... /usr/bin/ps2pdf
checking for markdown... no
checking for wget... /usr/bin/wget
configure: using internal version of MarkDown
==============================================================================
=== C support ===
==============================================================================
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking which type of compiler we have... gnu 4.1
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for abort... yes
checking size of int... 4
checking size of unsigned int... 4
checking size of float... 4
checking size of double... 8
checking size of long... 8
checking size of unsigned long... 8
checking size of long long... 8
checking size of unsigned long long... 8
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
==============================================================================
=== C++ support ===
==============================================================================
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking which type of C++ compiler we have... gnu 4.1
==============================================================================
=== Fortran support ===
==============================================================================
checking for f95... /usr/bin/f95
checking whether we are using the GNU Fortran compiler... yes
checking whether f95 accepts -g... yes
configure: Fortran source will be preprocessed using C preprocessor
checking which type of Fortran compiler we have... gnu 4.1
checking fortran 90 modules extension... mod
checking for Fortran flag to compile .F90 files... none
checking whether the Fortran compiler accepts exit()... yes
checking whether the Fortran compiler accepts flush()... yes
checking whether the Fortran compiler accepts flush_()... no
checking whether the Fortran compiler accepts gamma()... no
checking whether the Fortran compiler accepts get_environment_variable... yes
checking whether the Fortran compiler accepts quadruple integers... yes
checking whether the Fortran compiler accepts long lines... no
checking whether the Fortran compiler accepts the null() intrinsic... yes
checking how to get verbose linking output from f95... -v
checking for Fortran libraries of f95... -L/opt/intel/mkl/9.1.023/lib/em64t -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lgfortranbegin -lgfortran -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
==============================================================================
=== Python support ===
==============================================================================
checking for python... python
checking for python-config... no
checking for python2.6-config... no
checking for python2.5-config... no
checking for python2.4-config... no
checking for Python CPPFLAGS...
checking for bzr... no
checking for Python NumPy headers... not found
checking numarray/arrayobject.h usability... no
checking numarray/arrayobject.h presence... no
checking for numarray/arrayobject.h... no
==============================================================================
=== Libraries and linking ===
==============================================================================
checking for ar... ar
checking for ranlib... ranlib
==============================================================================
=== Hints ===
==============================================================================
checking for cpp... cpp
checking which cpp hints to apply... default/default/default
checking which cc hints to apply... gnu/default/default
checking which xpp hints to apply... none/none/none
checking which cxx hints to apply... gnu/default/default
checking which fpp hints to apply... none/none/none
checking which fc hints to apply... gnu/4.1/default
checking which ar hints to apply... none/none/none
==============================================================================
=== Debugging ===
==============================================================================
checking debugging status... enabled (custom flags are allowed)
configure: setting C debug flags to '-g'
configure: setting C++ debug flags to '-g'
configure: setting Fortran debug flags to '-g'
checking whether to activate debug mode in source files... no
==============================================================================
=== Optimizations ===
==============================================================================
checking optimization status... enabled (profile mode: standard)
checking which cc optimizations to apply... gnu/default/intel_xeon
checking which cxx optimizations to apply... gnu/default/intel_xeon
checking which fc optimizations to apply... gnu/default/intel_xeon
checking whether to apply per-directory optimizations... yes
==============================================================================
=== 64-bit support ===
==============================================================================
checking for a 64-bit architecture... yes
checking whether to use 64-bit flags... no
checking for user-defined 64-bit flags... none
==============================================================================
=== Connectors ===
==============================================================================
checking whether the C compiler supports MPI... no
checking whether the C++ compiler supports MPI... no
checking whether the Fortran Compiler supports MPI... no
checking whether MPI is usable... no
checking whether to build MPI code... yes
checking whether to build MPI I/O code... no
checking whether to build MPI I/O untested features... no
checking whether to build MPI time tracing code... no
checking which level of MPI is supported by the Fortran compiler... none
checking whether to use the CUDA Library... no
checking whether to use the FFTW library... no
checking whether to use the GNU Scientific Library... no
configure: applying linear algebra tricks (type: abinit)
checking whether to build the LINALG library... yes
checking whether to activate ScaLAPACK support... no
checking whether to use the PAPI library... no
==============================================================================
=== Plug-ins ===
==============================================================================
configure: using tarball repository /home/jghe/.abinit/tarballs
checking whether to enable the FOX plug-in... no
checking whether to build the FOX plug-in... no
checking whether to enable the NETCDF plug-in... no
checking whether to build the NETCDF plug-in... no
checking whether to enable the ETSF_IO plug-in... no
checking whether to build the ETSF_IO plug-in... no
checking whether to enable the ETSF_IO_TEST plug-in... no
checking whether to build the ETSF_IO_TEST plug-in... no
checking whether to enable the LIBXC plug-in... no
checking whether to build the LIBXC plug-in... no
checking whether to enable the BIGDFT plug-in... no
checking whether to build the BIGDFT plug-in... no
checking whether to enable the WANNIER90 plug-in... no
checking whether to build the WANNIER90 plug-in... no
==============================================================================
=== Nightly builds ===
==============================================================================
checking whether to build Nightly code... no
==============================================================================
=== Experimental developments ===
==============================================================================
checking whether to enable bindings... no
checking whether to use C clock for timings... no
checking whether to enable error handlers... no
checking whether to build exports... no
checking whether to enable GW double-precision calculations... no
checking whether to test abirules...
checking whether to use macroave... yes
checking whether to read input from stdin... yes
==============================================================================
=== Output ===
==============================================================================
configure: creating ./config.status
config.status: creating config.mk
config.status: creating config.dump
config.status: creating config.pc
config.status: creating config.py
config.status: creating config.sh
config.status: creating config/wrappers/wrap-fc
config.status: creating src/incs/Makefile
config.status: creating src/mods/Makefile
config.status: creating src/16_hideleave/m_build_info.F90
config.status: creating src/98_main/abinis
config.status: creating src/98_main/abinip
config.status: creating tests/tests.env
config.status: creating tests/tests-install.env
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/01_gsl_ext/Makefile
config.status: creating src/01_interfaces_ext/Makefile
config.status: creating src/01_macroavnew_ext/Makefile
config.status: creating src/10_defs/Makefile
config.status: creating src/12_hide_mpi/Makefile
config.status: creating src/14_hidewrite/Makefile
config.status: creating src/16_hideleave/Makefile
config.status: creating src/18_timing/Makefile
config.status: creating src/27_toolbox_oop/Makefile
config.status: creating src/28_numeric_noabirule/Makefile
config.status: creating src/32_contract/Makefile
config.status: creating src/32_util/Makefile
config.status: creating src/42_geometry/Makefile
config.status: creating src/42_nlstrain/Makefile
config.status: creating src/42_parser/Makefile
config.status: creating src/45_psp_parser/Makefile
config.status: creating src/47_xml/Makefile
config.status: creating src/49_gw_toolbox_oop/Makefile
config.status: creating src/50_abitypes_defs/Makefile
config.status: creating src/51_manage_cuda/Makefile
config.status: creating src/51_manage_mpi/Makefile
config.status: creating src/52_fft_mpi_noabirule/Makefile
config.status: creating src/53_abiutil/Makefile
config.status: creating src/53_ffts/Makefile
config.status: creating src/53_spacepar/Makefile
config.status: creating src/56_recipspace/Makefile
config.status: creating src/56_xc/Makefile
config.status: creating src/57_iovars/Makefile
config.status: creating src/59_io_mpi/Makefile
config.status: creating src/61_ionetcdf/Makefile
config.status: creating src/62_cg_noabirule/Makefile
config.status: creating src/62_iowfdenpot/Makefile
config.status: creating src/62_occeig/Makefile
config.status: creating src/62_poisson/Makefile
config.status: creating src/62_wvl_wfs/Makefile
config.status: creating src/63_bader/Makefile
config.status: creating src/64_atompaw/Makefile
config.status: creating src/65_nonlocal/Makefile
config.status: creating src/65_psp/Makefile
config.status: creating src/66_paw/Makefile
config.status: creating src/66_wfs/Makefile
config.status: creating src/67_common/Makefile
config.status: creating src/68_dmft/Makefile
config.status: creating src/68_gw/Makefile
config.status: creating src/68_recursion/Makefile
config.status: creating src/68_rsprc/Makefile
config.status: creating src/69_bse/Makefile
config.status: creating src/72_geomoptim/Makefile
config.status: creating src/72_response/Makefile
config.status: creating src/77_ddb/Makefile
config.status: creating src/77_lwf/Makefile
config.status: creating src/77_suscep/Makefile
config.status: creating src/79_seqpar_mpi/Makefile
config.status: creating src/83_cut3d/Makefile
config.status: creating src/93_rdm/Makefile
config.status: creating src/95_drive/Makefile
config.status: creating src/98_main/Makefile
config.status: creating src/libs/Makefile
config.status: creating tests/Nightly/Makefile
config.status: creating prereqs/Makefile
config.status: creating prereqs/linalg/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/bigdft/Makefile
config.status: creating plugins/etsf_io/Makefile
config.status: creating plugins/etsf_io_test/Makefile
config.status: creating plugins/fox/Makefile
config.status: creating plugins/libxc/Makefile
config.status: creating plugins/netcdf/Makefile
config.status: creating plugins/wannier90/Makefile
config.status: creating bindings/Makefile
config.status: creating bindings/parser/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing script-perms commands
Configuration complete.
You may now type "make" to build ABINIT.
(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>")
configure warning:
configure: WARNING: MPI runner mpirun may be incompatible with MPI compilers
configure: WARNING: MPI support is broken!
configure: WARNING: disabling MPI I/O is not recommended
$ make
error information:
Error: Symbol 'mpi_double_complex' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1283
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1283
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_null' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1343
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_null' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1347
call MPI_BCAST(xval,n1*n2*n3,MPI_DOUBLE_COMPLEX,master,spaceComm,ier)
1
Error: Symbol 'mpi_double_complex' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1343
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1405
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_null' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1409
call MPI_BCAST(xval,nch,MPI_CHARACTER,master,spaceComm,ier)
1
Error: Symbol 'mpi_character' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1408
call MPI_BCAST(nch,1,MPI_INTEGER,master,spaceComm,ier)
1
Error: Symbol 'mpi_integer' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1405
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1468
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1468
if (spaceComm /= MPI_COMM_SELF .and. spaceComm /= MPI_COMM_NULL) then
1
Error: Symbol 'mpi_comm_null' at (1) has no IMPLICIT type
In file ../../../src/12_hide_mpi/xcast_mpi.F90:1473
call MPI_BCAST(xval,nch,MPI_CHARACTER,master,spaceComm,ier)
1
Error: Symbol 'mpi_character' at (1) has no IMPLICIT type
make[4]: *** [xcast_mpi.o] Error 1
make[4]: Leaving directory `/home/jghe/Mazuju/programs/abinit-6.0.4/100715/src/12_hide_mpi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jghe/Mazuju/programs/abinit-6.0.4/100715/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jghe/Mazuju/programs/abinit-6.0.4/100715'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jghe/Mazuju/programs/abinit-6.0.4/100715'
Thanks,
Ma zj
compiling problems in Intel X86-64
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.
Re: compiling problems in Intel X86-64
Hello,
as you see in section " Connectors"
checking whether MPI is usable... no
add something like :
with_mpi_prefix="/usr/local/openmpi"
with the path of the openmpi installation...
the config will work if in section "Fortran support", you see somethink like that :
checking whether /usr/local/openmpi/bin/mpif90 accepts -g... yes
regards
jmb
as you see in section " Connectors"
checking whether MPI is usable... no
add something like :
with_mpi_prefix="/usr/local/openmpi"
with the path of the openmpi installation...
the config will work if in section "Fortran support", you see somethink like that :
checking whether /usr/local/openmpi/bin/mpif90 accepts -g... yes
regards
jmb