Thanks, Kyle.I tried that, albeit with a longer set of flags, before and got a make error.
The README that came with the Overture.v24 tar ball states:"This automatic installation process puts some restrictions upon the (human) installer. Since we use the variables $(C_COMPILER) and $(CXX_COMPILER) to create a directory name, if the user must specifies these compilers at configure time via the --with-CC and --with-CXX options, they must use only the name of the executable- no pathname, no options, etc. Compiler options are more appropriately specified using the --with-CFLAGS and --with-CXXFLAGS configure options."
I had so thought the make error was due to the merging of the compiler var and the flag var. Note that I observed problems with the "make distclean" behavior that seemed to break further makes. However, I just did a distclean and re-decompressed the AP tar ball. This time, the config line you suggested below worked and the flags were passed as expected, e.g.:
mpixlcxx_r -qarch=450d -qtune=450 -o test2000_12 test2000_12.o -L/home/jpbernst/Code/Overture/A++P++-0.8.0/A++/install/lib -L../src -lApp -lApp_static -lApp -lm
The make concluded without error. Thus, it would seem that I have successfully built A++ for the BG/P back end. Therefore, it seems the make failure before was due to some corruption of the make process.
I am now working on configuring with --enable-PXX. Have a great weekend! Best, Joe On 3/2/2012 5:04 PM, Kyle K. Chand wrote:
Joe,I seem to recall this CFLAGS issue with the A++ configure, which is why the Mac install instructions probably have you pass the compiler arguments via the --with-CC and --with-CXX options.Try this:./configure --with-CC="mpixlc_r -qarch=450d -qtune=450" --with-CXX="mpixlcxx_r -qarch=450d -qtune=450" --prefix=`pwd`regards, Kyle mailto: chand1@xxxxxxxx <mailto:chand1@xxxxxxxx> phoneto: (925) 422 7740 On Mar 2, 2012, at 2:23 PM, J. P. Bernstein wrote:Hello, I am trying to build Overture.v24 on Blue Gene P (BG/P).In an attempt to add a BG/P configuration for A++, I looked for the following config file mentioned in the A++ README file:A++/config/config.optionsbut was not able to find the file or the directory mentioned in the A++ directory tree.I was able to build A++ without errors with the following configure command:./configure --with-CC=mpixlc_r --with-CFLAGS="-qarch=450d -qtune=450" --with-CXX=mpixlcxx_r --with-CXXFLAGS="-qarch=450d -qtune=450" --prefix=`pwd`However, the flags did not seem to be passed:mpixlc_r -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -c `test -f common_func.c || echo './'`common_func.cmpixlcxx_r -o resize resize.o -L/home/jpbernst/Code/Overture/A++P++-0.8.0/A++/install/lib -L../src -lApp -lApp_static -lApp -lmIs this a known issue? Returning to the BG/P config issue, I tried to hack : config/A++P++_common_autoconfig.m4 config.subin order to add a Bg/P setup without success. Is there documentation available for adding a machine config? I was not able to find any on the Overture webpage.Best, Joe Bernstein