[mpich-discuss] Problem installing MPICH2 on Solaris 10, 'configure' successful but 'make' fails

Dave Goodell goodell at mcs.anl.gov
Tue Apr 3 11:31:20 CDT 2012


Would you be willing to try a nightly snapshot from the 1.5 preview release line?  The 1.4.1p1 release uses a different, older build system and it is sometimes harder to debug.

http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/trunk/mpich2-trunk-r9666.tar.gz

Alternatively we can pursue debugging this 1.4.1p1 build, but it will be pretty painful over email.  I think we would start with looking at the output of "gmake --debug=bvj" and hope that gives us a lead to follow.

-Dave

On Apr 3, 2012, at 4:13 AM CDT, Fath Adam wrote:

> I tried with gmake after deleting everything and un-tarring anew.
> I got more or less the same problem! here is the make log.
> Thank you Dave!
> 
> Making all in src
> make  all-am
> /bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src       -MT
> opa_primitives.lo -MD -MP -MF .deps/opa_primitives.Tpo -c -o
> opa_primitives.lo
> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_primitives.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I.
> -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src -MT
> opa_primitives.lo -MD -MP -MF .deps/opa_primitives.Tpo -c
> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_primitives.c -o
> opa_primitives.o
> mv -f .deps/opa_primitives.Tpo .deps/opa_primitives.Plo
> /bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src       -MT
> opa_queue.lo -MD -MP -MF .deps/opa_queue.Tpo -c -o opa_queue.lo
> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_queue.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I.
> -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src -MT opa_queue.lo
> -MD -MP -MF .deps/opa_queue.Tpo -c
> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_queue.c -o
> opa_queue.o
> mv -f .deps/opa_queue.Tpo .deps/opa_queue.Plo
> /bin/bash ../libtool --tag=CC    --mode=link gcc    -version-info 1:0
> -o libopa.la -rpath /users/avtools/adam/mpich2-install/lib
> opa_primitives.lo opa_queue.lo  -lpthread
> libtool: link: ar cru .libs/libopa.a  opa_primitives.o opa_queue.o
> libtool: link: ranlib .libs/libopa.a
> libtool: link: ( cd ".libs" && rm -f "libopa.la" && ln -s
> "../libopa.la" "libopa.la" )
> Making all in test
> make: Fatal error: Don't know how to make target `dataloop.o'
> Current working directory /tmp/adam/src/mpid/common/datatype/dataloop
> *** Error code 1
> The following command caused the error:
> (cd dataloop && make all )
> make: Fatal error: Command failed for target `all-redirect'
> Current working directory /tmp/adam/src/mpid/common/datatype
> *** Error code 1
> The following command caused the error:
> (cd datatype && make all )
> make: Fatal error: Command failed for target `all-redirect'
> Current working directory /tmp/adam/src/mpid/common
> *** Error code 1
> The following command caused the error:
> (cd common && make all )
> make: Fatal error: Command failed for target `all-redirect'
> Current working directory /tmp/adam/src/mpid
> *** Error code 1
> The following command caused the error:
> (cd mpid && make all )
> make: Fatal error: Command failed for target `all-redirect'
> Current working directory /tmp/adam/src
> gmake: *** [all-redirect] Error 1
> 
> On Wed, Mar 28, 2012 at 6:15 PM, Dave Goodell <goodell at mcs.anl.gov> wrote:
>> I'm assuming from the path name that you are using mpich2-1.4.1p1.  If that's not true, please let us know.
>> 
>> Can you try this with a fresh un-tar of mpich2-1.4.1p1.tar.gz?  The automatic "make clean" that's happening here indicates that you did a re-configure and there may be a problem related to the previous configure attempts.
>> 
>> I haven't seen this sort of error before.  One thing to try might be to run the "make" step with gnu make (usually "gmake"), if you have it installed.  It's possible that something is not quite right with implicit rules for non-gnu make.
>> 
>> -Dave
>> 
>> On Mar 28, 2012, at 9:33 AM CDT, Fath Adam wrote:
>> 
>>> Hello,
>>> I am trying to install MPICH2 on Solaris i86pc i386 i86pc.
>>> I configure using
>>> ./configure CFLAGS=-Wa,--divide
>>> --prefix=/users/avtools/adam/mpich2-install |& tee c2.txt
>>> it is successful! (copied the parameters from some thread here, my 1st
>>> set of parameters fails too!)
>>> when I run
>>> make |& m2.txt
>>> it fails!
>>> I am attaching the m.txt file below.
>>> Thanks for your help.
>>> Adam
>>> 
>>> Beginning make
>>> Using variables
>>> CC='/home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc'
>>> CFLAGS='-Wa,--divide  ' LDFLAGS=' ' F77='f77' FFLAGS=' ' FC='f90'
>>> FCFLAGS='  -O2' CXX='c++' CXXFLAGS='  -O2' AR='ar'
>>> CPP='/home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc -E'
>>> CPPFLAGS=' -I/tmp/adam/src/mpl/include
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpl/include
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src
>>> -I/tmp/adam/src/openpa/src -I/tmp/adam/src/mpid/ch3/include
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpid/ch3/include
>>> -I/tmp/adam/src/mpid/common/datatype
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpid/common/datatype
>>> -I/tmp/adam/src/mpid/common/locks
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpid/common/locks
>>> -I/tmp/adam/src/mpid/ch3/channels/nemesis/include
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/include
>>> -I/tmp/adam/src/mpid/ch3/channels/nemesis/nemesis/include
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/include
>>> -I/tmp/adam/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor
>>> -I/tmp/adam/src/util/wrappers
>>> -I/users/avtools/adam/mpich2-1.4.1p1/src/util/wrappers'
>>> make all-local
>>> make clean && cd test && make clean
>>> make cleanlibs
>>> rm -f lib/libmpich.a lib/libpmpich.a
>>> rm -f lib/libmpichcxx.a
>>> rm -f lib/libfmpich.a lib/libmpichf90.a
>>> rm -f lib/libmpich.so*
>>> rm -f lib/libpmpich.so*
>>> rm -f lib/libmpichcxx.so*
>>> rm -f lib/libfmpich.so*
>>> rm -f lib/libmpichf90.so*
>>> rm -f lib/libmpichf90.*.so*
>>> rm -f lib/libmpich.*.so*
>>> rm -f lib/libpmpich.*.so*
>>> rm -f lib/libmpichcxx.*.so*
>>> rm -f lib/libfmpich.*.so*
>>> rm -f lib/libmpich.la* lib/libpmpich.la*
>>> rm -f lib/libmpichf90.la*
>>> rm -f lib/libmpichcxx.la*
>>> rm -f lib/libfmpich.la*
>>> for dir in  src/mpl src/openpa src - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>>  rm -f strsep
>>> test -z "libmpl.la" || rm -f libmpl.la
>>> rm -f "./so_locations"
>>> rm -rf .libs _libs
>>> rm -f *.o
>>> rm -f *.lo
>>> Making clean in test
>>>  rm -f sanity test_primitives test_barriers test_queue
>>> rm -rf .libs _libs
>>> rm -f *.o
>>> rm -f *.lo
>>> Making clean in src
>>> test -z "libopa.la" || rm -f libopa.la
>>> rm -f "./so_locations"
>>> rm -rf .libs _libs
>>> rm -f *.o
>>> rm -f *.lo
>>> Making clean in .
>>> rm -rf .libs _libs
>>> rm -f *.lo
>>> for dir in mpl mpid mpi mpix util nameserv binding env packaging mpe2
>>> pmi pm - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>>  rm -f strsep
>>> test -z "libmpl.la" || rm -f libmpl.la
>>> rm -f "./so_locations"
>>> rm -rf .libs _libs
>>> rm -f *.o
>>> rm -f *.lo
>>> for dir in common ch3 - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> (cd datatype && make clean )
>>> (cd dataloop && make clean )
>>> for dir in channels src util ; do \
>>>     (cd $dir && make clean ) ; done
>>> for dir in nemesis - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> (cd nemesis && make clean )
>>> (cd src && make clean )
>>> (cd netmod && make clean )
>>> for dir in tcp - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> (cd utils && make clean )
>>> (cd monitor && make clean )
>>> (cd replacements && make clean )
>>> (cd src && make clean )
>>> for dir in   - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> for dir in attr coll comm datatype errhan group init misc pt2pt rma
>>> spawn timer topo romio  - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> 
>>> cleaning directory mpi-io
>>> 
>>> cleaning directory adio/common
>>> 
>>> cleaning directory mpi-io/glue/mpich2
>>> 
>>> cleaning directory adio/ad_testfs
>>> 
>>> cleaning directory adio/ad_ufs
>>> 
>>> cleaning directory adio/ad_nfs
>>> 
>>> cleaning directory test-internal
>>> rm -f .P* PI* *.o
>>> rm -f file_realms_test io_bounds_test heap_test
>>> 
>>> 
>>> 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
>>> aggregation1 aggregation2  async-multiple ordered_fp hindexed
>>> fcoll_test fperf fmisc pfcoll_test
>>> 
>>> (cd comm && make clean )
>>> for dir in mem info msgs instrm thread dbg param osserv procmap other  - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> for dir in file - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> for dir in  f77 f90 cxx - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> rm -f *.mod
>>> rm -f mpimod.pcl mpimod.pc
>>> rm -f libmpichf90.a
>>> make clean-postamble
>>> (cd pkgconfig && make clean )
>>> (cd envmods && make clean )
>>> rm -f /tmp/adam/src/mpe2/lib/lib*
>>> rm -f /tmp/adam/src/mpe2/lib/*.jar
>>> rm -f /tmp/adam/src/mpe2/lib/*.o
>>> cd src && make  clean
>>> for dir in simple - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> for dir in hydra  - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> Making clean in tools/topo/hwloc/hwloc
>>> Making clean in include
>>> rm -rf .libs _libs
>>> rm -f *.lo
>>> Making clean in src
>>> test -z "" || rm -f
>>> rm -rf .libs _libs
>>> test -z "libhwloc_embedded.la" || rm -f libhwloc_embedded.la
>>> rm -f "./so_locations"
>>> rm -f *.o
>>> rm -f *.lo
>>> Making clean in .
>>> rm -rf .libs _libs
>>> rm -f *.lo
>>> Making clean in ../../mpl
>>>  rm -f strsep
>>> test -z "libmpl.la" || rm -f libmpl.la
>>> rm -f "./so_locations"
>>> rm -rf .libs _libs
>>> rm -f *.o
>>> rm -f *.lo
>>> Making clean in .
>>>  rm -f hydra_persist hydra_nameserver hydra_pmi_proxy mpiexec.hydra
>>> rm -rf .libs _libs
>>> test -z "libhydra.la libpm.la" || rm -f libhydra.la libpm.la
>>> rm -f "./so_locations"
>>> rm -f "./so_locations"
>>> rm -f *.o
>>> rm -f *.lo
>>> make clean-postamble
>>> cd examples && make clean
>>> for dir in mpi mpid util basic commands ; do \
>>>     (cd $dir && make clean ) ; done
>>> rm -f summary.xml
>>> for dir in util attr basic datatype coll comm errhan group info init
>>> pt2pt rma spawn topo io  f77 f90 cxx threads errors manual perf - ; do
>>> \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> for dir in util attr datatype coll pt2pt info init comm topo rma spawn
>>> io ext ; do \
>>>     (cd $dir && make clean ) ; done
>>> rm -f .iotest.txt.*
>>> for dir in util timer attr coll datatype pt2pt info comm rma spawn
>>> topo io ext init misc f90types ; do \
>>>     (cd $dir && make clean ) ; done
>>> rm -f .iotest.txt.*
>>> for dir in util attr pt2pt init info comm coll datatype errhan io rma
>>> spawn ; do \
>>>     (cd $dir && make clean ) ; done
>>> rm -f summary.xml
>>> rm -f .iotest.txt.*
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> for dir in util pt2pt comm init spawn ; do \
>>>     (cd $dir && make clean ) ; done
>>> for dir in attr coll comm group pt2pt rma spawn topo io  f77 f90 cxx
>>> basic faults - ; do \
>>>     if [ "$dir" = "-" ] ; then break ; fi ; \
>>>     (cd $dir && make clean ) ; done
>>> rm -f summary.xml
>>> (cd io && make clean )
>>> rm -f summary.xml
>>> (cd errhan && make clean )
>>> rm -f summary.xml
>>> rm -f summary.xml
>>> (cd ch3 && make clean )
>>> (cd timer && make clean )
>>> rm -f err.txt out.log out.txt stdintest stdintest2 sdtiotest a.out
>>> rm -f lib/newconfig
>>>   CC     mplstr.lo
>>>   CC     mpltrmem.lo
>>>   CC     mplenv.lo
>>>   CCLD   libmpl.la
>>> Making all in src
>>> make  all-am
>>> source='/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_primitives.c'
>>> object='opa_primitives.lo' libtool=yes \
>>> DEPDIR=.deps depmode=none /bin/bash
>>> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/confdb/depcomp \
>>> /bin/bash ../libtool --tag=CC    --mode=compile
>>> /home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc -DHAVE_CONFIG_H
>>> -I. -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src
>>> -Wa,--divide -c -o opa_primitives.lo
>>> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_primitives.c
>>> libtool: compile:
>>> /home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc -DHAVE_CONFIG_H
>>> -I. -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src -Wa,--divide
>>> -c /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_primitives.c
>>> -o opa_primitives.o
>>> source='/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_queue.c'
>>> object='opa_queue.lo' libtool=yes \
>>> DEPDIR=.deps depmode=none /bin/bash
>>> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/confdb/depcomp \
>>> /bin/bash ../libtool --tag=CC    --mode=compile
>>> /home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc -DHAVE_CONFIG_H
>>> -I. -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src
>>> -Wa,--divide -c -o opa_queue.lo
>>> /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_queue.c
>>> libtool: compile:
>>> /home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc -DHAVE_CONFIG_H
>>> -I. -I/users/avtools/adam/mpich2-1.4.1p1/src/openpa/src -Wa,--divide
>>> -c /users/avtools/adam/mpich2-1.4.1p1/src/openpa/src/opa_queue.c -o
>>> opa_queue.o
>>> /bin/bash ../libtool --tag=CC    --mode=link
>>> /home/dfdtools/wrapper/SunOS_X86/Sun-Studio-12/bin/cc  -Wa,--divide
>>> -version-info 1:0  -o libopa.la -rpath
>>> /users/avtools/adam/mpich2-install/lib opa_primitives.lo opa_queue.lo
>>> -lpthread
>>> libtool: link: ar cru .libs/libopa.a  opa_primitives.o opa_queue.o
>>> libtool: link: ranlib .libs/libopa.a
>>> libtool: link: ( cd ".libs" && rm -f "libopa.la" && ln -s
>>> "../libopa.la" "libopa.la" )
>>> Making all in test
>>> make: Fatal error: Don't know how to make target `dataloop.o'
>>> Current working directory /tmp/adam/src/mpid/common/datatype/dataloop
>>> *** Error code 1
>>> The following command caused the error:
>>> (cd dataloop && make all )
>>> make: Fatal error: Command failed for target `all-redirect'
>>> Current working directory /tmp/adam/src/mpid/common/datatype
>>> *** Error code 1
>>> The following command caused the error:
>>> (cd datatype && make all )
>>> make: Fatal error: Command failed for target `all-redirect'
>>> Current working directory /tmp/adam/src/mpid/common
>>> *** Error code 1
>>> The following command caused the error:
>>> (cd common && make all )
>>> make: Fatal error: Command failed for target `all-redirect'
>>> Current working directory /tmp/adam/src/mpid
>>> *** Error code 1
>>> The following command caused the error:
>>> (cd mpid && make all )
>>> make: Fatal error: Command failed for target `all-redirect'
>>> Current working directory /tmp/adam/src
>>> *** Error code 1
>>> The following command caused the error:
>>> (cd src && make all )
>>> make: Fatal error: Command failed for target `all-redirect'
>>> _______________________________________________
>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>> To manage subscription options or unsubscribe:
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> 
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list