[Pw_forum] compile error on AIX 5.2 for Hitachi SR11000

Paolo Giannozzi giannozz at democritos.it
Wed Feb 25 11:58:03 CET 2009


Dr. Shu-jun Hu wrote:

> checking for dummy main to link with Fortran libraries... unknown
> configure: error: linking to Fortran libraries from C fails

I saw this on a cray xt3 a few days ago. Some supercomputers, and
some supercomputing centers, seem to exist for the sole reason to
make life hard to their users. Try first to run "autoconf" on your
machine and then "configure" again. If it doesn't work: in
configure.ac, comment (with a #) the line
AC_F77_WRAPPERS
run "autoconf" (on a machine that has a working autoconf),
then configure again, then define F77_FUNC and F77_FUNC_ in
include/c_defs.h following the instructions in
include/defs.h.README

Paolo
-- 
Paolo Giannozzi, Democritos and University of Udine, Italy


More information about the Pw_forum mailing list