[mvapich-discuss] Sun Studio build mvapich1

Shuichi Ihara Shuichi.Ihara at Sun.COM
Thu May 8 00:24:31 EDT 2008


Hi Frank,

I have been successful to build mvapich-1.0 with SunStudio12 on the CentOS5.1
I did to pick up a mvapich spec file from the ofed-1.3 and same modifications
for the SunStudio, then built it. Please see the attached diffs of specfile.

Thanks,

-Ihara

Frank Leers wrote:
> Hi,
> 
> I am attempting to build mvapich 1 with Studio12 and am not having much 
> success.  Could someone have a look and point out the err of my ways?
> 
> A couple of things jump out at me -
> 
> checking for cc... no
> checking whether the Fortran 77 compiler 
> (/opt/apps/sun/sunstudio12/bin/f77 -L/opt/ofed/lib64 ) works... no
> 
> OFED 1.2.5-5 was built with gnu, is that a problem?
> 
> I've modified the make_mvapich.gen2 as follows:
> 
> 18,25c18,24
> < STUDIOHOME=/opt/apps/sun/sunstudio12
> < IBHOME=${IBHOME:-/opt/ofed}
> < IBHOME_LIB=${IBHOME_LIB:-/opt/ofed/lib64}
> < PREFIX=${PREFIX:-/tmp/mvapich-1.0-2008-02-28}
> < export CC=${CC:-$STUDIOHOME/bin/cc}
> < export CXX=${CXX:-$STUDIOHOME/bin/CC}
> < export F77=${F77:-$STUDIOHOME/bin/f77}
> < export F90=${F90:-$STUDIOHOME/bin/f90}
> ---
>  > IBHOME=${IBHOME:-/usr/local/ofed}
>  > IBHOME_LIB=${IBHOME_LIB:-/usr/local/ofed/lib64}
>  > PREFIX=${PREFIX:-/usr/local/mvapich}
>  > export CC=${CC:-gcc}
>  > export CXX=${CXX:-g++}
>  > export F77=${F77:-g77}
>  > export F90=${F90:-}
> 
> 
> thanks,
> 
> -frank
> 
> 
> [mvapich-1.0-2008-02-28]# ./make.mvapich.gen2.studio12
> Configuring MVAPICH...
> Configuring with args --with-device=ch_gen2 --with-arch=LINUX 
> -prefix=/tmp/mvapich-1.0-2008-02-28 --with-romio --without-mpe 
> -lib=-L/opt/ofed/lib64 -Wl,-rpath=/opt/ofed/lib64 -libverbs -libumad 
> -lpthread
> Configuring MPICH Version 1.2.7 (release) of : 2005/06/22 16:33:49
> Make will not build MPE routines
> checking whether filesystem respects case in file names... yes
> checking for current directory name... /tmp/mvapich1/mvapich-1.0-2008-02-28
> checking for install
> checking for ranlib
> checking for gnumake... yes using --no-print-directory
> checking whether make supports include... yes
> checking for OSF V3 make... no
> checking for virtual path format... VPATH
> checking whether /opt/apps/sun/sunstudio12/bin/CC returns correct error 
> code... yes
> checking whether selected C++ compiler can compile iostream.h... yes
> 
> Include C++ bindings for MPI from http://www.osl.iu.edu/research/mpi2c++
> Send bug reports about the C++ to mpi2cpp-devel at osl.iu.edu
> 
> checking for cc... no
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/cc accepts 
> ANSI prototypes... yes
> checking for /opt/apps/sun/sunstudio12/bin/f77... found 
> /opt/apps/sun/sunstudio12/bin/f77 (1)
> checking for ar... found /usr/bin/ar (ar)
> checking for whether compiler works... yes
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/cc accepts 
> ## for concatenation in cpp... yes
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/cc accepts 
> const modifier... yes
> checking for extension on executables... none
> checking how to run the C preprocessor
> checking for AIX
> checking for minix/config.h
> checking for volatile... yes
> Running device-specific setup program
> setup_ch_gen2 starts... -D_X86_64_ -D_AMD_QUAD_CORE_ 
> -DEARLY_SEND_COMPLETION -DMEMORY_SCALE -DVIADEV_RPUT_SUPPORT -D_SMP_ 
> -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE -I/opt/ofed/include -O3
> About to do ch_gen2 device
> Configuring ch_gen2 subsystem...
> No addition setup since mpd is not enabled
> Use ${exec_prefix}/bin to set up variables MPIBOOT and MPIUNBOOT
> checking whether cross-compiling... no
> checking for gethrtime... no
> checking for clock_gettime... no
> checking for clock_getres... no
> checking for how many arguments gettimeofday takes... two - whew
> checking for signal.h... yes
> checking for sigaction... yes
> checking for for struct sigaction... yes
> checking for weak symbol support... pragma weak
> checking whether weak symbols are visible to other files... yes
> checking for remsh... no
> checking for rsh... found /usr/kerberos/bin/rsh (rsh)
> checking for perl5... no
> checking for perl... found /usr/bin/perl (perl)
> checking for byte ordering... little endian
> checking for uname... yes
> checking for netdb.h... yes
> checking for gethostbyname... yes
> checking whether C++ compiler also has gethostbyname... yes
> checking whether Fortran programs can link with needed C functions... yes
> checking whether C++ programs can link with needed C functions... yes
> checking for catopen... yes
> checking for catclose... yes
> checking for catgets... yes
> checking for gencat... found /usr/bin/gencat (1)
> checking for nl_types.h... yes
> checking for ANSI C header files
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for unistd.h... yes
> checking for stdarg.h... yes
> checking whether stdarg is oldstyle... hmm, warnings from compiler.  
> Trying newstyle
> checking whether stdarg is correct... yes
> checking whether programs using stdarg link... yes
> checking for malloc return type... void
> checking for system... yes
> checking for nice... yes
> checking for strdup... yes
> checking for memory.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/sockio.h... no
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/cc runs... yes
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/f77 runs... yes
> checking for correct handling of conditionals...... yes
> checking for correct handling of conditionals part 2 ...... yes
> checking for correct handling of #elif... yes
> checking that constant folding in arrays works... yes
> checking that structs are handled properly... yes
> checking that compiler truncates unsigned char correctly ...... yes
> checking that compiler/hardware has commutative arithmetic ...... yes
> checking that compiler assigns to char correctly ...... yes
> checking that compiler does not call unknown routines for long 
> doubles... yes
> checking that compiler accepts args correctly ...... yes
> checking whether ranlib works... yes
> checking for broken handling of common symbols... no
> checking for ar... found /usr/bin/ar (1)
> checking for size of void *... 8
> checking for pointers greater than 32 bits... yes
> checking for size of int... 4
> checking for int large enough for pointers... no
> checking for C integer type for MPI_Aint...
> checking for size of long... 8
> C integer type for MPI_Aint is... long
> checking for long long... yes
> checking whether compiler can handle loops with long long... yes
> checking for long double... yes
> checking for size of double... 8
> checking for size of long double... 16
> checking for structure alignment... largest
> checking for sync... found /bin/sync (1)
> checking whether mpich can be used as the library name... yes
> Configuring Fortran subsystem
> Configure in /tmp/mvapich1/mvapich-1.0-2008-02-28/src/fortran creating 
> cache ./config.cache
> checking for cc... /opt/apps/sun/sunstudio12/bin/cc
> checking whether the C compiler (/opt/apps/sun/sunstudio12/bin/cc 
> -D_X86_64_ -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H ) works... yes
> checking whether the C compiler (/opt/apps/sun/sunstudio12/bin/cc 
> -D_X86_64_ -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H ) is a cross-compiler... no
> checking whether the C compiler sets its return status correctly... yes
> checking whether we are using GNU C... no
> checking for working const... yes
> checking whether the Fortran 77 compiler 
> (/opt/apps/sun/sunstudio12/bin/f77 -L/opt/ofed/lib64 ) works... no
> configure: error: installation or configuration problem: Fortran 77 
> compiler cannot create executables.
> Error configuring the Fortran subsystem!
> Turning off Fortran support
> Configuring ROMIO, for support of MPI-IO
> checking whether compiler allows define a(b) a(b,__LINE__)... yes
> Configuring with args --with-mpi=mpich --cache-file=/dev/null
> checking for architecture... LINUX
> ROMIO home directory is /tmp/mvapich1/mvapich-1.0-2008-02-28/romio
> checking for ranlib... ranlib
> checking for gcc... /opt/apps/sun/sunstudio12/bin/cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether /opt/apps/sun/sunstudio12/bin/cc accepts -g... yes
> checking for /opt/apps/sun/sunstudio12/bin/cc option to accept ANSI C... 
> none needed
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether /opt/apps/sun/sunstudio12/bin/f77 accepts -g... yes
> checking how to run the C preprocessor... 
> /opt/apps/sun/sunstudio12/bin/cc -E
> checking for memalign... yes
> checking Fortran external names
> Fortran externals have a trailing underscore and are lowercase
> checking for inline... inline
> checking how to run the C preprocessor... 
> /opt/apps/sun/sunstudio12/bin/cc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for unistd.h... (cached) yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for int... yes
> checking size of int... 4
> checking for void*... yes
> checking size of void*... 8
> checking for int large enough for pointers... no
> checking for long long... yes
> checking size of long long... 8
> checking for extension for Fortran 90 programs... f90
> checking for Fortran 90 KIND parameter for 8-byte integers...  8
> checking for weak symbol support... pragma weak
> checking that weak symbols are visible to other files... yes
> checking whether struct flock compatible with MPI_Offset... yes
> checking configured file systems... testfs ufs nfs
> configure: WARNING: File locks may not work with NFS.  See the 
> Installation and
> users manual for instructions on testing and if necessary fixing this
> checking for library containing pthread_create... -lpthread
> checking for library containing aio_write... -lrt
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking if aio.h exists and can be compiled... yes
> checking if sys/aio.h exists and can be compiled... no
> checking whether aio routines can be used... yes
> checking for obsolete two-argument aio_write... no
> checking for obsolete two-argument aio_suspend... no
> checking for aio_fildes member of aiocb structure... yes
> checking for aio_whence member of aiocb structure... no
> checking for aio_handle member of aiocb structure... no
> checking for aio_reqprio member of aiocb structure... yes
> checking for aio_sigevent member of aiocb structure... yes
> checking sys/vfs.h usability... yes
> checking sys/vfs.h presence... yes
> checking for sys/vfs.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/mount.h usability... yes
> checking sys/mount.h presence... yes
> checking for sys/mount.h... yes
> checking sys/statvfs.h usability... yes
> checking sys/statvfs.h presence... yes
> checking for sys/statvfs.h... yes
> checking whether struct statfs properly defined... yes
> checking for f_fstypename member of statfs structure... no
> checking for sys/stat.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for stat... yes
> checking for st_fstype member of stat structure... no
> checking for sys/types.h... (cached) yes
> checking for sys/statvfs.h... (cached) yes
> checking for sys/vfs.h... (cached) yes
> checking for statvfs... yes
> checking for f_basetype member of statvfs structure... no
> checking for unistd.h... (cached) yes
> checking for large file defines... yes
> checking whether off64_t is an scalar type... yes
> checking for strerror... yes
> checking for doctext... no
> checking for strdup... no
> checking for lstat... no
> checking for readlink... no
> checking for fsync... no
> checking for ftruncate... no
> setting CC to /tmp/mvapich1/mvapich-1.0-2008-02-28/bin/mpicc
> setting F77 to /opt/apps/sun/sunstudio12/bin/f77
> setting TEST_CC to /tmp/mvapich1/mvapich-1.0-2008-02-28/bin/mpicc
> setting TEST_F77 to /tmp/mvapich1/mvapich-1.0-2008-02-28/bin/mpif77
> setting CFLAGS to -D_X86_64_ -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION 
> -DMEMORY_SCALE -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 
> -D_GNU_SOURCE   -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H -DFORTRANUNDERSCORE 
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H
> setting USER_CFLAGS to
> setting USER_FFLAGS to
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating localdefs
> config.status: creating mpi-io/Makefile
> config.status: creating mpi2-other/info/Makefile
> config.status: creating mpi2-other/array/Makefile
> config.status: creating adio/common/Makefile
> config.status: creating test/Makefile
> config.status: creating test/misc.c
> config.status: creating test/large_file.c
> config.status: creating test/runtests
> config.status: creating util/romioinstall
> config.status: creating include/mpio.h
> config.status: creating include/mpiof.h
> config.status: creating adio/ad_nfs/Makefile
> config.status: creating adio/ad_ufs/Makefile
> config.status: creating adio/ad_panfs/Makefile
> config.status: creating adio/ad_xfs/Makefile
> config.status: creating adio/ad_sfs/Makefile
> config.status: creating adio/ad_pfs/Makefile
> config.status: creating adio/ad_testfs/Makefile
> config.status: creating adio/ad_pvfs/Makefile
> config.status: creating adio/ad_pvfs2/Makefile
> config.status: creating adio/ad_gridftp/Makefile
> config.status: creating adio/ad_lustre/Makefile
> config.status: creating mpi-io/fortran/Makefile
> config.status: creating mpi2-other/info/fortran/Makefile
> config.status: creating mpi2-other/array/fortran/Makefile
> config.status: creating test/fmisc.f
> config.status: creating test/fcoll_test.f
> config.status: creating test/pfcoll_test.f
> config.status: creating test/fperf.f
> config.status: creating mpi-io/glue/mpich2/Makefile
> config.status: creating mpi-io/glue/mpich1/Makefile
> config.status: creating mpi-io/glue/default/Makefile
> config.status: creating adio/include/romioconf.h
> config.status: executing default-1 commands
> Finished configuring ROMIO
> checking whether head command is broken... no
> creating config.status
> creating Makefile
> creating util/Makefile
> creating examples/Makefile
> creating src/pt2pt/Makefile
> creating src/coll/Makefile
> creating src/context/Makefile
> creating src/dmpi/Makefile
> creating src/env/Makefile
> creating src/topol/Makefile
> creating src/profile/Makefile
> creating src/coll2/Makefile
> creating src/util/Makefile
> creating src/infoexport/Makefile
> creating examples/basic/Makefile
> creating src/misc2/Makefile
> creating src/external/Makefile
> creating mpichconf.h
> creating util/mpicc
> creating util/mpicxx
> creating util/mpiinstall
> creating util/mpirun
> creating util/mpichlib.conf
> creating util/mpiman
> creating util/chkserv
> creating util/chkmachine
> creating util/tstmachines
> creating include/mpidefs.h
> creating include/mpif.f90
> Configuring the test suite...
> Configuring with args -basecc=/opt/apps/sun/sunstudio12/bin/cc 
> -cc=/tmp/mvapich1/mvapich-1.0-2008-02-28/bin/mpicc -make=make 
> --no-print-directory -device=ch_gen2 
> -mpichpath=/tmp/mvapich1/mvapich-1.0-2008-02-28/bin --enable-boot 
> -cflags=-D_X86_64_ -D_AMD_QUAD_CORE_ -DEARLY_SEND_COMPLETION 
> -DMEMORY_SCALE -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 
> -D_GNU_SOURCE -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H -nof77 --enable-io
> Don't build the tests that need Fortran
> checking whether cross-compiling... no
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/cc runs... yes
> checking for gnumake... no
> checking whether make supports include... yes
> checking for OSF V3 make... no
> checking for virtual path format... VPATH
> checking for stdlib.h... yes
> checking for unistd.h... yes
> checking for string.h... yes
> checking for stdarg is correct... yes
> checking for long double... yes
> checking for long long... yes
> checking whether compiler can handle loops with long long... yes
> checking whether the compiler /opt/apps/sun/sunstudio12/bin/cc accepts 
> ANSI prototypes... yes
> checking for signal.h... yes
> checking for sigaction... yes
> checking for sleep... yes
> checking for sysconf... yes
> creating config.status
> creating Makefile
> creating pt2pt/Makefile
> creating coll/Makefile
> creating topol/Makefile
> creating context/Makefile
> creating env/Makefile
> creating profile/Makefile
> creating io/Mfile
> creating pt2pt/runtests
> creating coll/runtests
> creating topol/runtests
> creating context/runtests
> creating command/runtests
> creating env/runtests
> creating profile/runtests
> creating io/rtest
> creating io/misc.c
> creating io/fmisc.f
> creating io/fcoll_test.f
> creating io/pfcoll_test.f
> creating io/large_file.c
> creating io/fperf.f
> Configuring the performance tests ...
> Configure in /tmp/mvapich1/mvapich-1.0-2008-02-28/examples/perftest 
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make --no-print-directory sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether clock skew breaks make... no
> checking whether make supports include... yes
> checking whether make allows comments in actions... yes
> checking for virtual path format... VPATH
> checking whether make sets CFLAGS... yes
> checking for cit... no
> checking for gnuplot... gnuplot
> checking how to run the C preprocessor... 
> /opt/apps/sun/sunstudio12/bin/cc -E
> checking whether C compiler accepts option -O4 -Ofast... no
> checking whether C compiler accepts option -Ofast... no
> checking whether C compiler accepts option -fast... yes
> checking whether routines compiled with -fast can be linked with ones 
> compiled  without -fast... yes
> checking for library containing fabs... -lm
> checking for ANSI C header files... yes
> checking for sys/time.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for working const... yes
> checking for restrict... restrict
> checking for long long... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating mpptestconf.h
> creating mpid/ch_gen2/Makefile
> creating mpid/tests/Makefile
> creating mpichconf.h
> mpichconf.h is unchanged
> *# --->
> *# You should register your copy of MPICH with us by sending mail
> *# to majordomo at mcs.anl.gov containing the message
> *# subscribe mpi-users
> *# This will allow us to notify you of new releases of MPICH.
> *#
> *# You can also check the MPICH home page at
> *# http://www.mcs.anl.gov/mpi/mpich
> *# ---<
> Configuration completed.
> Building MVAPICH...
> 
> cleaning directory mpi-io
> 
> cleaning directory adio/common
> 
> cleaning directory mpi-io/glue/mpich1
> 
> cleaning directory adio/ad_testfs
> 
> cleaning directory adio/ad_ufs
> 
> cleaning directory adio/ad_nfs
> 
> cleaning directory mpi-io/fortran
> 
> cleaning directory test
> rm -f .P* PI* *.o
> rm -f simple perf async coll_test coll_perf misc file_info excl 
> large_array atomicity noncontig i_noncontig noncontig_coll split_coll 
> shared_fp large_file psimple error status noncontig_coll2 fcoll_test 
> fperf fmisc pfcoll_test
> 
> cleaning src/pt2pt
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/pt2pt/*.o
> cleaning src/env
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/env/*.o
> cleaning src/dmpi
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/dmpi/*.o
> cleaning src/util
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/util/*.o
> cleaning src/context
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/context/*.o
> cleaning src/coll
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/coll/*.o
> cleaning src/topol
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/topol/*.o
> cleaning src/profile
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/profile/*.o
> cleaning src/misc2
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/misc2/*.o
> cleaning src/external
> rm -f *.o *~ /tmp/mvapich1/mvapich-1.0-2008-02-28/src/external/*.o
> cleaning mpid/ch_gen2
> /bin/rm -f *.o *.d *~ viainit.o viasend.o viarecv.o viacheck.o viapriv.o 
> viaparam.o viutil.o vbuf.o cm_user.o mpid_init.o mpid_send.o mpid_recv.o 
> cm.o mpid_hsend.o mpid_hrecv.o mpid_pack.o cmnargs.o mpid_misc.o dreg.o 
> mpid_smpi.o collutils.o intra_rdma_barrier.o mpid_mcast.o mcst_grp.o 
> ibmcgrp.o crc32h.o avl.o mem_hooks.o viacoalesce.o shmem_coll.o 
> async_progress.o \
>     queue.o sbcnst2.o tr2.o queue.c sbcnst2.c tr2.c sbcnst2.h tr2.h core 
> ibmcgrp/*.o ibmcgrp/ibmcgrp \
>     /tmp/mvapich1/mvapich-1.0-2008-02-28/bin/ibmcgrp
> make --no-print-directory -C process clean
> rm -f *.o mpirun_rsh mpispawn minidaemon_client pmgr_collective_client.o 
> pmgr_collective_common.o minidaemon.o mpirun_util.o
> cleaning examples
> rm -f sendchar *.o
> 
> Making clean in directory test
> 
> Making clean in directory pt2pt
> 
> Making clean in directory coll
> 
> Making clean in directory topol
> 
> Making clean in directory env
> 
> Making clean in directory context
> 
> Making clean in directory profile
> 
> Making clean in directory io
> 
> Making clean in directory perftest
> test -z "mpptest goptest buflimit " || rm -f mpptest goptest buflimit
> rm -f *.o core *.core
> rm -f tunepkt pktuse copytest vectest stress ctest cluster tcomm
> rm -f work.pc work.pcl
> cleaning examples/basic
> rm -f work.pc work.pcl
> rm -f *.o *~ PI* cpi systest srtest  fpi cpilog cpi_autolog hello++ 
> iotest pi3f90  upshot rdb.* startup.* core
> rm -f hello++.ti hello++.ii
> cleaning examples/test/pt2pt
> cleaning examples/test/coll
> cleaning examples/test/topol
> cleaning examples/test/context
> cleaning examples/test/env
> cleaning examples/test/profile
> cleaning examples/test
> 
> Making clean in directory pt2pt
> 
> Making clean in directory coll
> 
> Making clean in directory topol
> 
> Making clean in directory env
> 
> Making clean in directory context
> 
> Making clean in directory profile
> 
> Making clean in directory io
> cleaning examples/perftest
> test -z "mpptest goptest buflimit " || rm -f mpptest goptest buflimit
> rm -f *.o core *.core
> rm -f tunepkt pktuse copytest vectest stress ctest cluster tcomm
> rm -f work.pc work.pcl
> cleaning src/infoexport
> rm -f *.o
> rm -f *.i
> rm -f *.s
> rm -f *.cxx.log
> rm -f *.cxx.errors
> rm -f libtvmpich.so.1.0
> rm -f libtvmpich.so*
> rm -f /tmp/mvapich1/mvapich-1.0-2008-02-28/src/infoexport/*.o
> rm -f *~ *.o aditest1 aditest2 aditest3 aditest4 aditest5 aditest6 
> aditest7 aditest8 aditest9 aditest10 aditest11 aditest12 aditest13 
> timers trunc
> rm -f /tmp/mvapich1/mvapich-1.0-2008-02-28/lib/lib*.a
> rm -f /tmp/mvapich1/mvapich-1.0-2008-02-28/lib/shared/lib*.so*
> make --no-print-directory mpi-modules
> make --no-print-directory mpilib
> for file in queue.c sbcnst2.c tr2.c sbcnst2.h tr2.h ; do  \
>     if [ ! -s $file ] ; then   \
>        ln -s ../util/$file;    \
>     fi;                         \
> done
> 
> making mpir in directory mpid/ch_gen2
> for file in queue.c sbcnst2.c tr2.c sbcnst2.h tr2.h ; do  \
>     if [ ! -s $file ] ; then   \
>        ln -s ../util/$file;    \
>     fi;                         \
> done
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viainit.c
> "ib_init.h", line 12: warning: initializer does not fit or is out of 
> range: -1
> "ib_init.h", line 34: warning: improper pointer/integer combination: op "<"
> "viainit.c", line 149: warning: argument #3 is incompatible with prototype:
>     prototype: pointer to const struct  {array[16] of unsigned long 
> __bits} : "/usr/include/sched.h", line 76
>     argument : pointer to unsigned long
> "viainit.c", line 162: warning: argument #3 is incompatible with prototype:
>     prototype: pointer to const struct  {array[16] of unsigned long 
> __bits} : "/usr/include/sched.h", line 76
>     argument : pointer to unsigned long
> "viainit.c", line 556: warning: argument #3 is incompatible with prototype:
>     prototype: pointer to function(pointer to void) returning pointer to 
> void : "/usr/include/pthread.h", line 163
>     argument : pointer to void
> "viainit.c", line 792: warning: implicit function declaration: 
> init_apm_lock
> "viainit.c", line 990: warning: argument mismatch
> "viainit.c", line 1158: warning: implicit function declaration: 
> reload_alternate_path
> "viainit.c", line 1221: warning: argument #3 is incompatible with 
> prototype:
>     prototype: pointer to function(pointer to void) returning pointer to 
> void : "/usr/include/pthread.h", line 163
>     argument : pointer to void
> "viainit.c", line 1345: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viasend.c
> "viasend.c", line 145: warning: implicit function declaration: 
> viadev_post_send_async_qp
> "viasend.c", line 401: warning: argument mismatch
> "viasend.c", line 703: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viarecv.c
> "viarecv.c", line 263: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viacheck.c
> "viacheck.c", line 571: warning: argument mismatch
> "viacheck.c", line 1824: warning: argument mismatch
> "viacheck.c", line 1846: warning: argument mismatch
> "viacheck.c", line 1861: warning: argument mismatch
> "viacheck.c", line 2260: warning: implicit function declaration: 
> perform_manual_apm
> "viacheck.c", line 2856: warning: implicit function declaration: 
> reload_alternate_path
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viapriv.c
> "viapriv.c", line 649: warning: implicit function declaration: 
> perform_manual_apm
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viaparam.c
> "/opt/ofed/include/infiniband/common.h", line 60: warning: implicit 
> function declaration: bswap_64
> "/opt/ofed/include/infiniband/umad.h", line 72: warning: zero or 
> negative subscript
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viutil.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c vbuf.c
> "vbuf.c", line 125: warning: argument mismatch
> "vbuf.c", line 283: warning: argument mismatch
> "vbuf.c", line 442: warning: argument mismatch
> "vbuf.c", line 488: warning: argument mismatch
> "vbuf.c", line 491: warning: argument mismatch
> "vbuf.c", line 492: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c cm_user.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_init.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_send.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_recv.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c cm.c
> "ib_init.h", line 12: warning: initializer does not fit or is out of 
> range: -1
> "ib_init.h", line 34: warning: improper pointer/integer combination: op "<"
> "cm.c", line 176: warning: pointer to void or function used in arithmetic
> "cm.c", line 265: warning: implicit function declaration: 
> reload_alternate_path
> "cm.c", line 677: warning: statement not reached
> "cm.c", line 735: warning: pointer to void or function used in arithmetic
> "cm.c", line 735: warning: pointer to void or function used in arithmetic
> "cm.c", line 744: warning: pointer to void or function used in arithmetic
> "cm.c", line 757: warning: statement not reached
> "cm.c", line 830: warning: pointer to void or function used in arithmetic
> "cm.c", line 830: warning: pointer to void or function used in arithmetic
> "cm.c", line 925: warning: pointer to void or function used in arithmetic
> "cm.c", line 1006: warning: pointer to void or function used in arithmetic
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_hsend.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_hrecv.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_pack.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c cmnargs.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_misc.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c dreg.c
> "dreg.c", line 132: warning: initializer does not fit or is out of 
> range: -1
> "dreg.c", line 780: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_smpi.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c collutils.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c 
> intra_rdma_barrier.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mpid_mcast.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mcst_grp.c
> "mcst_grp.c", line 338: warning: empty translation unit
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c ibmcgrp.c
> "ibmcgrp.c", line 480: warning: empty translation unit
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c crc32h.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c avl.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c mem_hooks.c
> "mem_hooks.c", line 34: warning: assignment type mismatch:
>     pointer to function(pointer to void, unsigned long) returning int 
> "=" pointer to void
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c viacoalesce.c
> "viacoalesce.c", line 70: warning: argument mismatch
> "viacoalesce.c", line 97: warning: argument mismatch
> "viacoalesce.c", line 167: warning: argument mismatch
> "viacoalesce.c", line 231: warning: argument mismatch
> "viacoalesce.c", line 235: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c shmem_coll.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c 
> async_progress.c
> "ib_init.h", line 12: warning: initializer does not fit or is out of 
> range: -1
> "ib_init.h", line 34: warning: improper pointer/integer combination: op "<"
> "async_progress.c", line 102: warning: function expects to return value: 
> atomic_send_or_queue
> "async_progress.c", line 112: warning: implicit function declaration: 
> perform_manual_apm
> "async_progress.c", line 686: warning: argument #3 is incompatible with 
> prototype:
>     prototype: pointer to function(pointer to void) returning pointer to 
> void : "/usr/include/pthread.h", line 163
>     argument : pointer to void
> "async_progress.c", line 841: warning: implicit function declaration: 
> reload_alternate_path
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c queue.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c sbcnst2.c
> /opt/apps/sun/sunstudio12/bin/cc -DHAVE_CONFIG_H -I. 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/include 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/util -DMPID_DEVICE_CODE  
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1  
> -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -D_GNU_SOURCE -D_X86_64_ 
> -D_AMD_QUAD_CORE_  -DEARLY_SEND_COMPLETION -DMEMORY_SCALE 
> -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE   
> -I/opt/ofed/include -O3 -DHAVE_MPICHCONF_H 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28 
> -I/tmp/mvapich1/mvapich-1.0-2008-02-28/mpid/ch_gen2 -I.   -c tr2.c
> ar crl /tmp/mvapich1/mvapich-1.0-2008-02-28/lib/libmpich.a viainit.o 
> viasend.o viarecv.o viacheck.o viapriv.o viaparam.o viutil.o vbuf.o 
> cm_user.o mpid_init.o mpid_send.o mpid_recv.o cm.o mpid_hsend.o 
> mpid_hrecv.o mpid_pack.o cmnargs.o mpid_misc.o dreg.o mpid_smpi.o 
> collutils.o intra_rdma_barrier.o mpid_mcast.o mcst_grp.o ibmcgrp.o 
> crc32h.o avl.o mem_hooks.o viacoalesce.o shmem_coll.o async_progress.o 
> queue.o sbcnst2.o tr2.o
> cd process && make --no-print-directory &&\
>   install -m 755 mpirun_rsh mpispawn minidaemon_client 
> /tmp/mvapich1/mvapich-1.0-2008-02-28/bin
> /opt/apps/sun/sunstudio12/bin/cc  
> -DLD_LIBRARY_PATH_MPI=\"/tmp/mvapich-1.0-2008-02-28/lib/shared\" 
> -DMPI_PREFIX=\"/tmp/mvapich-1.0-2008-02-28/\" 
> -DPARAM_GLOBAL=\"/tmp/mvapich-1.0-2008-02-28/etc/mvapich.conf\" -DVAPI  
> -D_SMP_ -DUSE_SSH    -c -o pmgr_collective_common.o 
> pmgr_collective_common.c
> /opt/apps/sun/sunstudio12/bin/cc  
> -DLD_LIBRARY_PATH_MPI=\"/tmp/mvapich-1.0-2008-02-28/lib/shared\" 
> -DMPI_PREFIX=\"/tmp/mvapich-1.0-2008-02-28/\" 
> -DPARAM_GLOBAL=\"/tmp/mvapich-1.0-2008-02-28/etc/mvapich.conf\" -DVAPI  
> -D_SMP_ -DUSE_SSH    -c -o pmgr_collective_mpirun.o 
> pmgr_collective_mpirun.c
> "pmgr_collective_mpirun.c", line 75: warning: pointer to void or 
> function used in arithmetic
> "pmgr_collective_mpirun.c", line 97: warning: pointer to void or 
> function used in arithmetic
> "pmgr_collective_mpirun.c", line 98: warning: pointer to void or 
> function used in arithmetic
> "pmgr_collective_mpirun.c", line 250: warning: pointer to void or 
> function used in arithmetic
> "pmgr_collective_mpirun.c", line 263: warning: pointer to void or 
> function used in arithmetic
> "pmgr_collective_mpirun.c", line 269: warning: pointer to void or 
> function used in arithmetic
> /opt/apps/sun/sunstudio12/bin/cc  
> -DLD_LIBRARY_PATH_MPI=\"/tmp/mvapich-1.0-2008-02-28/lib/shared\" 
> -DMPI_PREFIX=\"/tmp/mvapich-1.0-2008-02-28/\" 
> -DPARAM_GLOBAL=\"/tmp/mvapich-1.0-2008-02-28/etc/mvapich.conf\" -DVAPI  
> -D_SMP_ -DUSE_SSH    -c -o minidaemon.o minidaemon.c
> "minidaemon.c", line 267: warning: argument mismatch
> "minidaemon.c", line 300: warning: argument mismatch
> "minidaemon.c", line 407: warning: argument mismatch
> "minidaemon.c", line 430: warning: argument mismatch
> "minidaemon.c", line 455: warning: argument mismatch
> "minidaemon.c", line 542: warning: argument mismatch
> "minidaemon.c", line 552: warning: argument mismatch
> "minidaemon.c", line 560: warning: argument mismatch
> "minidaemon.c", line 591: warning: pointer to void or function used in 
> arithmetic
> "minidaemon.c", line 679: warning: argument mismatch
> "minidaemon.c", line 781: warning: enum type mismatch: op "="
> "minidaemon.c", line 812: warning: argument mismatch
> "minidaemon.c", line 842: warning: enum type mismatch: op "="
> "minidaemon.c", line 854: warning: enum type mismatch: op "="
> "minidaemon.c", line 1072: warning: argument mismatch
> "minidaemon.c", line 1114: warning: argument mismatch
> "minidaemon.c", line 1130: warning: argument mismatch
> "minidaemon.c", line 1213: warning: argument mismatch
> "minidaemon.c", line 1214: warning: enum type mismatch: op "="
> "minidaemon.c", line 1222: warning: argument mismatch
> "minidaemon.c", line 1244: warning: argument mismatch
> "minidaemon.c", line 1247: warning: argument mismatch
> "minidaemon.c", line 1278: warning: argument mismatch
> "minidaemon.c", line 1281: warning: argument mismatch
> "minidaemon.c", line 1288: warning: argument mismatch
> "minidaemon.c", line 1309: warning: argument mismatch
> "minidaemon.c", line 1369: warning: argument mismatch
> "minidaemon.c", line 1417: warning: argument mismatch
> "minidaemon.c", line 1443: warning: argument mismatch
> "minidaemon.c", line 1492: warning: argument mismatch
> "minidaemon.c", line 1533: warning: argument mismatch
> /opt/apps/sun/sunstudio12/bin/cc  
> -DLD_LIBRARY_PATH_MPI=\"/tmp/mvapich-1.0-2008-02-28/lib/shared\" 
> -DMPI_PREFIX=\"/tmp/mvapich-1.0-2008-02-28/\" 
> -DPARAM_GLOBAL=\"/tmp/mvapich-1.0-2008-02-28/etc/mvapich.conf\" -DVAPI  
> -D_SMP_ -DUSE_SSH    -c -o mpirun_util.o mpirun_util.c
> "mpirun_util.c", line 25: warning: implicit function declaration: vsnprintf
> "mpirun_util.c", line 33: warning: implicit function declaration: perror
> "mpirun_util.c", line 77: warning: implicit function declaration: strlen
> "mpirun_util.c", line 84: warning: implicit function declaration: strcat
> /opt/apps/sun/sunstudio12/bin/cc  
> -DLD_LIBRARY_PATH_MPI=\"/tmp/mvapich-1.0-2008-02-28/lib/shared\" 
> -DMPI_PREFIX=\"/tmp/mvapich-1.0-2008-02-28/\" 
> -DPARAM_GLOBAL=\"/tmp/mvapich-1.0-2008-02-28/etc/mvapich.conf\" -DVAPI  
> -D_SMP_ -DUSE_SSH     mpirun_rsh.c pmgr_collective_common.o 
> pmgr_collective_mpirun.o minidaemon.o mpirun_util.o  -lm -o mpirun_rsh
> "mpirun_rsh.c", line 579: warning: implicit function declaration: 
> pmgr_processops
> mpirun_rsh.o(.text+0xf1b): In function `main':
> : undefined reference to `env2int'
> mpirun_rsh.o(.text+0x70cc): In function `mpispawn_checkin':
> : undefined reference to `env2int'
> make[4]: *** [mpirun_rsh] Error 1
> make[3]: *** [mpirun_rsh] Error 2
> Exit status from make was 2
> make[2]: *** [mpilib] Error 1
> make[1]: *** [mpi-modules] Error 2
> make: *** [mpi] Error 2
> Failure in building MVAPICH.
> Please file an error report to mvapich-discuss at cse.ohio-state.edu with 
> all your log files.
> 
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
-------------- next part --------------
--- /usr/src/redhat/SPECS/mvapich.spec	2008-02-24 21:21:23.000000000 +0900
+++ mvapich_sun.spec	2008-05-07 12:41:49.000000000 +0900
@@ -187,6 +187,21 @@
     export CONFIG_FLAGS=""
     export OPTIMIZATION_FLAG=""
 %endif
+#
+# Sun Studio compiler
+#
+%if %(test "%{compiler}" = "sun" && echo 1 || echo 0)
+    export CC=suncc
+    export CXX=sunCC
+    export F77=sunf77
+    export F90=sunf90
+    export CFLAGS=
+    export FFLAGS=
+    export CXXFLAGS=""
+    export F90FLAGS=$FFLAGS
+    export CONFIG_FLAGS=""
+    export OPTIMIZATION_FLAG="-O3"
+%endif
 #############################################################################
 
 EXTRA_CFLAG=$CFLAGS
@@ -259,7 +274,11 @@
     CFLAGS="-DCOMPAT_MODE $CFLAGS"
 %endif
 
-export CFLAGS="$OPTIMIZATION_FLAG -g -D_GNU_SOURCE -DCH_GEN2 -DMEMORY_SCALE -D_AFFINITY_ $CFLAGS -D_SMP_ -D_SMP_RNDV_ -DVIADEV_RPUT_SUPPORT -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER $ARCH_NAME -I$IB_INCLUDE"
+#export CFLAGS="$OPTIMIZATION_FLAG -g -D_GNU_SOURCE -DCH_GEN2 -DMEMORY_SCALE -D_AFFINITY_ $CFLAGS -D_SMP_ -D_SMP_RNDV_ -DVIADEV_RPUT_SUPPORT -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER $ARCH_NAME -I$IB_INCLUDE"
+#
+# for Sun Studio compiler
+#
+export CFLAGS="$OPTIMIZATION_FLAG -DRDMA_FAST_PATH -DEARLY_SEND_COMPLETION -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DCH_GEN2_MRAIL -DLAZY_MEM_UNREGISTER ${COMPILER_FLAG} $ARCH_NAME -I${IB_INCLUDE}"
 export USER_CFLAGS
 export MPE_OPTS
 export MPE_CFLAGS
@@ -269,7 +288,11 @@
 export F90FLAGS="$F90FLAGS $EXTRA_CFLAG"
 export CONFIG_FLAGS
 export MPIRUN_CFLAGS="$MPIRUN_CFLAGS -DPARAM_GLOBAL=\\\"%{_prefix}/etc/$conffile\\\" -DLD_LIBRARY_PATH_MPI=\\\"%{_prefix}/lib/shared\\\" -DMPI_PREFIX=\\\"%{_prefix}/\\\" $DEF_BUILDID"
-./configure --enable-sharedlib --with-device=%{mpi_device} --with-arch=LINUX --prefix=%{build_root}%{_prefix} $CONFIG_ENABLE_F77 $CONFIG_ENABLE_F90 $COMPILER_CONFIG -lib="-L$IB_LIB -libverbs -libumad -libcommon -lpthread $EXTRA_CFLAG" $MPE_FLAGS $CONFIG_FLAGS 
+#./configure --enable-sharedlib --with-device=%{mpi_device} --with-arch=LINUX --prefix=%{build_root}%{_prefix} $CONFIG_ENABLE_F77 $CONFIG_ENABLE_F90 $COMPILER_CONFIG -lib="-L$IB_LIB -libverbs -libumad -libcommon -lpthread $EXTRA_CFLAG" $MPE_FLAGS $CONFIG_FLAGS 
+#
+# for Sun Studio compiler
+#
+./configure --with-device=%{mpi_device} --with-arch=LINUX --prefix=%{build_root}%{_prefix} $CONFIG_ENABLE_F77 $CONFIG_ENABLE_F90 $COMPILER_CONFIG -lib="-L$IB_LIB -libverbs -libumad -libcommon -lpthread $EXTRA_CFLAG" $MPE_FLAGS $CONFIG_FLAGS --without-mpe
 %{__make}
 
 #############################################################################


More information about the mvapich-discuss mailing list