Menu

#53 Problem compiling with libint2

mpqc2.4
open
nobody
build (4)
5
2015-01-02
2011-07-16
Mauro Sgroi
No

Dear all,
I'm compiling the code using libint2 (last version downloaded fron its web site). Configuration was successful and was done with:

configure --with-default-parallel=mpi --with-mpi-thread=single --enable-shared --with-libs='-L/opt/lib -llapack -lcblas -lf77blas -latlas -L/opt/libint-2.0/lib -lint2' --with-cc=mpicc --with-f77=mpif90 --with-cxx=mpic++ --with-cxx-optflags='-m64 -O3 -mtune=native' --with-cc-optflags='-m64 -O3 -mtune=native' --with-include='-I/opt/libint-2.0/include -I/opt/libint-2.0/include/libint2'

Making the code I obtain the error:

/bin/sh ../../../../../libtool --mode=compile mpic++ -DHAVE_CONFIG_H -D_REENTRANT -I../../../../../src/lib -I/opt/src/mpqc-3.0/include -I/opt/src/mpqc-3.0/src/lib -I/opt/src/mpqc-3.0/src/lib/chemistry/cca/server -I/opt/libint-2.0/include -I/opt/libint-2.0/include/libint2 -m64 -O3 -mtune=native -c tform.cc -o tform.lo
mpic++ -DHAVE_CONFIG_H -D_REENTRANT -I../../../../../src/lib -I/opt/src/mpqc-3.0/include -I/opt/src/mpqc-3.0/src/lib -I/opt/src/mpqc-3.0/src/lib/chemistry/cca/server -I/opt/libint-2.0/include -I/opt/libint-2.0/include/libint2 -m64 -O3 -mtune=native -c tform.cc -fPIC -DPIC -o .libs/tform.o
In file included from tform.cc:38:
../../../../../src/lib/chemistry/qc/libint2/gto.h:51: error: ‘LIBINT_MAX_AM’ was not declared in this scope
make[5]: [tform.lo] Errore 1
make[5]: uscita dalla directory "/opt/src/mpqc-3.0/src/lib/chemistry/qc/libint2"
make[4]:
[default] Errore 1
make[4]: uscita dalla directory "/opt/src/mpqc-3.0/src/lib/chemistry/qc"
make[3]: [default] Errore 1
make[3]: uscita dalla directory "/opt/src/mpqc-3.0/src/lib/chemistry"
make[2]:
[default] Errore 1
make[2]: uscita dalla directory "/opt/src/mpqc-3.0/src/lib"
make[1]: [default] Errore 1
make[1]: uscita dalla directory "/opt/src/mpqc-3.0/src"
make:
[default] Errore 1

How can I solve the problem?
Thanks a lot and best regards,
Mauro Sgroi.

Discussion

Anonymous
Anonymous

Add attachments
Cancel