LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Asha (s_asha_j_at_[hidden])
Date: 2004-11-08 18:42:57


Thank You very much.
I greatly appreciate it.
 
Can anyone tell me how to run MPI batch files.
Like I created the batch file to run the program but I am not able to run it.
 
thanks
 
Asha

Mark Dickson <mark_at_[hidden]> wrote:
v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}st1\:*{behavior:url(#default#ieooui) }
It appears as though you have identified the directory that contains the MPICH libraries but not the specific MPICH libraries; try adding –lmpich.a.

 

---------------------------------

From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf Of Asha
Sent: Monday, November 08, 2004 12:02 PM
To: lam_at_[hidden]
Subject: LAM: MPI: how to debug this compilation error

 

Hi all,

 

I am getting this error on compiling and am not able to proceed furthur.

 

[guest_at_IA-P3-001 msPGA]$ make
g++ -I. -I/include -I/usr/local/mpich-1.2.5/include -O -DGA_TIMING -DCACHE_ALL=true -DLEFT_RIGHT -DONE_POINT_MUTATION -o msPGA msPGA.o my_std.o random.o -L/lib/ -L/usr/local/mpich-1.2.5/lib -lm
msPGA.o: In function `main':
msPGA.o(.text+0x1296): undefined reference to `MPI_Init'
msPGA.o(.text+0x12a4): undefined reference to `MPI_Comm_rank'
msPGA.o(.text+0x12b2): undefined reference to `MPI_Comm_size'
msPGA.o(.text+0x1a4c): undefined reference to `MPI_Send'
msPGA.o(.text+0x1aaf): undefined reference to `MPI_Recv'
collect2: ld returned 1 exit status
make: *** [msPGA] Error 1

 

What does this mean and what should I do ?

Can anyone help me in this regard.

 

Thanks

 

Asha

---------------------------------

Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
                        
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com