Apparent cpp problem on Mac 10.6.7 with ifort 12

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
paulfons
Posts: 16
Joined: Tue Apr 12, 2011 10:10 am

Apparent cpp problem on Mac 10.6.7 with ifort 12

Post by paulfons » Sat May 28, 2011 5:34 am

Greetings,
I am attempting to compile abinit 6.6.3 on a Mac Pro machine using the intel 12 fortran and c compilers. I have built a version of openmpi 1.4.3 and have installed this in the /opt/openmpi directory. I used the following configure:

./configure --prefix=/opt/etsf/abinit/6.6 --with-mpi-prefix=/opt/openmpi/ --with-linalg-libs="-L/opt/intel/composerxe-2011.3.167/mkl/lib -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -mkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread" --with-linalg-flavor=mkl --enable-mpi


Note that I have modified the configure script to accept flags such as -lmkl (which is specified by the intel online flag tool for including mkl libraries among others). This is the subject for another post though and not the focus here. The summary of the config is below:


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

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

The compile fails in the libxc plugin. In the past I have managed to just skip the libxc plugin and get abinit compiled, but I would like to solve this problem. There seems to be a preprocessor problem. The compile goes fails with a cascade of errors stemming from improper preprocessing. I have included the Make output within the libxc (the first thing built after executing "make" after the configuration for reference. Any help would be gratefully received.


/Ports/abinit $make
make all-recursive
Making all in plugins
Making all in linalg
make[3]: Nothing to be done for `all'.
Making all in netcdf
make[3]: Nothing to be done for `all'.
Making all in etsf_io
make[3]: Nothing to be done for `all'.
Making all in libxc
make -f ../../plugins/libxc/libxc.mk
libxc-1.0 has been uncompressed.
touch patches-stamp
libxc-1.0 has been patched.
cd libxc-1.0 && \
CPP="/opt/openmpi//bin/mpicc -E" \
CPPFLAGS="" \
CC="/opt/openmpi//bin/mpicc" \
CFLAGS="-g -O2 -vec-report0 " \
FCCPP="cpp " \
FC="/opt/openmpi//bin/mpif90" \
FCLIBS="" \
LIBS="" \
FCFLAGS="-free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O3 -xHost" \
./configure \
--prefix="/Users/paulfons/Ports/abinit/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... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin10.7.0
checking host system type... x86_64-apple-darwin10.7.0
checking for style of include used by make... GNU
checking for gcc... /opt/openmpi//bin/mpicc
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... yes
checking whether /opt/openmpi//bin/mpicc accepts -g... yes
checking for /opt/openmpi//bin/mpicc option to accept ISO C89... none needed
checking dependency style of /opt/openmpi//bin/mpicc... gcc3
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 ld used by /opt/openmpi//bin/mpicc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
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... no
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 output from /opt/openmpi//bin/mpicc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... /opt/openmpi//bin/mpicc -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 if /opt/openmpi//bin/mpicc supports -fno-rtti -fno-exceptions... yes
checking for /opt/openmpi//bin/mpicc option to produce PIC... -fno-common -DPIC
checking if /opt/openmpi//bin/mpicc PIC flag -fno-common -DPIC works... yes
checking if /opt/openmpi//bin/mpicc static flag -static works... no
checking if /opt/openmpi//bin/mpicc supports -c -o file.o... yes
checking if /opt/openmpi//bin/mpicc supports -c -o file.o... (cached) yes
checking whether the /opt/openmpi//bin/mpicc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
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) /opt/openmpi//bin/mpicc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /opt/openmpi//bin/mpicc accepts -g... (cached) yes
checking for /opt/openmpi//bin/mpicc option to accept ISO C89... (cached) none needed
checking dependency style of /opt/openmpi//bin/mpicc... (cached) gcc3
checking whether /opt/openmpi//bin/mpicc 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*... 8
checking whether we are using the GNU Fortran compiler... no
checking whether /opt/openmpi//bin/mpif90 accepts -g... yes
checking whether we are using the GNU Fortran compiler... (cached) no
checking whether /opt/openmpi//bin/mpif90 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
checking for /opt/openmpi//bin/mpif90 option to produce PIC...
checking if /opt/openmpi//bin/mpif90 static flag works... yes
checking if /opt/openmpi//bin/mpif90 supports -c -o file.o... yes
checking if /opt/openmpi//bin/mpif90 supports -c -o file.o... (cached) yes
checking whether the /opt/openmpi//bin/mpif90 linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for Fortran flag to compile .f90 files... none
configure: Using FCFLAGS="-free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O3 -xHost"
checking how to get verbose linking output from /opt/openmpi//bin/mpif90... -v
checking for Fortran libraries of /opt/openmpi//bin/mpif90... -L/opt/openmpi/lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -lutil -L/opt/intel/Compiler/11.1/088/lib -L/opt/intel/Compiler/11.1/088/Frameworks/mkl/lib/em64t -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/ -L/usr/lib/i686-apple-darwin10/4.2.1/ -L/usr/lib/ -L/opt/intel/Compiler/11.1/088/lib/ -L/opt/intel/Compiler/11.1/088/Frameworks/mkl/lib/em64t/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. /opt/intel/Compiler/11.1/088/lib/libifcore.a /opt/intel/Compiler/11.1/088/lib/libimf.a /opt/intel/Compiler/11.1/088/lib/libsvml.a /opt/intel/Compiler/11.1/088/lib/libipgo.a -lSystemStubs -lmx /opt/intel/Compiler/11.1/088/lib/libirc.a -lpthread -ldl
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, 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... yes
checking fortran 90 modules extension... mod
checking for the size of a Fortran integer... 4 bytes
checking for which C type corresponds to Fortran integer... int
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating testsuite/Makefile
config.status: creating build/Makefile
config.status: creating build/libxc.pc
config.status: creating build/libxc.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
touch configure-stamp
libxc-1.0 has been configured.
rm -f libxc-1.0/src/libxc.f90
cd libxc-1.0/src && make libxc.f90 \
AM_CPPFLAGS="-P -std=c99"
cpp -P -std=c99 ./libxc_master.F90 > ../src/libxc.f90
cd libxc-1.0 && make
make all-recursive
Making all in build
make[7]: Nothing to be done for `all'.
Making all in src
make all-am
/bin/sh ../libtool --tag=FC --tag=F77 --mode=compile /opt/openmpi//bin/mpif90 -free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O3 -xHost -c -o libxc_la-libxc.lo `test -f 'libxc.f90' || echo './'`libxc.f90
libtool: ignoring unknown tag F77
libtool: compile: /opt/openmpi//bin/mpif90 -free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O3 -xHost -c libxc.f90 -o libxc_la-libxc.o
libxc.f90(30): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## types_m
---------------^
libxc.f90(30): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## types_m
----------------^
libxc.f90(30): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: <END-OF-STATEMENT> ;
module xc_f90_ ## types_m
------------------^
libxc.f90(37): error #5078: Unrecognized token '#' skipped
type xc_f90_ ## pointer_t
---------------^
libxc.f90(37): error #5078: Unrecognized token '#' skipped
type xc_f90_ ## pointer_t
----------------^
libxc.f90(37): error #5082: Syntax error, found IDENTIFIER 'POINTER_T' when expecting one of: ( * , <END-OF-STATEMENT> ; + . - % . ** / //
type xc_f90_ ## pointer_t
------------------^
libxc.f90(40): error #5078: Unrecognized token '#' skipped
end type xc_f90_ ## pointer_t
-------------------^
libxc.f90(40): error #5078: Unrecognized token '#' skipped
end type xc_f90_ ## pointer_t
--------------------^
libxc.f90(40): error #5082: Syntax error, found IDENTIFIER 'POINTER_T' when expecting one of: <END-OF-STATEMENT> ;
end type xc_f90_ ## pointer_t
----------------------^
libxc.f90(42): error #5078: Unrecognized token '#' skipped
end module xc_f90_ ## types_m
-------------------^
libxc.f90(42): error #5078: Unrecognized token '#' skipped
end module xc_f90_ ## types_m
--------------------^
libxc.f90(42): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: <END-OF-FILE> <END-OF-STATEMENT> ;
end module xc_f90_ ## types_m
----------------------^
libxc.f90(46): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## lib_m
---------------^
libxc.f90(46): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## lib_m
----------------^
libxc.f90(37): error #8040: Invalid type-name in a derived type definition.
type xc_f90_ ## pointer_t
------------------^
libxc.f90(38): error #7811: Error with derived type symbol whose definition contains a PRIVATE statement.
private
^
libxc.f90(40): error #6463: This is not a derived type name. [XC_F90_]
end type xc_f90_ ## pointer_t
-----------^
libxc.f90(46): error #5082: Syntax error, found IDENTIFIER 'LIB_M' when expecting one of: <END-OF-STATEMENT> ;
module xc_f90_ ## lib_m
------------------^
libxc.f90(48): error #5078: Unrecognized token '#' skipped
use xc_f90_ ## types_m
--------------^
libxc.f90(48): error #5078: Unrecognized token '#' skipped
use xc_f90_ ## types_m
---------------^
libxc.f90(48): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: , <END-OF-STATEMENT> ;
use xc_f90_ ## types_m
-----------------^
libxc.f90(95): error #5078: Unrecognized token '#' skipped
integer function xc_f90_ ## info_number(info)
-----------------------------^
libxc.f90(95): error #5078: Unrecognized token '#' skipped
integer function xc_f90_ ## info_number(info)
------------------------------^
libxc.f90(96): error #5078: Unrecognized token '#' skipped
use xc_f90_ ## types_m
------------------^
libxc.f90(96): error #5078: Unrecognized token '#' skipped
use xc_f90_ ## types_m
-------------------^
libxc.f90(96): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: , <END-OF-STATEMENT> ;
use xc_f90_ ## types_m
---------------------^
libxc.f90(97): error #5078: Unrecognized token '#' skipped
type(xc_f90_ ## pointer_t), intent(in) :: info
-------------------^
libxc.f90(97): error #5078: Unrecognized token '#' skipped
type(xc_f90_ ## pointer_t), intent(in) :: info
--------------------^
libxc.f90(97): error #5082: Syntax error, found IDENTIFIER 'POINTER_T' when expecting one of: ( * ) + . - % . ** / //
type(xc_f90_ ## pointer_t), intent(in) :: info
----------------------^
libxc.f90(98): error #5078: Unrecognized token '#' skipped
end function xc_f90_ ## info_number
-------------------------^
(99): catastrophic error: Too many errors, exiting
compilation aborted for libxc.f90 (code 1)
make[8]: *** [libxc_la-libxc.lo] Error 1
make[7]: *** [all] Error 2
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [build-stamp] Error 2
make[3]: *** [package-ready] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
~/Ports/abinit $

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

Re: Apparent cpp problem on Mac 10.6.7 with ifort 12

Post by pouillon » Tue May 31, 2011 4:37 pm

This problem is indeed related to a non-standard configuration on Mac systems. Please see this topic: viewtopic.php?f=2&t=1067

You may also work this around by editing the "CPP" line of config.mk, replacing whatever there is by the path to a true C preprocessor - the GNU one if possible.

Another solution would be to build LibXC separately and have it used by the build system of Abinit. See ~abinit/config/build-config.ac for details about the latter.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

paulfons
Posts: 16
Joined: Tue Apr 12, 2011 10:10 am

Re: Apparent cpp problem on Mac 10.6.7 with ifort 12

Post by paulfons » Wed Jun 01, 2011 4:41 am

Thank you for your response. I had in fact search the archives fairly carefully for similar problems and had already run across that post. Setting environment variables for FCCPP and CPP do not change the problem, although they do end up being correctly passed to the libxc build make. Note that my (two macs, a mac pro and a macbook pro both running the latest system 10.6.7 with the Apple development installation of the gcc tools) both have a /usr/bin/cpp which from what I gather is in the right place. I would be willing to build libxc separately, but it would be nice to figure out what is going wrong so it can be built without error in the future. The rest of abinit has compiled without problem up to now (excluding libxc). Here is the attempt starting from the initial configure.

Code: Select all

~/Ports/abinit $export CPP=/usr/bin/cpp
~/Ports/abinit $./configure --prefix=/opt/etsf/abinit/6.6 --with-mpi-prefix=/opt/openmpi/ --with-linalg-libs="-L/opt/intel/composerxe-2011.3.167/mkl/lib -lmkl_blas95_lp64 -lmkl_lapack95_lp64  -mkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread --with-linalg-flavor=mkl" --enable-mpi --enable-64bit_flags=yes

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

checking build system type... i386-apple-darwin10.7.0
checking host system type... i386-apple-darwin10.7.0
checking target system type... i386-apple-darwin10.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/gnu/install-sh -c -d
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: fixing wrong path to mkdir replacement
configure: not loading options (no config file available)

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

configure: ABINIT version 6.6.3
configure: M4 010414 - Autoconf 026500 - Automake 011100 - Libtool 020204
configure: reporting user interface changes:
configure:  * --enable-all-plugins removed
configure:  * --enable-atompaw removed
configure:    === please use --with-dft-flavor instead ===
configure:  * --enable-bigdft removed
configure:    === please use --with-dft-flavor instead ===
configure:  * new option --enable-connectors is available
configure:  * --enable-dft removed
configure:    === please use --with-dft-flavor instead ===
configure:  * --enable-etsf-io removed
configure:    === please use --with-trio-flavor instead ===
configure:  * new option --enable-fallbacks is available
configure:  * --enable-fft removed
configure:    === please use --with-fft-flavor instead ===
configure:  * --enable-fox removed
configure:    === please use --with-trio-flavor instead ===
configure:  * --enable-libxc removed
configure:    === please use --with-dft-flavor instead ===
configure:  * --enable-linalg removed
configure:    === please use --with-linalg-flavor instead ===
configure:  * --enable-math removed
configure:    === please use --with-math-flavor instead ===
configure:  * --enable-mpi-io-test removed
configure:  * --enable-netcdf removed
configure:    === please use --with-trio-flavor instead ===
configure:  * new option --enable-pkg-check is available
configure:  * --enable-scalapack removed
configure:    === please use --with-linalg-flavor instead ===
configure:  * --enable-timer removed
configure:    === please use --with-timer-flavor instead ===
configure:  * --enable-trio removed
configure:    === please use --with-trio-flavor instead ===
configure:  * --enable-wannier90 removed
configure:    === please use --with-dft-flavor instead ===
configure:  * new option --with-atompaw-bins is available
configure:  * --with-atompaw-includes renamed --with-atompaw-incs
configure:  * --with-bigdft-includes renamed --with-bigdft-incs
configure:  * --with-dft-incs removed
configure:  * --with-dft-libs removed
configure:  * --with-etsf-io-includes renamed --with-etsf-io-incs
configure:  * --with-plugins-tardir renamed --with-fallbacks-tardir
configure:  * --with-fox-includes renamed --with-fox-incs
configure:  * --with-gpu-includes renamed --with-gpu-incs
configure:  * --with-libxc-includes renamed --with-libxc-incs
configure:  * --with-linalg-includes renamed --with-linalg-incs
configure:  * --with-mpi-includes renamed --with-mpi-incs
configure:  * --with-netcdf-includes renamed --with-netcdf-incs
configure:  * --with-plugins-prefix removed
configure:  * --with-timer-includes renamed --with-timer-incs
configure:  * --with-trio-incs removed
configure:  * --with-trio-libs removed
configure:  * --with-wannier90 renamed --with-wannier90-bins
configure:  * --with-wannier90-includes renamed --with-wannier90-incs

 ==============================================================================
 === 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: Initializing MPI support
configure: looking for MPI in /opt/openmpi/
configure: WARNING: /usr/bin/cpp might not be fully compatible with MPI
checking for a MPI C compiler... /opt/openmpi//bin/mpicc
checking for a MPI C++ compiler... /opt/openmpi//bin/mpicxx
checking for a MPI Fortran compiler... /opt/openmpi//bin/mpif90
checking for a MPI runner... /opt/openmpi//bin/mpirun
configure: GPU support disabled from command-line

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

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

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

checking for gcc... /opt/openmpi//bin/mpicc
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... yes
checking whether /opt/openmpi//bin/mpicc accepts -g... yes
checking for /opt/openmpi//bin/mpicc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /opt/openmpi//bin/mpicc... gcc3
checking how to run the C preprocessor... /usr/bin/cpp
checking which type of compiler we have... intel 12.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... no

 ==============================================================================
 === C++ support                                                            ===
 ==============================================================================

checking whether we are using the GNU C++ compiler... yes
checking whether /opt/openmpi//bin/mpicxx accepts -g... yes
checking dependency style of /opt/openmpi//bin/mpicxx... gcc3
checking which type of C++ compiler we have... intel 12.0

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

checking whether we are using the GNU Fortran compiler... no
checking whether /opt/openmpi//bin/mpif90 accepts -g... yes
checking which type of Fortran compiler we have... intel 12.0
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... yes
checking how to get verbose linking output from /opt/openmpi//bin/mpif90... -v
checking for Fortran libraries of /opt/openmpi//bin/mpif90...  -L/opt/openmpi/lib -L/opt/intel/composerxe-2011.3.167/compiler/lib -L/opt/intel/composerxe-2011.1.122/ipp/../compiler/lib -L/opt/intel/composerxe-2011.1.122/ipp/lib -L/opt/intel/composerxe-2011.3.167/mkl/lib -L/opt/intel/composerxe-2011.1.122/tbb/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/ -L/usr/lib/i686-apple-darwin10/4.2.1/ -L/usr/lib/ -L/opt/intel/composerxe-2011.3.167/compiler/lib/ -L/opt/intel/composerxe-2011.1.122/ipp/../compiler/lib/ -L/opt/intel/composerxe-2011.1.122/ipp/lib/ -L/opt/intel/composerxe-2011.3.167/mkl/lib/ -L/opt/intel/composerxe-2011.1.122/tbb/lib/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -lutil /opt/intel/composerxe-2011.3.167/compiler/lib/libifport.a /opt/intel/composerxe-2011.3.167/compiler/lib/libifcore.a /opt/intel/composerxe-2011.3.167/compiler/lib/libimf.a /opt/intel/composerxe-2011.3.167/compiler/lib/libsvml.a /opt/intel/composerxe-2011.3.167/compiler/lib/libipgo.a -lSystemStubs -lmx /opt/intel/composerxe-2011.3.167/compiler/lib/libirc.a -lpthread -ldl
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 CPPFLAGS... -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
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... intel/default/default
checking which xpp hints to apply... none/none/none
checking which cxx hints to apply... intel/default/default
checking which fpp hints to apply... default/default/default
checking which fc hints to apply... intel/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... intel/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... intel/default/default
checking which cxx optimizations to apply... intel/default/default
checking which fc optimizations to apply... intel/default/default
checking whether to apply per-directory optimizations... yes

 ==============================================================================
 === 64-bit support                                                         ===
 ==============================================================================

checking for a 64-bit architecture...
checking whether to use 64-bit flags... yes
checking for user-defined 64-bit flags...
checking for 64-bit C preprocessor flags... none
checking for 64-bit C flags... none
checking for 64-bit C++ flags... none
checking for 64-bit Fortran flags... none
checking for 64-bit archiver flags... none

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

configure: WARNING: apple is not able to handle full link information
configure: WARNING: static builds will fail

 ==============================================================================
 === 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... no
configure: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: stdio.h: proceeding with the compiler's result
checking for stdio.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
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... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking for abort... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
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... 8
checking size of ptrdiff_t... 8
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_()... no
checking whether the Fortran compiler accepts gamma()... yes
checking whether the Fortran compiler accepts getenv()... no
checking whether the Fortran compiler accepts getpid()... no
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... no
checking whether the Fortran compiler accepts etime()... no
checking whether to use C clock for timings... no

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

checking whether the C compiler supports MPI... yes
checking whether the C++ compiler supports MPI... yes
checking whether the Fortran Compiler supports MPI... yes
checking whether MPI is usable... yes
configure: enabling MPI I/O support
checking whether to build MPI code... yes
checking whether to build MPI I/O code... yes
checking whether to build MPI time tracing code... no
checking which level of MPI is supported by the Fortran compiler... 2
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
configure: WARNING: setting linear algebra flavor to 'custom'
checking for the requested linear algebra support... custom
checking for BLAS support in specified libraries... no
checking for LAPACK support in specified libraries... no
checking for BLACS support in specified libraries... no
checking for ScaLAPACK support in specified libraries... 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 /Users/paulfons/.abinit/tarballs
checking for a source tarball of LINALG... yes
checking for md5sum... md5sum
configure: tarball MD5 check succeeded
configure: applying LINALG tricks (vendor: intel, version: 12.0)
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: intel, version: 12.0)
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: intel, version: 12.0)
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: intel, version: 12.0)
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: intel, version: 12.0)
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: intel, version: 12.0)
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 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

 ==============================================================================
 === 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/01_qespresso_ext/Makefile
