|
[Sponsors] |
"C++ compiler cannot create executables" with working C++ compilers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 28, 2016, 21:49 |
"C++ compiler cannot create executables" with working C++ compilers
|
#1 | |||
New Member
Michael
Join Date: Jul 2016
Location: Huntsville, Alabama
Posts: 9
Rep Power: 10 |
I posted this as an add-on in another thread yesterday, but figured I'd make a separate thread for this issue.
I initially had a simple build of SU2 on my Ubuntu machine, done by doing ./configure and all the make/install without flags, and that worked fine, but I now am trying to speed up my computing time a little. So, in attempting to do a clean install of SU2, doing ./configure with enabling mpi and pointing to an mpi cxx directory (/usr/include/mpi), I get the following (along with some other fine stuff): Quote:
Quote:
Quote:
|
||||
July 28, 2016, 22:34 |
|
#2 |
New Member
Michael
Join Date: Jul 2016
Location: Huntsville, Alabama
Posts: 9
Rep Power: 10 |
Ok, I fixed it. For anyone else who is struggling with this issue, make sure you're linking to the /usr/bin/mpicc and /usr/bin/mpicxx rather than anywhere else
|
|
August 16, 2016, 19:42 |
|
#3 |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 |
Thanks for posting the solution - you do indeed need to link to the mpi compilers (or have your $PATH set up so that they are found automatically) when compiling for parallel.
|
|
February 19, 2018, 17:54 |
|
#4 |
New Member
Join Date: Jan 2013
Posts: 2
Rep Power: 0 |
Thanks for posting your solution
Last edited by brazdj; February 19, 2018 at 18:25. Reason: Made a typo and it worked... DOH! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 16:11 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
[Salome] how to create geometry with salome to make "IdeasUnvToFoam" working! | amorenelchino | OpenFOAM Meshing & Mesh Conversion | 5 | June 24, 2013 11:35 |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) | sfigato | OpenFOAM Installation | 22 | January 31, 2013 11:16 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 08:06 |