It depends on exactly what you mean by "batch files" -- are you running
under a scheduling / batch system? If so, which one?
Also, it depends on what MPICH supports (per my previous mail) -- if
you are using MPICH, then you really need to direct your support
questions to the MPICH maintainers, not this mailing list.
On Nov 8, 2004, at 6:42 PM, Asha wrote:
> 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:
>
> 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_______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|