Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about MPI #385

Open
Lo-hatch opened this issue Apr 7, 2023 · 1 comment
Open

question about MPI #385

Lo-hatch opened this issue Apr 7, 2023 · 1 comment

Comments

@Lo-hatch
Copy link
Contributor

Lo-hatch commented Apr 7, 2023

I have two question about MPI:

  1. If I run ED on a single plot, can I use more than one node to accerlate simulation?
    when I use 32 cpus in one node, the time sequence in log file is normal, however, when I use two nodes, it become choatic.
    Most confusing thing is the result of the two simulation is totally the same.

  2. If I run ED on a single plot, I don't need and should not use "mpirun -np 32", this is only used for multiple-grids run?

@xiangtaoxu
Copy link
Contributor

MPI is only used for mutliple gridcell (or polygon in ed2 terminology) run. Each grid cell will be assigned a single core.

For single grid/polygon/site simulation, you can use openmp, in this case, the model will distribute patches to different number of cohorts. The maximum openmp threads can be set through environmental variables.

openmp and MPI cannot be used together at least for now.

It would be great if you can upload the .out file before I can better answer your question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants