Installation on Blue Gene/P

option, parallelism,...

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.
Locked
tglotch
Posts: 4
Joined: Fri Nov 12, 2010 4:03 pm

Installation on Blue Gene/P

Post by tglotch » Tue Nov 15, 2011 7:33 pm

Hello, I'm trying to install abinit-6.10.1 on a Blue Gene/P machine.

I configure with

Code: Select all

./configure FC=mpixlf90 CC=mpixlc
.
This results in the following:

Code: Select all

==============================================================================
 === Overall startup                                                        ===
 ==============================================================================

checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-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 whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
configure: not loading options (no config file available)

 ==============================================================================
 === Build-system information                                               ===
 ==============================================================================

configure: ABINIT version 6.10.1
configure: M4 010416 - Autoconf 026800 - Automake 011100 - Libtool 020204
configure: reporting user interface changes:
configure:  * new option --enable-gw-openmp is available

 ==============================================================================
 === Option consistency checking                                            ===
 ==============================================================================

configure: checking consistency of library-related options
configure:  |---> all OK
configure:
configure: checking consistency of plug-in options
configure:  |---> all OK
configure:
configure: checking consistency of experimental options
configure:  |---> all OK
configure:
configure:  |---> all OK
configure:
configure: parsing command-line options

 ==============================================================================
 === Connector startup                                                      ===
 ==============================================================================

configure: MPI support disabled from command-line
configure: GPU support disabled from command-line

 ==============================================================================
 === Utilities                                                              ===
 ==============================================================================

checking for sh... /bin/sh
checking for mv... /bin/mv
checking for perl... /usr/local/bin/perl
checking for rm... /bin/rm
checking for dvips... no
checking for dvipdf... dvipdf
checking for latex... no
checking for markdown... no
checking for patch... patch
checking for ps2pdf... ps2pdf
checking for tar... tar
checking for wget... wget
checking for curl... curl
configure: using internal version of MarkDown

 ==============================================================================
 === C support                                                              ===
 ==============================================================================

checking for mpixlc... /bgsys/drivers/ppcfloor/comm/bin/mpixlc
checking for gcc... mpixlc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether mpixlc accepts -g... yes
checking for mpixlc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mpixlc... none
checking how to run the C preprocessor... mpixlc -E
checking which type of compiler we have... ibm 9.0
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 whether byte ordering is bigendian... yes

 ==============================================================================
 === 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... ibm g++:

 ==============================================================================
 === Fortran support                                                        ===
 ==============================================================================

checking for mpixlf90... /bgsys/drivers/ppcfloor/comm/bin/mpixlf90
checking whether we are using the GNU Fortran compiler... no
checking whether mpixlf90 accepts -g... yes
checking which type of Fortran compiler we have... ibm 11.1
checking fortran 90 modules extension... mod
checking for Fortran flag to compile .F90 files... none
configure: determining Fortran module case
checking whether Fortran modules are upper-case... no
checking how to get verbose linking output from mpixlf90... -v
checking for Fortran libraries of mpixlf90...  -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/lib -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/sys/lib -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/runtime/SPI -L/opt/ibmcmp/xlsmp/bg/1.7/bglib -L/opt/ibmcmp/xlmass/bg/4.4/bglib -L/opt/ibmcmp/xlf/bg/11.1/bglib -R/opt/ibmcmp/lib/bg/bglib -L/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2 -L/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2/../../../../powerpc-bgp-linux/lib -lmpich.cnk -lopa -ldcmf.cnk -ldcmfcoll.cnk -lpthread -lSPI.cna -lrt -lxlf90 -lxlopt -lxlomp_ser -lxl -lxlfmath -ldl -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, no underscore, no extra underscore

 ==============================================================================
 === Python support                                                         ===
 ==============================================================================

checking for python... python
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 for a true C preprocessor... cpp
checking which cpp hints to apply... default/default/default
checking which cc hints to apply... ibm/default/default
checking which xpp hints to apply... none/none/none
checking which cxx hints to apply... ibm/default/default
checking which fpp hints to apply... ibm/default/default
checking which fc hints to apply... ibm/default/default
checking which ar hints to apply... none/none/none
checking which Fortran preprocessor to use...
checking which Fortran preprocessor flags to apply...
checking whether to wrap Fortran compiler calls... no

 ==============================================================================
 === Debugging                                                              ===
 ==============================================================================

