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

checking for C++ compiler default output file name... configure: error: C++ compiler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2013, 11:55
Default checking for C++ compiler default output file name... configure: error: C++ compiler
  #1
New Member
 
Join Date: Jul 2009
Posts: 18
Rep Power: 16
dhxlxz is on a distinguished road
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating trunk/Common/lib/Makefile
config.status: creating trunk/SU2_CFD/bin/Makefile
config.status: creating trunk/SU2_DDC/bin/Makefile
config.status: creating trunk/SU2_GPC/bin/Makefile
config.status: creating trunk/SU2_MAC/bin/Makefile
config.status: creating trunk/SU2_MDC/bin/Makefile
config.status: creating trunk/SU2_PBC/bin/Makefile
config.status: creating trunk/SU2_SMC/bin/Makefile
config.status: creating trunk/SU2Py/Makefile
config.status: executing depfiles commands


Build Configuration Summary:

Source code location: /home/**/SU2v2.0
Install location: /usr/local
Version: 2.0
Compiler: g++
Preprocessor flags:
Compiler flags: -DNO_MPI
Linker flags:
CGNS support: no
MPI support: no
Metis support: no

Build SU2_CFD: yes
Build SU2_DDC: yes
Build SU2_GPC: yes
Build SU2_MAC: yes
Build SU2_MDC: yes
Build SU2_PBC: yes
Build SU2_SMC: yes


Please be sure to add the $SU2_HOME and $SU2_RUN environment variables, and update your $PATH with $SU2_RUN

there is no problem! as i configure with ./configure --with-CGNS-lib=/usr/local/lib --with-CGNS-include=/usr/local/include --with-Metis-lib=/usr/local/lib --with-Metis-include=/usr/local/include --with-Metis-version=5 --with-MPI=/usr/local/bin
i got the output
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for /usr/local/lib/libcgns.a... yes
checking for /usr/local/include/cgnslib.h... yes
checking for /usr/local/lib/libmetis.a... yes
checking for /usr/local/include/metis.h... yes
checking for C++ compiler default output file name... configure: error: C++ compile
See `config.log' for more details.



The versions are mpich-3.0.4, cgnslib_3.1.4-2, metis-5.1.2, what is the matter???

Last edited by dhxlxz; September 6, 2013 at 12:04. Reason: add some more information
dhxlxz is offline   Reply With Quote

Old   September 6, 2013, 14:49
Default
  #2
New Member
 
Austin Murch
Join Date: Jul 2012
Location: Duluth, MN, USA
Posts: 13
Rep Power: 13
austin.m is on a distinguished road
When you specify the MPI option, you need to have the compiler specified, e.g.:

--with-MPI=/usr/local/bin/mpicxx
austin.m is offline   Reply With Quote

Old   September 7, 2013, 11:08
Thumbs up nice answer
  #3
New Member
 
Join Date: Jul 2009
Posts: 18
Rep Power: 16
dhxlxz is on a distinguished road
Hi, austin.m, thank you very much for your kind reply. It has been installed.
dhxlxz is offline   Reply With Quote

Reply


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
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
Gerris software installation mer Main CFD Forum 2 November 12, 2005 08:50


All times are GMT -4. The time now is 07:26.