|
[Sponsors] |
Problem with inv_ONERAM6 parallel calculation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 31, 2013, 13:10 |
Problem with inv_ONERAM6 parallel calculation
|
#1 |
New Member
Leonardo Burchini
Join Date: Oct 2013
Posts: 5
Rep Power: 13 |
Hi to everyone,
I have a strange problem with the oneram6 parallel calculation: when te python script is started (with 6 cpu) all seems to work fine, i've got no errors and the calculation arrives at convergence but looking at the system monitor during the calculation i see that only 1 core of the 6 is working. Can anyone explain this? My system is a linux machine running Ubuntu 11.10 64 bit and the cpu is an Intel CORE i7 3930k. For more details there is a log of the terminal. Thanks in advance. |
|
November 3, 2013, 21:37 |
|
#2 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Quote:
It seems to me that SU2 is working properly in your computer, could you please just check that you speed up the code when increasing the number of cores? e.g. 2 cores is twice faster than 1. Anyway, my recommendation is to use the latest version of the code that you can find in https://github.com/su2code . We have improved a lot the parallelization in the current SU2 version. Best, Francisco |
||
November 4, 2013, 07:02 |
|
#3 |
New Member
Leonardo Burchini
Join Date: Oct 2013
Posts: 5
Rep Power: 13 |
Thank you for your reply.
As your suggestion i have tried to run calculation with 1 core and 2 core, with python script and launching manually mpirun processes: - with python script with 1 core the simulation reaches 195 iter in 10 minutes and with 2 cores in 12 minutes!! - launching mpirun manually the time is 5 minutes. In all cases the postprocessing indicates the correctness of the simulations. I use python 2.7 and mpich2 1.5. However i'll try install the latest version of the code. Thanks again! |
|
November 15, 2013, 12:41 |
|
#4 |
New Member
Leonardo Burchini
Join Date: Oct 2013
Posts: 5
Rep Power: 13 |
Problem solved!
I've made a fresh install of Ubuntu 13.10, installing mpich2 via apt get. Now all work fine! |
|
December 2, 2013, 12:27 |
|
#5 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
Hello,
I am having trouble with the parallel compilation. I tried with 2 versions of openmpi but it does not work. Could you please tell me how you did to compile with mpich2 since in the configure options (see the example below), you need to get the path to "mpicxx" and I have not found this file for mpich2. ./configure --prefix=/path/to/install/SU2 --with-CGNS-lib=/path/to/CGNS/lib --with-CGNS-include=/path/to/CGNS/headers --with-Metis-lib=/path/to/METIS/lib --with-Metis-include=/path/to/METIS/headers --with-Metis-version=5 --with-MPI=/path/to/mpicxx Thank you in advance for your answer Laurent |
|
December 2, 2013, 13:35 |
|
#6 |
New Member
Leonardo Burchini
Join Date: Oct 2013
Posts: 5
Rep Power: 13 |
Hallo Laurent,
if you are using Ubuntu, as in my case, you can install mpich2 via command sudo apt-get install mpich2. After that you can find the mpicxx command in /usr/bin directory. So the variable for mpi will be "--with-MPI=/usr/bin/mpicxx". This is my command line for configure on Ubuntu 12.10: sudo ./configure --prefix=/home/leo/sci_soft/SU2_RUN --with-CGNS-lib=/usr/local/lib --with-CGNS-include=/usr/local/include --with-Metis-lib=/home/leo/sci_soft/metis-4.0.3 --with-Metis-include=/home/leo/sci_soft/metis-4.0.3/Lib --with-Metis-version=4 --with-MPI=/usr/bin/mpicxx I hope this will be useful for you. NOTE: I've downgrade to 12.10 from 13.10 for Nvidia-CUDA compatibility problems. Leonardo |
|
December 2, 2013, 15:16 |
|
#7 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
Thank you for your answer. The problem is that it seems to work but it does not really, since when I perform a parallel computation, it takes the same time per iteration if I do it on 2 cores or on 4 cores. In fact, when I launch a parallel computation on 4 cores, it seems to do 4 times the same thing... And I don't know if it comes from the open mpi / mpich2 or from the metis library...
I need to do some checks because I'm not sure that it really uses "mpich2" with "/usr/bin/mpicxx" or if it uses open mpi (since both are installed on my computer) Thank you for your help Laurent |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in Running OpenFoam in Parallel | himanshu28 | OpenFOAM Running, Solving & CFD | 1 | July 11, 2013 10:19 |
CFX parallel hp MPI problem | fluidmechanics | CFX | 5 | June 19, 2013 20:05 |
Distributed parallel problem | Maurice | CFX | 2 | October 13, 2006 10:11 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |
parallel mode - small problem? | co2 | FLUENT | 2 | June 2, 2004 00:47 |