AMBER Archive (2008)

Subject: AMBER: Problems compiling leap on Altix Cluster

From: John Finke (finke_at_oakland.edu)
Date: Mon Nov 03 2008 - 14:51:54 CST


I have been having trouble compiling the leap programs on an Altix SGI
machine. This problem does not occur on computers running RedHat 9.0.

To simplify the compiling situation, I have been attempting to compile the
leap program individually using the ifort compiler (I get the same error
when I compile the entire AMBER 9 program as well).

"cd $AMBERHOME/src/leap/src/leap"

"make clean"

"make"

The program compiles up to a point but the following error occurs and the
compilation exits before completion.

------------------------------------------------------
icc -c -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
-o xTank.o xTank.c
xTank.c(62): catastrophic error: could not open source file
"X11/IntrinsicP.h" #include <X11/IntrinsicP.h>
                                    ^

compilation aborted for xTank.c (code 4)
make: *** [xTank.o] Error 4
-------------------------------------------------------

As a quick fix, I commented out line 62 of xTank.c like so:

/* #include <X11/IntrinsicP.h> */

but then the error above still occurs but with the next X11 directory file
from line 63, <X11/StringDefs.h> instead of <X11/IntrinsicP.h>.

With the xTank.c program, files in the X11 directory are a problem for some
reason. They do not appear to be a problem with other subroutines in the
leap directory which also reference files in the X11 directory. So it is a
bit of a mystery to me.

Any suggestions on how to locate this IntrinsicP.h file, the X11 directory
to which the code is refering to, or comment out the lines which are killing
the compilation (and still allows the program to run)?

Thanks,

John Finke

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo_at_scripps.edu