CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Problem Building Parallel SU2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2018, 20:19
Unhappy Problem Building Parallel SU2
  #1
New Member
 
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 10
StanislavKarpuk is on a distinguished road
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
Attached Files
File Type: txt config.txt (33.9 KB, 27 views)
StanislavKarpuk is offline   Reply With Quote

Old   October 17, 2018, 06:28
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
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?
pcg is offline   Reply With Quote

Old   October 17, 2018, 13:33
Default
  #3
New Member
 
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 10
StanislavKarpuk is on a distinguished road
Quote:
Originally Posted by pcg View Post
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?
Yes, I call SU2 using mpirun -n # SU2_CFD...
I guess so, but I am not sure how to choose the right mpi. Sorry, I am really bad at this stuff
StanislavKarpuk is offline   Reply With Quote

Old   October 18, 2018, 08:07
Default
  #4
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
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.
pcg is offline   Reply With Quote

Old   October 23, 2018, 18:05
Red face
  #5
New Member
 
Stanislav Karpuk
Join Date: Sep 2016
Posts: 9
Rep Power: 10
StanislavKarpuk is on a distinguished road
Quote:
Originally Posted by pcg View Post
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.

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
StanislavKarpuk is offline   Reply With Quote

Reply

Tags
su2 build, su2 error, su2 parallel


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:15.