config.status: creating src/02_clib/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/15_gpu_toolbox/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_geomoptim/Makefile
config.status: creating src/42_nlstrain/Makefile
config.status: creating src/42_parser/Makefile
config.status: creating src/43_ptgroups/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_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

        +--------------------------------------------------------------+
        | About the Intel Fortran compiler                             |
        +--------------------------------------------------------------+
        | Your compiler will work properly only if the LD_LIBRARY_PATH |
        | and INTEL_LICENSE_FILE environment variables are correctly   |
        | set-up. Please make sure that this is the case before        |
        | building ABINIT.                                             |
        |                                                              |
        | In most cases it means sourcing a script in the Intel        |
        | compiler install directory, e.g.:                            |
        |                                                              |
        | . /opt/intel/fc/9.1/bin/ifortvars.sh                         |
        |                                                              |
        | for a Bourne-like shell (do not forget the leading dot), or  |
        |                                                              |
        | source /opt/intel/fc/9.1/bin/ifortvars.csh                   |
        |                                                              |
        | for a C-like shell.                                          |
        |                                                              |
        | If you do not know what this is all about, please refer to   |
        | the Intel documentation or ask your system administrator.    |
        |                                                              |
        | Please note that the same holds for the Intel C and C++      |
        | compilers.                                                   |
        +--------------------------------------------------------------+


