[GE users] SGEfy a job

Sean Davis sdavis2 at mail.nih.gov
Sun Sep 21 02:10:45 BST 2008


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

On Sat, Sep 20, 2008 at 8:29 PM, Mag Gam <magawake at gmail.com> wrote:
> To refresh the groups memory I have a shell script like this:
>
> broadcast.sh --command "friction.sh" --settings settings.cfg
>
> What this script does is:
> Logins to hosts via SSH and executes the command "friction.sh" on the
> hosts with settings.cfg as its environment.
>
> settings.cfg looks like this:
> DEST=/concord/mech/dept
> SOURCE=/concord/mech/deptS
> JAVA_HOME=/usr/local/jre1.6.0_0
>
> I managed to get qrsh working but instead I am using qsub. I am using
> qsub because I can see the jobs using qstat and it will show the
> status of the job. Is this a good method? Any downside to this method?
> Any suggestions?

qsub is fine, yes.

> On Thu, Sep 18, 2008 at 6:02 AM, Mag Gam <magawake at gmail.com> wrote:
>> Thanks for the tips and advice. I was able to convert my job.
>> Actually, I split my job into 1 single job and everytime I need to add
>> more parameters I simple changes the arguments and it works very well.
>>
>> TIA
>>
>>
>>
>>
>> On Wed, Sep 17, 2008 at 7:42 AM, Sean Davis <sdavis2 at mail.nih.gov> wrote:
>>> On Wed, Sep 17, 2008 at 7:33 AM, Mag Gam <magawake at gmail.com> wrote:
>>>> Hello,
>>>>
>>>> I have a job which does a reactive fluid flow simulation and it
>>>> outputs several result files onto  a shared NFS filesystem. The way I
>>>> am doing it now is, splitting the job into n pieces and SSHing it over
>>>> to x servers and having each server run a small portion of the job.
>>>> This is the "poor" man's way of doing it. I was wondering if there is
>>>> a document or procedure I can follow to make my job run with SGE.
>>>
>>> Split your files as normal and give them names like:
>>>
>>> file_1..file_N
>>>
>>> Then, submit an array job.  See the man page for qsub and the -t argument.
>>>
>>> Sean
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>

---------------------------------------------------------------------
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