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

Parallelize the simulation #169

Open
NM1293 opened this issue May 2, 2024 · 2 comments
Open

Parallelize the simulation #169

NM1293 opened this issue May 2, 2024 · 2 comments

Comments

@NM1293
Copy link

NM1293 commented May 2, 2024

Hello Everyone.
How it is possible to parallelize a simulation?
In the installation tutorial (https://flow.byu.edu/FLOWUnsteady/installation/general/), it is stated that the simulation should parallelize if ExaFMM is compiled with OpenMP. However, in my case, this does not seem to happen, and the computation is not parallelized. How can I proceed to parallelize the computation?

Thank you.

@EdoAlvarezR
Copy link
Collaborator

EdoAlvarezR commented May 2, 2024

ExaFMM should have already recognized OpenMP automatically and compiled the code with it.

What's your operative system? Did you install OpenMP as indicated in the instructions? (see below)

sudo apt-get update
sudo apt-get install cmake g++ mpich

The next thing is to look at the verbose after running build.sh and make sure that configure says

configure: OpenMP   : yes

and that the compilation commands are using mpicxx (if you are in Linux).

@NM1293
Copy link
Author

NM1293 commented May 2, 2024

What's your operative system? Did you install OpenMP as indicated in the instructions? (see below)

sudo apt-get update
sudo apt-get install cmake g++ mpich

I am working with Windows 10 Pro, using a WSL.
Yes, I have followed these instructions.

The next thing is to look at the verbose after running build.sh and make sure that configure says

configure: OpenMP   : yes

Can I rerun these instructions, even after the complete installation of FLOWUnsteady? Or is there a risk of compromising something? Perhaps something went wrong during the initial attempt.

Thank you.

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