Summary of important options:

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

  * TRIO   flavor = netcdf-fallback+etsf_io-fallback
  * TIMER  flavor = abinit (libs: ignored)
  * LINALG flavor = netlib-fallback (libs: auto-detected)
  * 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>")






~/Ports/abinit $make
make  all-recursive
Making all in plugins
Making all in linalg
make[3]: Nothing to be done for `all'.
Making all in netcdf
make[3]: Nothing to be done for `all'.
Making all in etsf_io
make[3]: Nothing to be done for `all'.
Making all in libxc
make -f ../../plugins/libxc/libxc.mk
libxc-1.0 has been uncompressed.
touch patches-stamp
libxc-1.0 has been patched.
cd libxc-1.0 && \
    CPP="/usr/bin/cpp" \
    CPPFLAGS="" \
    CC="/opt/openmpi//bin/mpicc" \
    CFLAGS="-g -O2 -vec-report0 " \
    FCCPP="cpp " \
    FC="/opt/openmpi//bin/mpif90" \
    FCLIBS="" \
    LIBS="" \
    FCFLAGS="-free -g -extend-source -vec-report0 -noaltparam -nofpscomp  -O3 -xHost" \
    ./configure \
     --prefix="/Users/paulfons/Ports/abinit/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... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin10.7.0
checking host system type... x86_64-apple-darwin10.7.0
checking for style of include used by make... GNU
checking for gcc... /opt/openmpi//bin/mpicc
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... yes
checking whether /opt/openmpi//bin/mpicc accepts -g... yes
checking for /opt/openmpi//bin/mpicc option to accept ISO C89... none needed
checking dependency style of /opt/openmpi//bin/mpicc... gcc3
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 ld used by /opt/openmpi//bin/mpicc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
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... no
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 output from /opt/openmpi//bin/mpicc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... otool64
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... /usr/bin/cpp
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 if /opt/openmpi//bin/mpicc supports -fno-rtti -fno-exceptions... yes
checking for /opt/openmpi//bin/mpicc option to produce PIC... -fno-common -DPIC
checking if /opt/openmpi//bin/mpicc PIC flag -fno-common -DPIC works... yes
checking if /opt/openmpi//bin/mpicc static flag -static works... no
checking if /opt/openmpi//bin/mpicc supports -c -o file.o... yes
checking if /opt/openmpi//bin/mpicc supports -c -o file.o... (cached) yes
checking whether the /opt/openmpi//bin/mpicc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
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) /opt/openmpi//bin/mpicc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /opt/openmpi//bin/mpicc accepts -g... (cached) yes
checking for /opt/openmpi//bin/mpicc option to accept ISO C89... (cached) none needed
checking dependency style of /opt/openmpi//bin/mpicc... (cached) gcc3
checking whether /opt/openmpi//bin/mpicc 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*... 8
checking whether we are using the GNU Fortran compiler... no
checking whether /opt/openmpi//bin/mpif90 accepts -g... yes
checking whether we are using the GNU Fortran compiler... (cached) no
checking whether /opt/openmpi//bin/mpif90 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
checking for /opt/openmpi//bin/mpif90 option to produce PIC...
checking if /opt/openmpi//bin/mpif90 static flag  works... yes
checking if /opt/openmpi//bin/mpif90 supports -c -o file.o... yes
checking if /opt/openmpi//bin/mpif90 supports -c -o file.o... (cached) yes
checking whether the /opt/openmpi//bin/mpif90 linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for Fortran flag to compile .f90 files... none
configure: Using FCFLAGS="-free -g -extend-source -vec-report0 -noaltparam -nofpscomp  -O3 -xHost"
checking how to get verbose linking output from /opt/openmpi//bin/mpif90... -v
checking for Fortran libraries of /opt/openmpi//bin/mpif90...  -L/opt/openmpi/lib -L/opt/intel/composerxe-2011.3.167/compiler/lib -L/opt/intel/composerxe-2011.1.122/ipp/../compiler/lib -L/opt/intel/composerxe-2011.1.122/ipp/lib -L/opt/intel/composerxe-2011.3.167/mkl/lib -L/opt/intel/composerxe-2011.1.122/tbb/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/ -L/usr/lib/i686-apple-darwin10/4.2.1/ -L/usr/lib/ -L/opt/intel/composerxe-2011.3.167/compiler/lib/ -L/opt/intel/composerxe-2011.1.122/ipp/../compiler/lib/ -L/opt/intel/composerxe-2011.1.122/ipp/lib/ -L/opt/intel/composerxe-2011.3.167/mkl/lib/ -L/opt/intel/composerxe-2011.1.122/tbb/lib/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1/ -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -lutil /opt/intel/composerxe-2011.3.167/compiler/lib/libifcore.a /opt/intel/composerxe-2011.3.167/compiler/lib/libimf.a /opt/intel/composerxe-2011.3.167/compiler/lib/libsvml.a /opt/intel/composerxe-2011.3.167/compiler/lib/libipgo.a -lSystemStubs -lmx /opt/intel/composerxe-2011.3.167/compiler/lib/libirc.a -lpthread -ldl
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, 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... yes
checking fortran 90 modules extension... mod
checking for the size of a Fortran integer... 4 bytes
checking for which C type corresponds to Fortran integer... int
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating testsuite/Makefile
config.status: creating build/Makefile
config.status: creating build/libxc.pc
config.status: creating build/libxc.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
touch configure-stamp
libxc-1.0 has been configured.
rm -f libxc-1.0/src/libxc.f90
cd libxc-1.0/src && make libxc.f90 \
    AM_CPPFLAGS="-P -std=c99"
cpp   -P -std=c99 ./libxc_master.F90 > ../src/libxc.f90
cd libxc-1.0 && make
make  all-recursive
Making all in build
make[7]: Nothing to be done for `all'.
Making all in src
make  all-am
/bin/sh ../libtool  --tag=FC --tag=F77  --mode=compile /opt/openmpi//bin/mpif90  -free -g -extend-source -vec-report0 -noaltparam -nofpscomp  -O3 -xHost -c -o libxc_la-libxc.lo  `test -f 'libxc.f90' || echo './'`libxc.f90
libtool: ignoring unknown tag F77
libtool: compile:  /opt/openmpi//bin/mpif90 -free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O3 -xHost -c libxc.f90 -o libxc_la-libxc.o
libxc.f90(30): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## types_m
---------------^
libxc.f90(30): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## types_m
----------------^
libxc.f90(30): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: <END-OF-STATEMENT> ;
module xc_f90_ ## types_m
------------------^
libxc.f90(37): error #5078: Unrecognized token '#' skipped
  type xc_f90_ ## pointer_t
---------------^
libxc.f90(37): error #5078: Unrecognized token '#' skipped
  type xc_f90_ ## pointer_t
----------------^
libxc.f90(37): error #5082: Syntax error, found IDENTIFIER 'POINTER_T' when expecting one of: ( * , <END-OF-STATEMENT> ; . % + - [ . ** / //
  type xc_f90_ ## pointer_t
------------------^
libxc.f90(40): error #5078: Unrecognized token '#' skipped
  end type xc_f90_ ## pointer_t
-------------------^
libxc.f90(40): error #5078: Unrecognized token '#' skipped
  end type xc_f90_ ## pointer_t
--------------------^
libxc.f90(40): error #5082: Syntax error, found IDENTIFIER 'POINTER_T' when expecting one of: <END-OF-STATEMENT> ;
  end type xc_f90_ ## pointer_t
----------------------^
libxc.f90(42): error #5078: Unrecognized token '#' skipped
end module xc_f90_ ## types_m
-------------------^
libxc.f90(42): error #5078: Unrecognized token '#' skipped
end module xc_f90_ ## types_m
--------------------^
libxc.f90(42): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: <END-OF-STATEMENT> ; <END-OF-FILE>
end module xc_f90_ ## types_m
----------------------^
libxc.f90(46): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## lib_m
---------------^
libxc.f90(46): error #5078: Unrecognized token '#' skipped
module xc_f90_ ## lib_m
----------------^
libxc.f90(37): error #8040: Invalid type-name in a derived type definition.
  type xc_f90_ ## pointer_t
