[Beowulf] qsub script and input files

Reuti reuti at staff.uni-marburg.de
Fri Aug 19 04:55:08 PDT 2005


Deek,

in MPICH it's working as you would like it. The startup of the program 
is completely different with LAM-MPI. But you could just give the 
filename as command line argument and open the file inside the program:

$ mpirun c29b2_xxlarge_mpi inputfile.inp


Cheers - Reuti


decon brody wrote:
> Hi all, first off, thanks so much for all the hardwork all of you put
> into making this, the beowulf and the HPC community work like it does!
>  This is an excellent example of how the opensource community can come
> together!
> 
> That said, I'm trying to write a script for pbs (torque) that will
> take an input file, if I run it from the command line, it would look
> like this:
> 
> c29b2_xxlarge_mpi < inputfile.inp
> 
> if I wanted to run it with mpirun and I do this:
> 
> mpirun c29b2_xxlarge_mpi < inputfile.inp
> 
> this of course doesn't work.  Is there anyway to pass options to a
> binary like this?  fyi, it's lam-mpi but I don't think it makes a
> difference..
> 
> thanks for the help!
> deek
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf




More information about the Beowulf mailing list