[mvapich-discuss] Error trying to build mvapich2-1.0 with PGI 7.0-7

David Gunter dog at lanl.gov
Mon Sep 17 14:38:09 EDT 2007


I am trying to build the new mvapich2 with the PGI 7.0-7 compiler but  
run into a configuration and build error.  Specifically, the build  
scripts are trying to use gcc flags "-fno-strict-aliasing", "-pipe"  
and "-m64".  Where is it picking up those flags and how can I disable  
this behavior?

This is my setup:

setenv CC pgcc
setenv CXX pgCC
setenv F90 pgf90
setenv F77 pgf77
setenv FC pgf77

setenv PREFIX "/opt/mvapich2/mvapich2-1.0-pgi/ib"
setenv OPEN_IB_HOME "/opt/ofed"
setenv PBS_HOME "/opt/PBS"
setenv OPT_FLAG "-O2 -g"

setenv CFLAGS "-D_X86_64_ -D_SMP_ -I${OPEN_IB_HOME}/include $ 
{OPT_FLAG} -DUSE_HEADER_CACHING -DONE_SIDED -DMPIDI_CH3_CHANNEL_RNDV - 
DMPID_USE_SEQUENCE_NUMBERS"
setenv FFLAGS "-L/opt/ofed/lib64"
setenv LDFLAGS "-L${OPEN_IB_HOME}/lib64"
setenv LIBS "-L${OPEN_IB_HOME}/lib64 -libverbs -libumad -lpthread"

./configure --prefix=${PREFIX} --libdir=${PREFIX}/lib64 --enable- 
sharedlibs=gcc --enable-romio --with-file-system=ufs+nfs+panfs -- 
enable-threads=multiple --enable-g=dbg --enable-totalview --enable- 
fast --with-mpe --enable-f77 --enable-f90 --enable-cxx --with-openib=$ 
{OPEN_IB_HOME} --with-pbs=${PBS_HOME} --with-device=osu_ch3:mrail -- 
with-rdma=gen2 --with-pm=mpd

make

make[1]: Entering directory `/home/dog/mvapich2-build/mvapich2-1.0/ 
src/pm/mpd'
running build_ext
building 'mtv' extension
pgcc -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m64 -D_GNU_SOURCE - 
fPIC -D_X86_64_ -D_SMP_ -I/opt/ofed/include -O2 -g - 
DUSE_HEADER_CACHING -DONE_SIDED -DMPIDI_CH3_CHANNEL_RNDV - 
DMPID_USE_SEQUENCE_NUMBERS -fPIC -I/usr/include/python2.3 -c mtv.c - 
o /home/dog/mvapich2-build/mvapich2-1.0/src/pm/mpd/mtv.o
pgcc-Error-Unknown switch: -fno-strict-aliasing
pgcc-Error-Unknown switch: -pipe
pgcc-Error-Unknown switch: -m64
error: command 'pgcc' failed with exit status 1
make[1]: *** [all] Error 1

--
David Gunter
HPC-4: HPC Environments: Parallel Tools Team
Los Alamos National Laboratory


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20070917/dacc45e6/attachment.html


More information about the mvapich-discuss mailing list