LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-10-15 13:47:59


Sorry for the delay in replying to your original mail, but I don't
think that I would have guessed that /usr/local was the problem. :-)

What it sounds like is happening here is that adding
-I/usr/local/include is mucking up the xlC include path.

Can you try this -- with your working mpiCC, compile your app and
manually add -I/usr/local/include near the front. If you get the same
error as you were getting before, then this is the error.

I don't know specifically *what* would cause this to be a problem, but
we can start narrowing from there.

On Oct 15, 2004, at 1:49 AM, Joseph Hope wrote:

> After brute force testing, I managed to get LAM 7.1.1 to compile with
> xlc++ on MacOSX. The actual fix is rather suggestive of a bug.
>
> Eric's suggestion:
>
> ./configure --prefix="/usr/local/lam-7.1.1" --with-trillium
> --disable-tv --disable-tv-queue --with-memory-manager=none
> --with-rsh="/usr/bin/ssh -x" --with-fc=/opt/ibmcmp/xlf/8.1/bin/xlf
> FFLAGS='-O3 -qextname -qstrict -qarch=auto -qtune=auto -qcache=auto'
> CC=/opt/ibmcmp/vacpp/6.0/bin/xlc CFLAGS='-O3 -qstrict -qarch=auto
> -qtune=auto -qcache=auto' CXX=/opt/ibmcmp/vacpp/6.0/bin/xlc++
> CXXFLAGS='-O3 -qstrict -qarch=auto -qtune=auto -qcache=auto'
>
> works, but this does not:
>
> ./configure --with-trillium --disable-tv --disable-tv-queue
> --with-memory-manager=none --with-rsh="/usr/bin/ssh -x"
> --with-fc=/opt/ibmcmp/xlf/8.1/bin/xlf FFLAGS='-O3 -qextname -qstrict
> -qarch=auto -qtune=auto -qcache=auto' CC=/opt/ibmcmp/vacpp/6.0/bin/xlc
> CFLAGS='-O3 -qstrict -qarch=auto -qtune=auto -qcache=auto'
> CXX=/opt/ibmcmp/vacpp/6.0/bin/xlc++ CXXFLAGS='-O3 -qstrict -qarch=auto
> -qtune=auto -qcache=auto'
>
> In other words, installing into /usr/local is what caused the C++
> problem. Very strange. As a final aside, my final choice for
> optimisation flags was:
>
> ./configure --disable-tv --disable-tv-queue --with-memory-manager=none
> --with-rsh="/usr/bin/ssh -x" --without-fc CC=xlc CFLAGS='-O5 -qnoipa'
> CXX=xlc++ CXXFLAGS='-O5 -qnoipa'
>
> Joe
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/