You can always disable vampir trace in OMPI:

    ./configure --enable-contrib-no-build=vt

That will avoid building this optional component and therefore you won't run 
into this compiler issue.


On Aug 27, 2010, at 5:18 PM, Larry Baker wrote:

> The PathScale 3.2 C++ compiler segment faults for optimization levels higher 
> than -O1 (-O2 is the default).  This is for OpenMPI 1.4.2 — my first attempt 
> to compile using the PathScale compilers.  I could not find any -WOPT options 
> to eliminate the error.  I don't understand the current state of the 
> PathScale compilers.  I think the company changed hands since we bought the 
> product and the last owner went bankrupt.  I think the name has been 
> resurrected by the people that wrote the compiler.  They use the same name, 
> but I get the impression that our license is with a company that is gone now, 
> not with them, so they want us to buy a new license.  Anyway, there may be a 
> newer compiler than 3.2 that does not have this problem.
> 
> [root@hydra vtfilter]# pathCC -v
> PathScale(TM) Compiler Suite: Version 3.2
> Built on: 2008-06-16 16:45:36 -0700
> Thread model: posix
> GNU gcc version 3.3.1 (PathScale 3.2 driver)
> 
> [root@hydra vtfilter]# ./configure >configure.log 2>&1 \
>   --prefix=$PATHSCALE_DIR/openmpi --with-sge \
>   CC="pathcc -m64" \
>   CFLAGS="-g -O3 -march=anyx86" \
>   CXX="pathCC -m64" \
>   CXXFLAGS="-g -O1 -march=anyx86" \
>   FC="pathf90 -m64" \
>   FCFLAGS="-g -O3 -march=anyx86 -fno-second-underscore" \
>   F77="pathf90 -m64" \
>   FFLAGS="-g -O3 -march=anyx86 -fno-second-underscore"
> 
> [root@hydra vtfilter]# make
> 
> <snip>
> 
> Making all in vtfilter
> make[6]: Entering directory 
> `/usr/local/src/openmpi-1.4.2/ompi/contrib/vt/vt/tools/vtfilter'
> 
> <snip>
> 
> pathCC -m64 -DHAVE_CONFIG_H -I. -I../.. -I../../extlib/otf/otflib 
> -I../../extlib/otf/otflib -I../../vtlib/ -I../../vtlib  -DINSIDE_OPENMPI   
> -D_GNU_SOURCE -mp -DVT_OMP -g -O3 -march=anyx86 -MT vtfilter-vt_tracefilter.o 
> -MD -MP -MF .deps/vtfilter-vt_tracefilter.Tpo -c -o vtfilter-vt_tracefilter.o 
> `test -f 'vt_tracefilter.cc' || echo './'`vt_tracefilter.cc
> Signal: Segmentation fault in Global Optimization -- Dead Store Elimination 
> phase.
> Error: Signal Segmentation fault in phase Global Optimization -- Dead Store 
> Elimination -- processing aborted
> *** Internal stack backtrace:
> pathCC INTERNAL ERROR: /opt/pathscale/lib/3.2/be died due to signal 4
> Please report this problem to <supp...@pathscale.com>.
> Problem report saved as /root/.ekopath-bugs/pathCC_error_weMqHF.ii
> Please review the above file and, if possible, attach it to your problem 
> report.
> make[6]: *** [vtfilter-vt_tracefilter.o] Error 1
> 
> <snip>
> 
> Larry Baker
> US Geological Survey
> 650-329-5608
> ba...@usgs.gov
> 
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to