Problem Building Parallel SU2
1 Attachment(s)
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 |
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? |
Quote:
I guess so, but I am not sure how to choose the right mpi. Sorry, I am really bad at this stuff |
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. |
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 |
All times are GMT -4. The time now is 09:47. |