checking debugging status... enabled (profile mode: basic)
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
checking which cc debug flags to apply... none/none/none
checking which cxx debug flags to apply... none/none/none
checking which fc debug flags to apply... ibm/default/default
checking whether to activate design-by-contract debugging... no

 ==============================================================================
 === Optimizations                                                          ===
 ==============================================================================

checking optimization status... enabled (profile mode: standard)
checking which cc optimizations to apply... ibm/default/ibm_powerpc64
checking which cxx optimizations to apply... ibm/default/ibm_powerpc64
checking which fc optimizations to apply... ibm/default/ibm_powerpc64
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...

 ==============================================================================
 === Build flags                                                            ===
 ==============================================================================

configure: static builds may be performed

 ==============================================================================
 === Advanced compiler features                                             ===
 ==============================================================================

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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking for abort... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of unsigned int... 4
checking size of unsigned long... 4
checking size of unsigned long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of size_t... 4
checking size of ptrdiff_t... 4
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether the Fortran compiler supports allocatable arrays in datatypes... yes
checking whether the Fortran compiler provides the iso_c_binding module... yes
checking whether the Fortran compiler accepts exit()... yes
checking whether the Fortran compiler accepts flush()... no
checking whether the Fortran compiler accepts flush_()... yes
checking whether the Fortran compiler accepts gamma()... yes
checking whether the Fortran compiler accepts getenv()... yes
checking whether the Fortran compiler accepts getpid()... yes
checking whether the Fortran compiler accepts the null() intrinsic... yes
checking whether the Fortran compiler accepts quadruple integers... no
checking whether the Fortran compiler accepts long lines... yes
checking whether the Fortran compiler supports stream IO... yes
checking whether the Fortran compiler accepts etime()... no
checking whether to use C clock for timings... no

 ==============================================================================
 === Connectors / Fallbacks                                                 ===
 ==============================================================================

