EDmodel / ED2

Ecosystem Demography Model
79 stars 112 forks source link

Running ED2 as a MPI ensemble #9

Closed Viskari closed 10 years ago

Viskari commented 10 years ago

Hello,

This is actually something that was solved in the earlier version of ED2, but this version has an issue with. So if I run ED2 in DART as an MPI ensemble, where the program is executed by different ensemble members, the ensemble crashes because ED2 automatically tries to run as a MPI program inside another MPI program.

This was solved in the previous version by doing some adjustments to it and then running it with -s after the executable and I was wondering can the same modification be done for the Github version.

-- Ton

robkooper commented 10 years ago

This is something I did for when we want to run many ED using mpi to launch those jobs. Will create a pull request for this.

robkooper commented 10 years ago

This is there in the master: https://github.com/EDmodel/ED2/blob/master/ED/src/driver/edmain.f90#L97 You should be able to start ED with -s to go in non MPI mode.

rgknox commented 10 years ago

Just out of curiosity Ton, when you say DART, is that the programming language dart or something to do with dart radiative transfer?

Thanks for the patch Rob.

On Fri, Oct 24, 2014 at 12:10 PM, Rob Kooper notifications@github.com wrote:

This is there in the master: https://github.com/EDmodel/ED2/blob/master/ED/src/driver/edmain.f90#L97 You should be able to start ED with -s to go in non MPI mode.

— Reply to this email directly or view it on GitHub https://github.com/EDmodel/ED2/issues/9#issuecomment-60435087.

serbinsh commented 10 years ago

The Data Assimilation Testbed (or whatever) not the French RTM!

S

Shawn P. Serbin Environmental & Climate Sciences Department Brookhaven National Laboratory Upton, NY 11973-5000

Phone: +1-631-344-3165 Fax: +1-631-344-2060 Email: sserbin@bnl.govmailto:sserbin@bnl.gov Bio: http://www.bnl.gov/envsci/bio/serbin-shawn.php TEST Group: http://www.bnl.gov/TEST/

Twitter: @doctorjackpine, @test_bnl

On Oct 24, 2014, at 3:13 PM, Ryan Knox notifications@github.com<mailto:notifications@github.com> wrote:

Just out of curiosity Ton, when you say DART, is that the programming language dart or something to do with dart radiative transfer?

Thanks for the patch Rob.

On Fri, Oct 24, 2014 at 12:10 PM, Rob Kooper notifications@github.com<mailto:notifications@github.com> wrote:

This is there in the master: https://github.com/EDmodel/ED2/blob/master/ED/src/driver/edmain.f90#L97 You should be able to start ED with -s to go in non MPI mode.

— Reply to this email directly or view it on GitHub https://github.com/EDmodel/ED2/issues/9#issuecomment-60435087.

— Reply to this email directly or view it on GitHubhttps://github.com/EDmodel/ED2/issues/9#issuecomment-60435520.

rgknox commented 10 years ago

what can I say, I got excited for a moment there

On Fri, Oct 24, 2014 at 12:44 PM, Shawn P. Serbin notifications@github.com wrote:

The Data Assimilation Testbed (or whatever) not the French RTM!

S

Shawn P. Serbin Environmental & Climate Sciences Department Brookhaven National Laboratory Upton, NY 11973-5000

Phone: +1-631-344-3165 Fax: +1-631-344-2060 Email: sserbin@bnl.govmailto:sserbin@bnl.gov Bio: http://www.bnl.gov/envsci/bio/serbin-shawn.php TEST Group: http://www.bnl.gov/TEST/

Twitter: @doctorjackpine, @test_bnl

On Oct 24, 2014, at 3:13 PM, Ryan Knox <notifications@github.com<mailto: notifications@github.com>> wrote:

Just out of curiosity Ton, when you say DART, is that the programming language dart or something to do with dart radiative transfer?

Thanks for the patch Rob.

On Fri, Oct 24, 2014 at 12:10 PM, Rob Kooper <notifications@github.com mailto:notifications@github.com> wrote:

This is there in the master: https://github.com/EDmodel/ED2/blob/master/ED/src/driver/edmain.f90#L97 You should be able to start ED with -s to go in non MPI mode.

— Reply to this email directly or view it on GitHub https://github.com/EDmodel/ED2/issues/9#issuecomment-60435087.

— Reply to this email directly or view it on GitHub< https://github.com/EDmodel/ED2/issues/9#issuecomment-60435520>.

— Reply to this email directly or view it on GitHub https://github.com/EDmodel/ED2/issues/9#issuecomment-60439299.

Viskari commented 10 years ago

That addition solved the problem, thanks.

-- Toni