Hi,
I got rid of the "-ipo -ipo_obj" flags and everything compiled just fine.
thanks for the help
Rene
On Tue, 24 May 2005, Jeff Squyres wrote:
> Wow -- we cause the Intel compiler to seg fault. Neat! ;-)
>
> What you should probably do here is simply remove the extra CXXFLAGS (-ip and
> -ipo_obj). The only things that are compiled with C++ in LAM/MPI are some of
> the top-level utilities (e.g., laminfo). None of the MPI library itself is
> compiled with C++, so if there's some kind of problem in icpc's C++ IPO
> optimizer, then just don't use it.
>
> You won't suffer any performance problems in LAM because of it (unless you
> really need laminfo to run with extremely low latency ;-) ).
>
> As an afterthought: isn't there a later version of Intel compilers these days?
> Perhaps this bug has been fixed...?
>
>
> On May 24, 2005, at 1:41 PM, Rene Salmon wrote:
>
> >
> > Hi list,
> >
> > Trying to compile lam with the intel compilers on an AMD64 Bproc cluster.
> > But I
> > run into an error message.
> >
> > Here is the setup:
> >
> > CC=/opt/intel_cce_80/bin/icc
> > CXX=/opt/intel_cce_80/bin/icpc
> > F77=/opt/intel_fce_80/bin/ifort
> > FC=/opt/intel_fce_80/bin/ifort
> > CXXFLAGS=-O3 -ipo -ipo_obj
> > CFLAGS=-O3 -ipo -ipo_obj
> > FFLAGS=-O3 -ipo -ipo_obj
> >
> >
> > config line is this:
> >
> > ./configure --prefix=/usr/local/opt/lam-7.1.1-intel
> > --with-memory-manager=none
> >
> >
> > We did the with-memory-manager=none because we think this will allow us to
> > compile mpi codes statically. With out this option lam uses ptmalloc2 which
> > complains about compiling statically. If this is not the case please let us
> > know.
> >
> > Then we type make and get this error message towards the end:
> >
> > Making all in tools
> > make[1]: Entering directory `/usr/local/src/lam-7.1.1-intel/tools'
> > Making all in hboot
> > make[2]: Entering directory `/usr/local/src/lam-7.1.1-intel/tools/hboot'
> > if /opt/intel_cce_80/bin/icc -DHAVE_CONFIG_H -I. -I. -I../../share/include
> > -DLAM_SYSCONFDIR="\"/usr/local/opt/lam-7.1.1-intel/etc\""
> > -I../../share/include -DLAM_BUILDING=1 -O3 -ipo -ipo_obj -pthread -MT
> > hboot.o -MD -MP -MF ".deps/hboot.Tpo" -c -o hboot.o hboot.c; \
> > then mv -f ".deps/hboot.Tpo" ".deps/hboot.Po"; else rm -f ".deps/hboot.Tpo";
> > exit 1; fi
> > /bin/sh ../../libtool --mode=link /opt/intel_cce_80/bin/icc -O3 -ipo
> > -ipo_obj -pthread -o hboot hboot.o ../../share/liblam/liblam.la -lutil
> > -lbproc
> > mkdir .libs
> > /opt/intel_cce_80/bin/icc -O3 -ipo -ipo_obj -o hboot hboot.o -pthread
> > ../../share/liblam/.libs/liblam.a -ldl -lutil -lbproc
> > IPO: performing single-file optimizations
> > IPO: generating object file ipo_iccg8puy.o
> > make[2]: Leaving directory `/usr/local/src/lam-7.1.1-intel/tools/hboot'
> > Making all in lamboot
> > make[2]: Entering directory `/usr/local/src/lam-7.1.1-intel/tools/lamboot'
> > if /opt/intel_cce_80/bin/icc -DHAVE_CONFIG_H -I. -I. -I../../share/include
> > -DLAM_SYSCONFDIR="\"/usr/local/opt/lam-7.1.1-intel/etc\""
> > -DBOOT_MODULES="\"bproc globus rsh slurm\"" -DRPI_MODULES="\"crtcp lamd sysv
> > tcp usysv\"" -DCOLL_MODULES="\"lam_basic shmem smp\"" -I../../share/include
> > -DLAM_BUILDING=1 -O3 -ipo -ipo_obj -pthread -MT lamboot.o -MD -MP -MF
> > ".deps/lamboot.Tpo" -c -o lamboot.o lamboot.c; \
> > then mv -f ".deps/lamboot.Tpo" ".deps/lamboot.Po"; else rm -f
> > ".deps/lamboot.Tpo"; exit 1; fi
> > /bin/sh ../../libtool --mode=link /opt/intel_cce_80/bin/icc -O3 -ipo
> > -ipo_obj -pthread -o lamboot lamboot.o ../../share/liblam/liblam.la
> > -lutil -lbproc
> > mkdir .libs
> > /opt/intel_cce_80/bin/icc -O3 -ipo -ipo_obj -o lamboot lamboot.o -pthread
> > ../../share/liblam/.libs/liblam.a -ldl -lutil -lbproc
> > IPO: performing single-file optimizations
> > IPO: generating assembly file (null)
> > make[2]: Leaving directory `/usr/local/src/lam-7.1.1-intel/tools/lamboot'
> > Making all in laminfo
> > make[2]: Entering directory `/usr/local/src/lam-7.1.1-intel/tools/laminfo'
> > if /opt/intel_cce_80/bin/icpc -DHAVE_CONFIG_H -I. -I. -I../../share/include
> > -DLAM_PREFIX="\"/usr/local/opt/lam-7.1.1-intel\""
> > -DLAM_BINDIR="\"/usr/local/opt/lam-7.1.1-intel/bin\""
> > -DLAM_LIBDIR="\"/usr/local/opt/lam-7.1.1-intel/lib\""
> > -DLAM_INCDIR="\"/usr/local/opt/lam-7.1.1-intel/include\""
> > -DLAM_PKGLIBDIR="\"/usr/local/opt/lam-7.1.1-intel/lib/lam\""
> > -DLAM_SYSCONFDIR="\"/usr/local/opt/lam-7.1.1-intel/etc\""
> > -I../../share/include -DLAM_BUILDING=1 -O3 -ipo -ipo_obj -pthread -MT
> > laminfo.o -MD -MP -MF ".deps/laminfo.Tpo" -c -o laminfo.o laminfo.cc; \
> > then mv -f ".deps/laminfo.Tpo" ".deps/laminfo.Po"; else rm -f
> > ".deps/laminfo.Tpo"; exit 1; fi
> > /bin/sh ../../libtool --mode=link /opt/intel_cce_80/bin/icpc -O3 -ipo
> > -ipo_obj -pthread -o laminfo laminfo.o ../../share/libmpi/libmpi.la
> > ../../share/liblam/liblam.la -lutil -lbproc
> > mkdir .libs
> > /opt/intel_cce_80/bin/icpc -O3 -ipo -ipo_obj -o laminfo laminfo.o -pthread
> > ../../share/libmpi/.libs/libmpi.a ../../share/liblam/.libs/liblam.a -ldl
> > -lutil -lbproc
> > IPO: performing single-file optimizations
> > IPO: generating assembly file (null)
> > icpc: error: Fatal error in /opt/intel_cce_80/bin/mcpcom, terminated by
> > segmentation violation
> > icpc: error: problem during multi-file optimization compilation (code 1)
> > make[2]: *** [laminfo] Error 1
> > make[2]: Leaving directory `/usr/local/src/lam-7.1.1-intel/tools/laminfo'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/lam-7.1.1-intel/tools'
> > make: *** [all-recursive] Error 1
> >
> >
> >
> >
> > Any ideas as to what the problem might be? Thank you in advance for any
> > help on this.
> >
> > Rene
> >
> >
> > -
> > --
> > Rene Salmon
> > Tulane University
> > Center for Computational Science
> > Richardson Building 310
> > New Orleans, LA 70118
> > http://www.ccs.tulane.edu
> > Tel 504-862-8393
> > Fax 504-862-8392
> >
> > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
> >
>
> --
> {+} Jeff Squyres
> {+} jsquyres_at_[hidden]
> {+} http://www.lam-mpi.org/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|