byuflowlab / FLOWUnsteady

An interactional aerodynamics and acoustics solver for multirotor aircraft and wind energy
https://flow.byu.edu/FLOWUnsteady/
MIT License
237 stars 61 forks source link

Parallelize the simulation #169

Open NM1293 opened 2 weeks ago

NM1293 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

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.