[GE users] determining when a mpirun has succeeded and failed

Reuti reuti at staff.uni-marburg.de
Wed Jul 4 12:14:44 BST 2007

    [ The following text is in the "WINDOWS-1252" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]


Am 03.07.2007 um 23:15 schrieb Adam Bruss:
> I have SGE setup on a cluster and I can run commands from scripts  
> like the one below with success.
> As of now I can?t tell if the mpirun has succeeded or failed  
> without looking at the output file created by SGE with the mpirun  
> information. Is there a way I can use the exit_status in SGE  
> accounting to capture a ?success/failure? error code so I know if a  
> mpirun job has failed or succeeded?
> #!/bin/sh
> let i=0
> while [ $i -lt 1 ]
> do
>         qsub -N dfem -b y -V -pe mpi 1 "mpirun -D -c 1 dfem -type  
> rf3p wgdblbnd.sup"
>         let i=i+1
> done
what MPI implementation are you using? Do you have a Tight  
Integration implemented for the distribution of the tasks?

-- Reuti
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list