Code: Select all
Summary of important options:
* C compiler : gnu version 4.6
* Fortran compiler: gnu version 4.6
* architecture : ( 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 (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>")
[b]When I did "make", this was the message I got:[/b]
make all-recursive
Making all in plugins
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/local/gfortran/bin/gcc -E" \
CPPFLAGS="" \
CC="/usr/local/gfortran/bin/gcc" \
CFLAGS="-g -O2 -mtune=native -march=native -mfpmath=sse " \
FCCPP="cpp " \
FC="/usr/local/gfortran/bin/gfortran" \
FCLIBS="" \
LIBS="" \
FCFLAGS="-ffree-form -g -ffree-line-length-none -O2 -mtune=native -march=native -mfpmath=sse" \
./configure \
--prefix="/Users/nikhilsivadas/Downloads/abinit-6.10.3/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... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin10.6.0
checking host system type... i386-apple-darwin10.6.0
checking for style of include used by make... GNU
checking for gcc... /usr/local/gfortran/bin/gcc
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 /usr/local/gfortran/bin/gcc accepts -g... yes
checking for /usr/local/gfortran/bin/gcc option to accept ISO C89... none needed
checking dependency style of /usr/local/gfortran/bin/gcc... 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 /usr/local/gfortran/bin/gcc... /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... rm: conftest.dSYM: is a directory
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 /usr/local/gfortran/bin/gcc object... rm: conftest.dSYM: is a directory
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... /usr/local/gfortran/bin/gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/local/gfortran/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/local/gfortran/bin/gcc option to produce PIC... -fno-common -DPIC
checking if /usr/local/gfortran/bin/gcc PIC flag -fno-common -DPIC works... yes
checking if /usr/local/gfortran/bin/gcc static flag -static works... no
checking if /usr/local/gfortran/bin/gcc supports -c -o file.o... yes
checking if /usr/local/gfortran/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/local/gfortran/bin/gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.6.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) /usr/local/gfortran/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/local/gfortran/bin/gcc accepts -g... (cached) yes
checking for /usr/local/gfortran/bin/gcc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/local/gfortran/bin/gcc... (cached) gcc3
checking whether /usr/local/gfortran/bin/gcc 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... yes
checking whether /usr/local/gfortran/bin/gfortran accepts -g... yes
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether /usr/local/gfortran/bin/gfortran 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 /usr/local/gfortran/bin/gfortran option to produce PIC... -fno-common
checking if /usr/local/gfortran/bin/gfortran PIC flag -fno-common works... yes
checking if /usr/local/gfortran/bin/gfortran static flag -static works... no
checking if /usr/local/gfortran/bin/gfortran supports -c -o file.o... yes
checking if /usr/local/gfortran/bin/gfortran supports -c -o file.o... (cached) yes
checking whether the /usr/local/gfortran/bin/gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for Fortran flag to compile .f90 files... none
configure: Using FCFLAGS="-ffree-form -g -ffree-line-length-none -O2 -mtune=native -march=native -mfpmath=sse"
checking how to get verbose linking output from /usr/local/gfortran/bin/gfortran... -v
checking for Fortran libraries of /usr/local/gfortran/bin/gfortran... -L/usr/local/gfortran/lib/gcc/i686-apple-darwin10/4.6.1 -L/usr/local/gfortran/lib/gcc/i686-apple-darwin10/4.6.1/../../.. -lgfortran -lquadmath -lm
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... rm: intsizetest.x.dSYM: is a directory
4 bytes
checking for which C type corresponds to Fortran integer... rm: ccfortranint.x.dSYM: is a directory
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 /usr/local/gfortran/bin/gfortran -ffree-form -g -ffree-line-length-none -O2 -mtune=native -march=native -mfpmath=sse -c -o libxc_la-libxc.lo `test -f 'libxc.f90' || echo './'`libxc.f90
libtool: ignoring unknown tag F77
libtool: compile: /usr/local/gfortran/bin/gfortran -ffree-form -g -ffree-line-length-none -O2 -mtune=native -march=native -mfpmath=sse -c libxc.f90 -o libxc_la-libxc.o
libxc.f90:30:
module xc_f90_ ## types_m
1
Error: Unclassifiable statement at (1)
libxc.f90:34.17:
integer, public, parameter :: xc_f90_kind = selected_real_kind(14)
1
Error: PUBLIC attribute at (1) is not allowed outside of the specification part of a module
libxc.f90:37.2:
type xc_f90_ ## pointer_t
1
Error: Unclassifiable statement at (1)
libxc.f90:38.11:
private
1
Error: PRIVATE statement at (1) is only allowed in the specification part of a module
libxc.f90:40.5:
end type xc_f90_ ## pointer_t
1
Error: Expecting END PROGRAM statement at (1)
libxc.f90:42.3:
end module xc_f90_ ## types_m
1
Error: Expecting END PROGRAM statement at (1)
libxc.f90:46:
module xc_f90_ ## lib_m
1
Error: Unclassifiable statement at (1)
libxc.f90:48.13:
use xc_f90_ ## types_m
1
Error: Syntax error in USE statement at (1)
libxc.f90:49.19:
use libxc_funcs_m
1
libxc.f90:39.30:
integer, pointer :: buffer
2
Error: USE statement at (1) cannot follow data declaration statement at (2)
libxc.f90:51.15:
implicit none
1
libxc.f90:39.30:
integer, pointer :: buffer
2
Error: IMPLICIT NONE statement at (1) cannot follow data declaration statement at (2)
libxc.f90:53.8:
public
1
Error: PUBLIC statement at (1) is only allowed in the specification part of a module
libxc.f90:95.28:
integer function xc_f90_ ## info_number(info)
1
Error: Expected formal argument list in function definition at (1)
libxc.f90:96.17:
use xc_f90_ ## types_m
1
Error: Syntax error in USE statement at (1)
libxc.f90:97.6:
type(xc_f90_ ## pointer_t), intent(in) :: info
1
Error: Unclassifiable statement at (1)
libxc.f90:98.7:
end function xc_f90_ ## info_number
1
Error: Expecting END INTERFACE statement at (1)
libxc.f90:100.28:
integer function xc_f90_ ## info_kind(info)
1
Internal Error at (1):
insert_bbt(): Duplicate key found!
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
After this "make testin_1" is not working:
echo "Running built-in test in_1"
Running built-in test in_1
cd tests ; /usr/bin/perl .././tests/Scripts/run-basic-tests.pl built-in in_1 /Users/nikhilsivadas/Downloads/abinit-6.10.3
sh: ../../../src/98_main/abinit: No such file or directory
Please advise on what to do,
Thank you