|
[Sponsors] |
September 6, 2015, 00:34 |
Problems when compile SU2 v4.X with openmpi
|
#1 |
New Member
Boping M.
Join Date: Aug 2014
Location: China
Posts: 11
Rep Power: 12 |
Hello sir,
When I tried to compile SU2 v4.0.0 with MPI, I met the same problems with @nilesh (http://www.cfd-online.com/Forums/su2...-same-job.html), the parallel nodes were just doing the same job, I tried to solve the problems referring to the Installation Guide (http://adl-public.stanford.edu/docs/...D/Installation), the problems persisted. Now I tried to compile SU2 v4.0.1 with MPI and CGNS support, I installed CGNS lib already and used newer way to specify mpi(using "--enable-mpi --with-cc=/path/to/mpicc --with-cxx=/path/to/mpicxx"), and my full configuration is as follows "./configure --prefix=/home/ma/Applications/SU2/su2_v4.0.1 --enable-mpi --with-cxx=/usr/bin/mpicxx --with-cc=/usr/bin/mpicc CXXFLAGS="-O3" --with-CGNS-lib=/home/ma/Applications/CGNSLIB-3.2.1/lib --with-CGNS-include=/home/ma/Applications/CGNSLIB-3.2.1/include --with-HDF5-lib=/home/ma/Applications/HDF5-1.8.15/lib --with-HDF5-include=/home/ma/Applications/HDF5-1.8.15/include LIBS="/home/ma/Applications/HDF5-1.8.15/lib/libhdf5.a -ldl" 2>&1 | tee c.txt" And after I installed SU2 correctly , I used "mpirun -n 2 SU2_CFD turb_SA_NASA0714.cfg", the problems persisted. I don't know what to do now. Please help me. I am using an i5 machine with 2 cores (multithreaded to 4) with the latest version of SU2 on Ubuntu 14.04 LTS. Thanks. HERE, I used “mpirun -n 2 SU2_CFD turb_SA_NASA0714.cfg" command and the execution result showed that both threads were only running on one core! Here is the configure result (http://pan.baidu.com/s/1mgCet9Q) Here is the make result (http://pan.baidu.com/s/1hqGqouS) Here is the make install result (http://pan.baidu.com/s/1qW1gLiO) Last edited by BopngMa; September 6, 2015 at 07:40. Reason: append information |
|
September 6, 2015, 07:30 |
|
#2 |
New Member
Boping M.
Join Date: Aug 2014
Location: China
Posts: 11
Rep Power: 12 |
Problems solved.
I installed both mpich and openmpi, and I used openmpi to configure SU2, when I use mpirun command, the system automatically calls mpirun.mpich, to execute parallel su2 correctly, just use "mpirun.openmpi -n 4 SU2_CFD *.cfg". Hope this will help you. Thanks. Last edited by BopngMa; September 9, 2015 at 13:24. Reason: append information |
|
Tags |
installation by sources, parallel process, su2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with Fedora 9 and OpenMPI | harly | OpenFOAM Running, Solving & CFD | 11 | May 3, 2009 05:18 |
Compile problems on ubuntu 810 with gcc432 | deepblue17 | OpenFOAM Bugs | 10 | March 2, 2009 08:32 |
GIT Compile of 15x on OpenSUSE 11 problems | chrisd | OpenFOAM Installation | 2 | January 30, 2009 13:25 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |
Problems using local openmpi | stephan | OpenFOAM Installation | 1 | December 5, 2007 19:01 |