[ofa-general] non-gcc mpitests seem to compile with gcc compileflags
Jonathan Perkins
perkinjo at cse.ohio-state.edu
Mon Apr 13 14:39:08 PDT 2009
Guido:
Can you try adding -noswitcherror to the CFLAGS? This should keep pgi
from choking on these gcc flags.
On Tue, Apr 07, 2009 at 03:43:26PM +0200, Guido Passet wrote:
> Dear list,
>
> I could be wrong but it looks like the non-gcc mpitests programs are
> using incorrect compile flags.
>
>
> Running rpm -iv
> /RPMS/sl-release-5.3-1.x86_64/x86_64/mpitests_mvapich_gcc-3.1-891.x86_64.rpm
> Build mpitests_mvapich_pgi RPM
> Running LDFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic -L/ofed/1.4.1-rc3/lib64 -L/ofed/1.4.1-rc3/lib'
> CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/ofed/1.4.1-rc3/include' CPPFLAGS='-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -I/ofed/1.4.1-rc3/include'
> rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir' --define
> 'dist %{nil}' --target x86_64 --define '_name mpitests_mvapich_pgi'
> --define 'root_path /' --define '_usr /ofed/1.4.1-rc3' --define
> 'path_to_mpihome /ofed/1.4.1-rc3/mpi/pgi/mvapich-1.1.0'
> /SRPMS/mpitests-3.1-891.src.rpm
>
>
> /ofed/1.4.1-rc3/mpi/pgi/mvapich-1.1.0/bin/mpicc
> -I/ofed/1.4.1-rc3/mpi/pgi/mvapich-1.1.0/include -DMPI1 -O3 -c
> IMB_cpu_exploit.c
> /ofed/1.4.1-rc3/mpi/pgi/mvapich-1.1.0/bin/mpicc -o IMB-MPI1 IMB.o
> IMB_declare.o IMB_init.o IMB_mem_manager.o IMB_parse_name_mpi1.o
> IMB_benchlist.o IMB_strgs.o IMB_err_handler.o IMB_g_info.o
> IMB_warm_up.o IMB_output.o IMB_pingpong.o IMB_pingping.o IMB_allreduce.o
> IMB_reduce_scatter.o IMB_reduce.o IMB_exchange.o IMB_bcast.o
> IMB_barrier.o IMB_allgather.o IMB_allgatherv.o IMB_gather.o
> IMB_gatherv.o IMB_scatter.o IMB_scatterv.o IMB_alltoall.o
> IMB_alltoallv.o IMB_sendrecv.o IMB_init_transfer.o IMB_chk_diff.o
> IMB_cpu_exploit.o
> make[2]: Leaving directory
> `/var/tmp/OFED_topdir/BUILD/mpitests-3.1/IMB-3.1/src'
> make[1]: Leaving directory
> `/var/tmp/OFED_topdir/BUILD/mpitests-3.1/IMB-3.1/src'
> cd /var/tmp/OFED_topdir/BUILD/mpitests-3.1/osu_benchmarks-3.0 && make
> MPIHOME=/ofed/1.4.1-rc3/mpi/pgi/mvapich-1.1.0
> make[1]: Entering directory
> `/var/tmp/OFED_topdir/BUILD/mpitests-3.1/osu_benchmarks-3.0'
> /ofed/1.4.1-rc3/mpi/pgi/mvapich-1.1.0/bin/mpicc -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -I/ofed/1.4.1-rc3/include
> -c -o osu_bcast.o osu_bcast.c
> pgcc-Error-Unknown switch: -pipe
> pgcc-Error-Unknown switch: -Wall
> pgcc-Error-Unknown switch: -Wp,-D_FORTIFY_SOURCE=2
> pgcc-Error-Unknown switch: -fexceptions
> pgcc-Error-Unknown switch: -fstack-protector
> pgcc-Error-Unknown switch: --param=ssp-buffer-size=4
> pgcc-Error-Unknown switch: -m64
> pgcc-Error-Unknown switch: -mtune=generic
> make[1]: *** [osu_bcast.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/OFED_topdir/BUILD/mpitests-3.1/osu_benchmarks-3.0'
> make: *** [osu] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.25349 (%install)
>
>
>
> Cheers,
> Guido.
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
--
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090413/fab4e460/attachment.sig>
More information about the general
mailing list