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

SU2 installation error on Linux:about c++ compiler

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pbrady2013

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 20, 2019, 07:43
Default SU2 installation error on Linux:about c++ compiler
  #1
New Member
 
Yue Zehua
Join Date: Apr 2019
Posts: 10
Rep Power: 7
yuezehua is on a distinguished road
Hi there,
whihe installing su2 on my Centos work station, I met this error when doing ./configure and enabling mpi settings. I typed:

./configure --prefix=/opt/software/SU2 CXXFLAGS="-O3" --enable-mpi --with-c=/opt/software/mpi/openmpi/1.6.5/gnu/4.8.2/bin/mpicc --with-cxx=/opt/spftware/mpi/openmpi/1.6.5/gnu/4.8.2/bin/mpicxx

however, there's an error:

checking whether we are cross compiling... configure: error: in `/home/customer/desktop/Yue/SU2/SU2-6.2.0':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details


so I checked the 'config.log':

configure:3550: ./conftest
./conftest: error while loading shared libraries: libmpi_cxx.so.1: cannot open shared object file: No such file or directory
configure:3554: $? = 127
configure:3561: error: in `/home/customer/desktop/Yue/SU2/SU2-6.2.0':
configure:3563: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.


but when i do "./configure', it shows c++ compiler is working(as checking whether c++ compiler works ... yes), so I'm really confused why there's a error about the c++ compiler as mentioned above, and i'm a new learner in CFD, waiting for your help! thanks a lot!!
yuezehua is offline   Reply With Quote

 


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
[OpenFOAM.com] Installing on Ubuntu 18.04 samiam1000 OpenFOAM Installation 11 April 27, 2020 00:01
[OpenFOAM.com] Issue configuring ./makeParaView - Ubuntu 16.04 bjdarrer OpenFOAM Installation 2 April 20, 2020 13:50
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 14:13.