|
[Sponsors] |
October 16, 2018, 20:19 |
Problem Building Parallel SU2
|
#1 |
New Member
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 10 |
Hello,
I have been trying to build parallel SU2 on my machine, but had no progress. I have my openMPI installed and I did exactly the same procedure as in the manual and in all threads I have read so far. However, the parallel run calculates each serial case on each processor which means SU2 has not been built correctly. I have attached the log file. I noticed some errors in the log file, but I have no clue how to resolve them. Does anybody know what to do? Thank you, Stan |
|
October 17, 2018, 06:28 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13 |
How are you calling SU2 to run in parallel? mpirun -n # SU2_CFD ...
I ask because it seems you have other mpi distributions in your path, could it be a case of compiling with one version and running with another? |
|
October 17, 2018, 13:33 |
|
#3 | |
New Member
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 10 |
Quote:
I guess so, but I am not sure how to choose the right mpi. Sorry, I am really bad at this stuff |
||
October 18, 2018, 08:07 |
|
#4 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13 |
No worries.
So from your config you have this in your PATH (environment variable): /home/cfdadmin/Tools/MPITCH/mpich2-install/bin And you are compiling with: /home/cfdadmin/openmpi/bin/mpicc Which is not in PATH nor is it in a system folder, so when you type "mpirun" the OS is probably using the version in your path and not the one you compiled SU2 with. To test this: Run the command "which mpirun" If you get /home/cfdadmin/Tools/MPITCH/mpich2-install/bin/mpirun it means the hypothesis is correct. To fix the problem you can try running SU2 with the full path to the mpirun executable i.e.: /home/cfdadmin/openmpi/bin/mpirun Or, recompile SU2 with the mpi distribution you have installed in your system: --with-cc=/home/cfdadmin/Tools/MPITCH/mpich2-install/bin/mpicc and so on. |
|
October 23, 2018, 18:05 |
|
#5 | |
New Member
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 10 |
Quote:
Thank you very much!!! That was one problem. Another problem I found was taht I had one more SU2 installed in a local directory to which the machine was refering all the time. That SU2 was built using openmpi instead of mpich. After cleaning everything and reinstalling SU2 again, everything worked well |
||
Tags |
su2 build, su2 error, su2 parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
SU2 Parallel - cannot access or exectute | dbaldzhiev | SU2 | 3 | November 24, 2014 18:02 |
problem about running parallel on cluster | killsecond | OpenFOAM Running, Solving & CFD | 3 | July 23, 2014 22:13 |
Problem with parallel computation (case inviscid onera M6) | Combas | SU2 | 11 | January 30, 2014 02:20 |