JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  2005

LCG-ROLLOUT 2005

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: MPICH job support in LCG 2.3.0

From:

Vangelis Koukis <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Thu, 20 Jan 2005 17:55:13 +0200

Content-Type:

multipart/signed

Parts/Attachments:

Parts/Attachments

text/plain (81 lines) , signature.asc (81 lines)

On Thu, Jan 20, 2005 at 03:15:06pm +0100, Fokke Dijkstra wrote:
> When I submit an MPI job to your site I still get the above error. We have not defined a jobmanager in our LCFGng config files. I'm not sure if something default is defined in that case.
> I get the same error when submitting to grid10.lal.in2p3.fr:2119/jobmanager-torque-dteam all other sites were able to run my test job.
> 

From what I can understand, based on my experimentation with MPICH-LCG
integration in the last few days, Torque provides native support for
MPICH-type jobs, and runs mpirun itself. Until now, most MPI jobs were
submitted along with a wrapper script, which undertook running mpirun,
after consulting the $PBS_NODEFILE, in order to know exactly which
processors were allocated to it by the local scheduler.

In our current installation in HG-01-GRNET, no such script is
necessary, since a pbs_mom process on one of the worker nodes will
execute mpirun itself, with the necessary arguments.

> 
> We have installed a shared /home filesystem for the worker nodes. This makes the authentication easier since it is possible to make use of an authorized key. It also makes it easier for MPI jobs to get access to their data. As far as I know executables and data are not copied to all the worker nodes when an MPI job starts.
> 

This is also the case with our worker nodes. In fact, if it was not the
case, a wrapper script would be necessary in order to copy the input
sandbox to all other worker nodes that are going to be used, using for
example rsync or scp. However, since Torque runs mpirun directly when it
sees a JDL of JobType="MPICH", I'm not sure how this could be
accomplished with the current implementation/installation.

> The LCG scripts that generate the job create the correct pbs job script for you. This has the disadvantage that it leaves not much freedom to the user to do other things in his or her job. You can only submit an executable with some data and not run scripts that do for example a file transfer.
> 
> Another problem running jobs using mpirun is that pbs_mom does not really keep track of what a job is doing on the other worker nodes. When a job crashes or is killed from outside this may  then only kill the processes on the master woker node leaving garbage processes on the other worker nodes involved. 
> 
> This can be solved by making use of mpiexec. Mpiexec spawns the mpi processes using pbs_mom like you already explained. I first have installed it on our machines. Then you should be able to run jobs using mpiexec using a local account (very easy to have for testing purposes!). If that works you have to find a way to convince grid jobs to use mpiexec instead of doing mpirun.
> 

I agree completely. However, with the current version of Torque it seems
it is not up to the user (the submitted grid job) to decide whether
mpirun or mpiexec is to be run, since it is now run directly. However,
there are patches, which we are soon going to experiment with, that
integrate mpiexec into Torque:

http://www.osc.edu/~pw/mpiexec/

So, to sum up, all that is needed to run an MPI job on our site is a JDL
of the form:

JobType = "MPICH";
NodeNumber = 20;
Executable = "hello";
StdOutput = "hello.out";
StdError = "hello.err";
InputSandbox = {"hello"};
OutputSandbox = {"hello.out","hello.err"};
Requirements = other.GlueCEUniqueID == "ce01.isabella.grnet.gr:2119/jobmanager-torque-dteam"


> 
> Our RB does not work either, and probably none will. It is possible to make use of a different job manager, but I'm not sure how that works using YAIM.
> 

This is the reason why, for the time being the lrms type needs to be
manually provided for the job to be submitted properly:

edg-job-submit --lrms pbs -r ce01.isabella.grnet.gr:2119/jobmanager-torque-dteam --vo dteam mpi.jdl

However, I believe this is actually a bug of either YAIM or the lnx1188
RB installation, which presented the original error message: YAIM set
the lrms value to "Torque" for our site, and the RB seems to only look
for the lrms values of "lsf" or "pbs" in order to run an MPI job, so
one of the two most probably needs to adapt :) And anyway, if I
understand correctly Torque is just a PBS variant, so it could be used
as such without problems.

-- 
Vangelis Koukis
[log in to unmask]
OpenPGP public key ID:
pub  1024D/1D038E97 2003-07-13 Vangelis Koukis <[log in to unmask]>
     Key fingerprint = C5CD E02E 2C78 7C10 8A00  53D8 FBFC 3799 1D03 8E97


Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager