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

Problems when compile SU2 v4.X with openmpi

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2015, 23:34
Default Problems when compile SU2 v4.X with openmpi
  #1
New Member
 
Boping M.
Join Date: Aug 2014
Location: China
Posts: 11
Rep Power: 11
BopngMa is on a distinguished road
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 06:40. Reason: append information
BopngMa is offline   Reply With Quote

Old   September 6, 2015, 06:30
Default
  #2
New Member
 
Boping M.
Join Date: Aug 2014
Location: China
Posts: 11
Rep Power: 11
BopngMa is on a distinguished road
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 12:24. Reason: append information
BopngMa is offline   Reply With Quote

Reply

Tags
installation by sources, parallel process, su2


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
Problems with Fedora 9 and OpenMPI harly OpenFOAM Running, Solving & CFD 11 May 3, 2009 04:18
Compile problems on ubuntu 810 with gcc432 deepblue17 OpenFOAM Bugs 10 March 2, 2009 07:32
GIT Compile of 15x on OpenSUSE 11 problems chrisd OpenFOAM Installation 2 January 30, 2009 12:25
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
Problems using local openmpi stephan OpenFOAM Installation 1 December 5, 2007 18:01


All times are GMT -4. The time now is 21:40.