Hi Joe: On 04/26/2012 01:15 PM, J. P. Bernstein wrote:
Thanks, Eric. That was the problem. I have a new failure below. But first, I got around the A++.h not found error by setting: CC_INCLUDES_FOR_DEPEND = $(Include) $(OverturePrecision) -DUSE_MESA -I$(APlusPlus)/include -I$(OpenGL)/include $(BOXLIB_DEFS) in MakeDefs.bgp (only the APlusPlus bit is relevent to this problem, I think). However, I noticed that the build had warnings about "8" and "4" compiler options. I determined that those warnings originated from the following code in the configure script: $FortranDouble = "-r8 -i4"; The warnings disappeared after adding the following to the configure script: if( $machine eq "bgp"&& $double ne "" ) { $FortranDouble = ""; }
For xlf I think you should use: # dbl4: promotes 4-byte reals to 8-bytes : real*4 -> real*8 (does not change real*8) $FortranDouble = "-qautodbl=dbl4";
Still during mpixlcc_r compilation, the build next failed with the errors below: "partitioning.C", line 204.43: 1540-0256 (S) A parameter of type "std::vector<int,std::allocator<int> > &" cannot be initialized with an expression of type "int *". "partitioning.C", line 204.43: 1540-1205 (I) The error occurred while converting to parameter 1 of "PADRE_Distribution<BaseArray,Array_Domain_Type,SerialArray_Domain_Type>::getProcessorSet(ProcessorSet&) const". Any thoughts on those? I have not been able to find the cause.
When building P++ you should use the configure option --without-PADRE, doing this should eliminate the above error I believe. ...Bill