Apparent cpp problem on Mac 10.6.7 with ifort 12
Posted: 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 $
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 $