[overture] Re: Building v24 on Blue Gene P

  • From: Bill Henshaw <henshaw@xxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Wed, 09 May 2012 16:30:35 -0700

Joe;
  I guess that Eric's patches must have removed the compilation of
overlay.c which should not be compiled if there is no X11.

...Bill

On 05/09/2012 04:07 PM, J. P. Bernstein wrote:
Hello All,

Now a funny failure has cropped up. Upon restarting the build in order to 
verify steps taken so far, I got this failure:

mpixlc_r -w -qarch=450d -qtune=450 -qmaxmem=-1 -qpic  
-I/home/jpbernst/Code/Overture/Overture.v24-pmake/include 
-I/home/jpbernst/Code/Overture/A++P++-0.8.0/P++/install/include   -g -DSHM 
-DUSE_PPP -I. -I/include -I/home/jpbernst/Code/Mesa-7.2/include -c overlay.c
"overlay.c", line 9.10: 1506-296 (S) #include file<X11/Xlib.h>  not found.
"overlay.c", line 10.10: 1506-296 (S) #include file<X11/Xutil.h>  not found.
"overlay.c", line 11.10: 1506-296 (S) #include file<X11/Xmd.h>  not found.

I verified that it is now happening after creating a fresh Overture build 
directory from the tarball and trying a build with the following configuration 
command:

./configure bg noX11 parallel

with only the following minimal modifications to the Overture source in order 
to enable a build on BG/P:

1) Removed "-fPIC -Wno-deprecated" from PFLAGS in GridFunction/Makefile.in 
(line 115).

2) Enclosed MPI info lookup code within  "if( $machine ne "bg" ) {}".

3) Adding to configure:

if( $machine eq "bg"&&  $double ne "" )
{
   $FortranDouble = "-qautodbl=dbl4";
}

I am at a loss as to why this started. Should this not be taken care of by the 
noX11 configure option? I was not getting this build error before. My MakeDefs 
file content is appended below.

Best,

Joe




Other related posts: