Hi John,
Did you install the X11/xorg development libraries like I suggested in my
message on Friday?
All the best
Ross
From: owner-amber.scripps.edu [mailto:owner-amber.scripps.edu] On Behalf Of
John Finke
Sent: Monday, November 03, 2008 12:52 PM
To: amber.scripps.edu
Subject: AMBER: Problems compiling leap on Altix Cluster
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.scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
to majordomo.scripps.edu
Received on Fri Dec 05 2008 - 10:34:04 PST