Greetings.
This is really the wrong list to be mailing about your problem. This list
is specifically about the XMPI GUI parallel debugging tool for LAM/MPI.
It looks like you are having a problem with MPICH. I suggest that you
contact the MPICH developers for questions about MPICH.
Thanks.
On Wed, 1 Oct 2003, masego-otlhe_segone wrote:
> HI all
>
> Please can you assist I am getting this error message when trying to access
> compile my programs
>
> [msegone_at_ariel /usr/local/mpich-1.2.5.2/examples/basic]$ make cpi
> /usr/local/mpich-1.2.5.2/bin/mpicc -g -o cpi cpi.o -lm
> cpi.o: In function `main':
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:21: undefined reference to
> `MPI_Init'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:22: undefined reference to
> `MPI_Comm_size'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:23: undefined reference to
> `MPI_Comm_rank'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:24: undefined reference to
> `MPI_Get_processor_name'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:40: undefined reference to
> `MPI_Wtime'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:42: undefined reference to
> `MPI_Bcast'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:57: undefined reference to
> `MPI_Reduce'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:63: undefined reference to
> `MPI_Wtime'
> /usr/local/mpich-1.2.5.2/examples/basic/cpi.c:69: undefined reference to
> `MPI_Finalize'
> collect2: ld returned 1 exit status
> make: *** [cpi] Error 1
>
>
> Masego-otlhe Segone
>
> _______________________________________________
> This list is archived at
> http://www.lam-mpi.org/MailArchives/xmpi/
>
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|