|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 9 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#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? |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 9 ![]() |
Quote:
I guess so, but I am not sure how to choose the right mpi. Sorry, I am really bad at this stuff |
||
![]() |
![]() |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 9 ![]() |
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 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 11:58 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
SU2 Parallel - cannot access or exectute | dbaldzhiev | SU2 | 3 | November 24, 2014 17:02 |
problem about running parallel on cluster | killsecond | OpenFOAM Running, Solving & CFD | 3 | July 23, 2014 21:13 |
Problem with parallel computation (case inviscid onera M6) | Combas | SU2 | 11 | January 30, 2014 01:20 |