Hi, everyone

when I tried to install mpb in cluster by typing command CC=gcc CXX=gcc
F77=gfortran ./configure LDFLAGS="-L/home/bshao/lib/"
CFLAGS="-L/home/bshao/include/" CPPFLAGS="-I/home/bshao/include"
--prefix=/home/bshao/ --without-hdf5 BLAS_LIBS="/home/bshao/lib/libblas.a"
LAPACK_LIBS="/home/bshao/lib/liblapack.a"
--with-libctl=/home/bshao/share/libctl/ --with-mpi, it comes

configure: WARNING: ctl.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: ctl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [email protected]. ##
configure: WARNING:     ## ------------------------------------ ##
checking for ctl.h... no
configure: error: Couldn't find the libctl header.

but in fact I can find ctl.h in my /home/bshao/include.
I checked the mailing list and found somebody has the same problem, but it
seems there was no solution to it.
Please help me. Thank you in advance.

attach my config.log

configure:7978: checking for libctl dir
configure:7994: result: /home/bshao/share/libctl/
configure:8000: checking for gen-ctl-io
configure:8016: found /home/bshao/bin/gen-ctl-io
configure:8027: result: yes
configure:8045: checking for ctl_get_vector3 in -lctl
configure:8082: mpicc -o conftest -g -O2 -Wall -W -Wbad-function-cast
-Wcast-qual -Wpointer-arith -Wcast-align -pedantic -I/home/bshao/include
-pthread -L/home/bshao/lib/ conftest.c -lctl   -pthread -lguile
-lfftw_mpi   /home/bshao/lib/liblapack.a /home/bshao/lib/libblas.a -lfftw
-lm   -L/home/bshao/lib/ -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -lgfortranbegin -lgfortran -lm -lgcc_s >&5
configure:8085: $? = 0
configure:8088: test -s conftest
configure:8091: $? = 0
configure:8088: test -s conftest
configure:8091: $? = 0
configure:8103: result: yes
configure:8129: checking ctl.h usability
configure:8142: mpicc -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual
-Wpointer-arith -Wcast-align -pedantic -I/home/bshao/include   -pthread
conftest.c >&5
configure:8145: $? = 0
configure:8148: test -s conftest.o
configure:8151: $? = 0
configure:8161: result: yes
configure:8165: checking ctl.h presence
configure:8176:  -I/home/bshao/include   -pthread conftest.c
./configure: line 8177: -I/home/bshao/include: No such file or directory
configure:8182: $? = 127
configure: failed program was:
| #line 8167 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
 #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define SCALAR_COMPLEX 1
| #define HAVE_LIBM 1
| #define F77_FUNC(name,NAME) name ## _
| #define F77_FUNC_(name,NAME) name ## _
| #define HAVE_LIBFFTW 1
| #define HAVE_BLAS 1
| #define HAVE_LAPACK 1
| #define HAVE_MPI 1
| #define HAVE_LIBFFTW_MPI 1
| #define HAVE_MPI 1
| #define HAVE_SCM_MAKE_SMOB_TYPE 1
| #define HAVE_SCM_SMOB_PREDICATE 1
| #define HAVE_SCM_SMOB_DATA 1
| #define HAVE_SCM_NEWSMOB 1
| #define HAVE_LIBCTL 1
| /* end confdefs.h.  */
| #include <ctl.h>
configure:8201: result: no
configure:8207: WARNING: ctl.h: accepted by the compiler, rejected by the
preprocessor!
configure:8209: WARNING: ctl.h: proceeding with the preprocessor's result
configure:8207: WARNING: ctl.h: accepted by the compiler, rejected by the
preprocessor!
configure:8209: WARNING: ctl.h: proceeding with the preprocessor's result
configure:8237: checking for ctl.h
configure:8244: result: no
configure:8251: error: Couldn't find the libctl header.


-- 
Bin Shao
College of Information Technical Science, Nankai University
94 Weijin Rd. Nankai Dist. Tianjin 300071, China
Email: [email protected]
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to