checking whether MPI is usable... no
checking whether to build MPI code... no
checking whether the MPI library supports MPI_CREATE_TYPE_STRUCT... yes
checking whether to activate GPU support... no
checking for the requested transferable I/O support... netcdf+etsf_io
checking netcdf.h usability... no
checking netcdf.h presence... no
checking for netcdf.h... no
checking for library containing nc_open... no
checking for Fortran module includes... unknown
configure: WARNING: falling back to internal netcdf version
configure: WARNING: ETSF_IO requires missing NetCDF support
configure: WARNING: falling back to internal etsf_io version
checking for the actual transferable I/O support... netcdf-fallback+etsf_io-fallback
checking for the requested timer support... abinit
checking for the actual timer support... abinit
checking for the requested linear algebra support... netlib
checking for library containing zgemm... no
checking for library containing zhpev... no
checking whether we have a serial linear algebra support... no
configure: WARNING: falling back to internal linear algebra libraries
checking whether we have a parallel linear algebra support... no
checking for the actual linear algebra support... netlib-fallback
checking for the requested math support... none
checking for the actual math support... none
checking for the requested FFT support... none
checking for the actual FFT support... none
checking for the requested DFT support... atompaw+bigdft+libxc+wannier90
checking xc.h usability... no
checking xc.h presence... no
checking for xc.h... no
checking xc_funcs.h usability... no
checking xc_funcs.h presence... no
checking for xc_funcs.h... no
checking for library containing xc_func_init... no
checking for Fortran module includes... unknown
configure: WARNING: falling back to internal libxc version
configure: WARNING: AtomPAW recommends missing LibXC support
configure: WARNING: BigDFT requires missing linear algebra support
configure: WARNING: falling back to internal atompaw version
configure: WARNING: BigDFT requires missing LibXC support
configure: WARNING: BigDFT requires missing linear algebra support
configure: WARNING: falling back to internal bigdft version
configure: WARNING: wannier90 requires missing linear algebra support
configure: WARNING: falling back to internal wannier90 version
checking for the actual DFT support... libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback
configure: using former plugins as a temporary workaround
configure: fallbacks to enable => atompaw bigdft etsf_io libxc linalg netcdf wannier90
checking whether to build atompaw... yes
checking whether to build bigdft... yes
checking whether to build etsf_io... yes
checking whether to build fox... no
checking whether to build libxc... yes
checking whether to build linalg... yes
checking whether to build netcdf... yes
checking whether to build wannier90... yes
configure: using tarball repository /gpfs/home3/t/tglotch/.abinit/tarballs
checking for a source tarball of LINALG... yes
checking for md5sum... md5sum
configure: tarball MD5 check succeeded
configure: applying LINALG tricks (vendor: ibm, version: 11.1)
checking whether to enable the LINALG fallback... yes
checking whether to build the LINALG fallback... yes
checking whether to enable the FOX fallback... no
checking whether to build the FOX fallback... no
checking for a source tarball of NETCDF... yes
configure: tarball MD5 check succeeded
configure: applying NetCDF tricks (vendor: ibm, version: 11.1)
checking whether to enable the NETCDF fallback... yes
checking whether to build the NETCDF fallback... yes
checking for a source tarball of ETSF_IO... yes
configure: tarball MD5 check succeeded
configure: applying ETSF_IO tricks (vendor: ibm, version: 11.1)
checking whether to enable the ETSF_IO fallback... yes
checking whether to build the ETSF_IO fallback... yes
checking for a source tarball of LIBXC... yes
configure: tarball MD5 check succeeded
configure: applying LIBXC tricks
checking whether to enable the LIBXC fallback... yes
checking whether to build the LIBXC fallback... yes
checking for a source tarball of ATOMPAW... yes
configure: tarball MD5 check succeeded
configure: applying AtomPAW tricks (vendor: ibm, version: 11.1)
checking whether to enable the ATOMPAW fallback... yes
checking whether to build the ATOMPAW fallback... yes
checking for a source tarball of BIGDFT... yes
configure: tarball MD5 check succeeded
configure: applying BigDFT tricks (vendor: ibm, version: 11.1)
checking whether to enable the BIGDFT fallback... yes
checking whether to build the BIGDFT fallback... yes
checking for a source tarball of WANNIER90... yes
configure: tarball MD5 check succeeded
configure: applying Wannier90 tricks (vendor: ibm, version: 11.1)
checking whether to enable the WANNIER90 fallback... yes
checking whether to build the WANNIER90 fallback... yes

 ==============================================================================
 === Nightly builds                                                         ===
 ==============================================================================

checking whether to build test timeout code... no
checking timeout for automatic tests... none

 ==============================================================================
 === Experimental developments                                              ===
 ==============================================================================

checking whether to enable bindings... no
checking whether to enable BSE unpacking... no
checking whether to enable CLib... no
checking whether to build exports... no
checking whether to accelerate 'make check'... no
checking whether to enable GW cut-off... no
checking whether to enable GW double-precision calculations... no
checking whether to enable openmp in the GW... no
checking whether to enable optimal GW... no
checking whether to enable GW wrapper... no
checking whether to activate maintainer checks... no
checking whether to use macroave... yes
checking whether to reduce 'make check' for packaging... no
checking whether to read input from stdin... yes
checking whether to activate Symmetric Multi-Processing... no
checking whether to activate ZDOTC and ZDOTU workaround... no

 ==============================================================================
 === Subsystems                                                             ===
 ==============================================================================

configure: the Abinit GUI will never be built

 ==============================================================================
 === Output                                                                 ===
 ==============================================================================