------------------^
libxc.f90(38): error #7811: Error with derived type symbol whose definition contains a PRIVATE statement.
    private
^
libxc.f90(40): error #6463: This is not a derived type name.   [XC_F90_]
  end type xc_f90_ ## pointer_t
-----------^
libxc.f90(46): error #5082: Syntax error, found IDENTIFIER 'LIB_M' when expecting one of: <END-OF-STATEMENT> ;
module xc_f90_ ## lib_m
------------------^
libxc.f90(48): error #5078: Unrecognized token '#' skipped
  use xc_f90_ ## types_m
--------------^
libxc.f90(48): error #5078: Unrecognized token '#' skipped
  use xc_f90_ ## types_m
---------------^
libxc.f90(48): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: , <END-OF-STATEMENT> ;
  use xc_f90_ ## types_m
-----------------^
libxc.f90(95): error #5078: Unrecognized token '#' skipped
    integer function xc_f90_ ## info_number(info)
-----------------------------^
libxc.f90(95): error #5078: Unrecognized token '#' skipped
    integer function xc_f90_ ## info_number(info)
------------------------------^
libxc.f90(96): error #5078: Unrecognized token '#' skipped
      use xc_f90_ ## types_m
------------------^
libxc.f90(96): error #5078: Unrecognized token '#' skipped
      use xc_f90_ ## types_m
-------------------^
libxc.f90(96): error #5082: Syntax error, found IDENTIFIER 'TYPES_M' when expecting one of: , <END-OF-STATEMENT> ;
      use xc_f90_ ## types_m
---------------------^
libxc.f90(97): error #5078: Unrecognized token '#' skipped
      type(xc_f90_ ## pointer_t), intent(in) :: info
-------------------^
libxc.f90(97): error #5078: Unrecognized token '#' skipped
      type(xc_f90_ ## pointer_t), intent(in) :: info
--------------------^
libxc.f90(97): error #5082: Syntax error, found IDENTIFIER 'POINTER_T' when expecting one of: ( * ) . % + - [ . ** / //
      type(xc_f90_ ## pointer_t), intent(in) :: info
----------------------^
libxc.f90(98): error #5078: Unrecognized token '#' skipped
    end function xc_f90_ ## info_number
-------------------------^
libxc.f90(99): catastrophic error: Too many errors, exiting
compilation aborted for libxc.f90 (code 1)
make[8]: *** [libxc_la-libxc.lo] Error 1
make[7]: *** [all] Error 2
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [build-stamp] Error 2
make[3]: *** [package-ready] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Locked