Bob:
Having finally caught up on some summer work, I am back to
working with mpi on my Linux box and am having trouble getting
mpich to work. In particular, I get the errors given below, when
I try to compile the implementation.
I ran configure with the following switches...
./configure -arch=LINUX -device=ch_p4 -comm=shared -rsh=ssh \
-fc=pgf77
I would very much appreciate your posting the fixes either to myself
or to the mailing list.
Thanks,
Carey
On Fri, 21 Aug 1998, Bob Glamm wrote:
>
> A couple of days ago people were having trouble with getting the stock
> MPI from Argonne National Labs built correctly with -device=ch_shmem
> and -comm=shared. If there's anyone still having trouble getting it to
> build (and the tests to pass in examples/test) please let me know & I'll
> post the fixes.
>
======================================================================
<> Carey F. Cox, PhD | PHONE: (409) 880-8770 <>
<> Assistant Professor | FAX: (409) 880-8121 <>
<> Dept. of Mech. Eng. | EMAIL: [EMAIL PROTECTED] <>
<> Lamar University | WEB: N/A <>
======================================================================
-------------snip of make.log----------------------------------------------
/home1/carey/applic/mpich/lib/LINUX/ch_p4/mpiCC mpi2c++_test.o messages.o stack.o
signal.o allgather.o allreduce.o alltoall.o attr.o badbuf.o bcast.o bcast_struct.o
bottom.o bsend.o buffer.o cancel.o cartcomm.o commdup.o commfree.o compare.o dims.o
dup_test.o errhandler.o gather.o getcount.o getel.o graphcomm.o group.o
groupfree.o initialized1.o initialized2.o intercomm.o interf.o iprobe.o isend.o
op_test.o pack_test.o pcontrol.o probe.o procname.o rank_size.o reduce.o
reduce_scatter.o request1.o rsend.o scan.o scatter.o send.o sendrecv.o sendrecv_rep.o
split.o ssend.o start.o startall.o status_test.o struct_gatherv.o test1.o test3.o
testall.o testany.o testsome.o topo.o waitall.o waitany.o waitsome.o wtime.o -o
mpi2c++_test -O
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfcmn.o)(.data+0x8): undefined
reference to `pmpi_wtime_'
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfcmn.o)(.data+0xc): undefined
reference to `pmpi_wtick_'
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfdte.o)(.data+0x8): undefined
reference to `pmpi_wtime_'
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfdte.o)(.data+0xc): undefined
reference to `pmpi_wtick_'
make[2]: *** [mpi2c++_test] Error 1
make[1]: *** [examples] Error 2
make: [mpi] Error 2 (ignored)
Testing that MPI applications can be linked...
make --no-print-directory linktest
( cd examples/test/pt2pt; make --no-print-directory linktest )
/home1/carey/applic/mpich/lib/LINUX/ch_p4/mpicc -DHAVE_PROTOTYPES -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DUSE_STDARG -c overtake.c
/home1/carey/applic/mpich/lib/LINUX/ch_p4/mpicc -DHAVE_PROTOTYPES -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DUSE_STDARG -c test.c
/home1/carey/applic/mpich/lib/LINUX/ch_p4/mpicc -o overtake overtake.o test.o
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfcmn.o)(.data+0x8): undefined
reference to `pmpi_wtime_'
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfcmn.o)(.data+0xc): undefined
reference to `pmpi_wtick_'
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfdte.o)(.data+0x8): undefined
reference to `pmpi_wtime_'
/home1/carey/applic/mpich/lib/LINUX/ch_p4/libmpich.a(initfdte.o)(.data+0xc): undefined
reference to `pmpi_wtick_'
make[2]: *** [overtake] Error 1
make[1]: *** [linktest] Error 2
make: *** [mpi] Error 2