configure: creating ./config.status
config.status: creating config.dump
config.status: creating config.mk
config.status: creating config.pc
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 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/02_clib/Makefile
config.status: creating src/10_defs/Makefile
config.status: creating src/11_qespresso_ext/Makefile
config.status: creating src/12_hide_mpi/Makefile
config.status: creating src/14_hidewrite/Makefile
config.status: creating src/15_gpu_toolbox/Makefile
config.status: creating src/16_hideleave/Makefile
config.status: creating src/18_memory_mpi/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/43_abitypes_defs/Makefile
config.status: creating src/43_ptgroups/Makefile
config.status: creating src/44_geomoptim/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/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_mixing/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_recursion/Makefile
config.status: creating src/68_rsprc/Makefile
config.status: creating src/69_wfdesc/Makefile
config.status: creating src/70_gw/Makefile
config.status: creating src/71_bse/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 plugins/Makefile
config.status: creating plugins/atompaw/Makefile
config.status: creating plugins/bigdft/Makefile
config.status: creating plugins/etsf_io/Makefile
config.status: creating plugins/fox/Makefile
config.status: creating plugins/libxc/Makefile
config.status: creating plugins/linalg/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 dump-optim commands
config.status: executing script-perms commands
config.status: executing long-lines commands

 ==============================================================================
 === Final remarks                                                          ===
 ==============================================================================


        +--------------------------------------------------------------+
        | About the IBM XL Fortran compiler                            |
        +--------------------------------------------------------------+
        | Your compiler has been wrapped because it is unable to       |
        | include files for preprocessing, and because its             |
        | preprocessing interface itself is highly non-standard.       |
        |                                                              |
        | Feel free to complain to your compiler vendor, asking them   |
        | to implement a standard interface for preprocessing.         |
        +--------------------------------------------------------------+


Summary of important options:

  * C compiler      : ibm version 9.0
  * Fortran compiler: ibm version 11.1
  * architecture    : ibm powerpc64 (64 bits)

  * debugging       : basic
  * optimizations   : standard

  * MPI    enabled  : no
  * MPI-IO enabled  : no
  * GPU    enabled  : no (none)

  * TRIO   flavor = netcdf-fallback+etsf_io-fallback
  * TIMER  flavor = abinit (libs: ignored)
  * LINALG flavor = netlib-fallback (libs: internal)
  * FFT    flavor = none (libs: ignored)
  * MATH   flavor = none (libs: ignored)
  * DFT    flavor = libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback

Configuration complete.
You may now type "make" to build ABINIT.
(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>")


It looks like some key components (e.g. MPI are not enabled). When I run

Code: Select all

make multi multi_nprocs=64


it returns

Code: Select all

cd plugins && make 
make[1]: Entering directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins'
Making all in linalg
make[2]: Entering directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/linalg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/linalg'
Making all in netcdf
make[2]: Entering directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/netcdf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/netcdf'
Making all in etsf_io
make[2]: Entering directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/etsf_io'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/etsf_io'
Making all in libxc
make[2]: Entering directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/libxc'
make -f ../../plugins/libxc/libxc.mk
make[3]: Entering directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/libxc'
libxc-1.0 has been uncompressed.
touch patches-stamp
libxc-1.0 has been patched.
cd libxc-1.0 && \
 CPP="mpixlc -E" \
 CPPFLAGS="" \
 CC="mpixlc" \
 CFLAGS="-g -O3 -qarch=auto -qtune=auto -qstrict -qspill=2000  " \
 FCCPP="cpp " \
 FC="mpixlf90" \
 FCLIBS="-L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/lib -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/sys/lib -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/runtime/SPI -L/opt/ibmcmp/xlsmp/bg/1.7/bglib -L/opt/ibmcmp/xlmass/bg/4.4/bglib -L/opt/ibmcmp/xlf/bg/11.1/bglib -R/opt/ibmcmp/lib/bg/bglib -L/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2 -L/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2/../../../../powerpc-bgp-linux/lib -lmpich.cnk -lopa -ldcmf.cnk -ldcmfcoll.cnk -lpthread -lSPI.cna -lrt -lxlf90 -lxlopt -lxlomp_ser -lxl -lxlfmath -ldl -lm" \
 LIBS="" \
 FCFLAGS="-qsuffix=cpp=F90:f=f90 -qfree=f90 -g -qzerosize  -O3 -qmaxmem=65536 -qspill=2000 -qarch=auto -qtune=auto -qcache=auto -qstrict -qsuppress=1520-022:1520-031" \
 ./configure \
  --prefix="/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/libxc/tmp" \
  --enable-fortran --disable-shared
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 build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... mpixlc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether mpixlc accepts -g... yes
checking for mpixlc option to accept ISO C89... none needed
checking dependency style of mpixlc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from mpixlc object... ok
checking how to run the C preprocessor... mpixlc -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 for dlfcn.h... yes
checking for objdir... .libs
checking for mpixlc option to produce PIC...  -DPIC
checking if mpixlc PIC flag  -DPIC works... yes
checking if mpixlc static flag  works... yes
checking if mpixlc supports -c -o file.o... yes
checking if mpixlc supports -c -o file.o... (cached) yes
checking whether the mpixlc linker (/usr/bin/ld -m elf32ppclinux) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) mpixlc
checking whether we are using the GNU C compiler... (cached) no
checking whether mpixlc accepts -g... (cached) yes
checking for mpixlc option to accept ISO C89... (cached) none needed
checking dependency style of mpixlc... (cached) none
checking whether mpixlc and cc understand -c and -o together... yes
checking for inline... inline
checking for ANSI C header files... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of void*... 4
checking whether we are using the GNU Fortran compiler... no
checking whether mpixlf90 accepts -g... yes
checking whether we are using the GNU Fortran compiler... (cached) no
checking whether mpixlf90 accepts -g... (cached) yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
libtool.m4: error: problem compiling FC test program
checking for mpixlf90 option to produce PIC...
checking if mpixlf90 static flag  works... no
checking if mpixlf90 supports -c -o file.o... no
checking if mpixlf90 supports -c -o file.o... (cached) no
checking whether the mpixlf90 linker (/usr/bin/ld -m elf32ppclinux) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for Fortran flag to compile .f90 files... none
configure: Using FCFLAGS="-qsuffix=cpp=F90:f=f90 -qfree=f90 -g -qzerosize  -O3 -qmaxmem=65536 -qspill=2000 -qarch=auto -qtune=auto -qcache=auto -qstrict -qsuppress=1520-022:1520-031"
checking how to get verbose linking output from mpixlf90... -v
checking for Fortran libraries of mpixlf90... -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/lib -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/sys/lib -L/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/runtime/SPI -L/opt/ibmcmp/xlsmp/bg/1.7/bglib -L/opt/ibmcmp/xlmass/bg/4.4/bglib -L/opt/ibmcmp/xlf/bg/11.1/bglib -R/opt/ibmcmp/lib/bg/bglib -L/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2 -L/bgsys/drivers/ppcfloor/gnu-linux/lib/gcc/powerpc-bgp-linux/4.1.2/../../../../powerpc-bgp-linux/lib -lmpich.cnk -lopa -ldcmf.cnk -ldcmfcoll.cnk -lpthread -lSPI.cna -lrt -lxlf90 -lxlopt -lxlomp_ser -lxl -lxlfmath -ldl -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, no underscore, no extra underscore
checking whether the compiler accepts very long lines... yes
checking whether the compiler accepts "line-number" lines cast by the preprocessor... no
checking fortran 90 modules extension... mod
checking for the size of a Fortran integer...  bytes
checking for which C type corresponds to Fortran integer... configure: error: failed to compile C program to find the C type of a Fortran integer
make[3]: *** [configure-stamp] Error 1
make[3]: Leaving directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/libxc'
make[2]: *** [package-ready] Error 2
make[2]: Leaving directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins/libxc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs/home3/t/tglotch/abinit_p/abinit-6.10.1/plugins'
make: *** [multi] Error 2


I don't know how to interpret this error. I'd appreciate any help.

Thank you!

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Installation on Blue Gene/P

Post by pouillon » Wed Nov 16, 2011 5:02 pm

You have to look for the last occurence of 'failed' in /path/to/abinit/builddir/plugins/netcdf/netcdf-4.1.1/config.log. It should tell you what's wrong with your C compiler, although in your case you might have to look somewhere else in the file.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

tglotch
Posts: 4
Joined: Fri Nov 12, 2010 4:03 pm

Re: Installation on Blue Gene/P

Post by tglotch » Thu Nov 17, 2011 4:30 pm

I went to the config.log file and I see the following in several places

Code: Select all

configure: failed program was:
| /* confdefs.h */


Once again, any help interpreting this would be very much appreciated.

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Installation on Blue Gene/P

Post by pouillon » Fri Nov 18, 2011 3:13 pm

Only the last occurence is of importance, because it is the one which caused configure to stop.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked