As the error message indicates, you need to run the lamboot command first.

The lamboot command is used to start the LAM run-time environment.  Then
you can run MPI programs.  When you're done with the LAM run-time
environment, you run the command "lamhalt" to shut it down.  PBS scripts
to run LAM programs typically look like:

lamboot -v $PBS_NODEFILE
cd ~/cluster/biomap
mpirun N biomap
lamhalt

(where "N" expands to running on all available nodes, since you don't know
how many nodes were in $PBS_NODEFILE)


On Thu, 3 Apr 2003 [EMAIL PROTECTED] wrote:

> When I try to run mpirun within a PBS script I get the following message in my
> error file:
>
> It seems that there is no lamd running on this host, which indicates that the
> LAM/MPI runtime enviornment is not operating.  The LAM/MPI runtime enviornment
> is necessary for MPI programs to run (the MPI program tried to invoke
> the "MPI_Init" function).
>
> Please run the "lamboot" command the start the LAM/MPI runtime environment.
> See the LAM/MPI documentation for how to invoke "lamboot" across multiple
> machines.
>
> When I go to the command line and execute the same command that is in my PBS
> script mpirun executes normally and my program produces the expected output.
> So I am assuming the LAM/MPI is running fine when the script is exectuing.
>
> Are there an commands that I am missing in the script?
>
> Thanks for the help.
>
> -Chris
>
> ------------------------------SCRIPT-----------------------------------
>
> #PBS -o /home/cluster/output.txt
> #PBS -e /home/cluster/error.txt
> #
> #
> cd ~/cluster/biomap
> #
> mpirun -np 3 biomap
> #
> #
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Oscar-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>

-- 
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to