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

Conftest.cpp C++ compiler error.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2014, 02:21
Default Conftest.cpp C++ compiler error.
  #1
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12
CrashLaker is on a distinguished road
Hello. I got an error on conftest.cpp while running configure file.
This is my configure line :
Code:
./configure --prefix="/scratch/su2mpi" --with-Metis-lib="/scratch/metis/lib" 
--with-Metis-include="/scratch/metis/include" --with-Metis-version=5 
--with-MPI="/scratch/programas/intel/ompi-1.4-intel/bin/mpicxx"
Where is this conftest.cpp?

Code:
configure:3185: checking whether the C++ compiler works
configure:3207: /scratch/programas/intel/ompi-1.4-intel/bin/mpicxx -E   conftest.cpp  >&5
# 1 "conftest.cpp"
 
# 10 "conftest.cpp"
 

int
main ()
{

  ;
  return 0;
}
configure:3211: $? = 0
configure:3249: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SU^2"
| #define PACKAGE_TARNAME "SU^2"
| #define PACKAGE_VERSION "3.0.0 "eagle""
| #define PACKAGE_STRING "SU^2 3.0.0 "eagle""
| #define PACKAGE_BUGREPORT "susquared-dev@lists.stanford.edu"
| #define PACKAGE_URL "http://su2.stanford.edu"
| #define PACKAGE "SU^2"
| #define VERSION "3.0.0 "eagle""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3254: error: in `/puma_data/SU2':
configure:3256: error: C++ compiler cannot create executables
CrashLaker is offline   Reply With Quote

Old   April 8, 2014, 16:31
Default
  #2
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12
CrashLaker is on a distinguished road
Got it. I was using -E flag that was echoing garbage.

I got some more error regarding python's version. To solve
that I had to install python above 2.5 and below 3.0 for compatibility
(precisely it was python 2.7).
CrashLaker is offline   Reply With Quote

Old   April 13, 2014, 16:22
Default
  #3
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Quote:
Originally Posted by CrashLaker View Post
Got it. I was using -E flag that was echoing garbage.

I got some more error regarding python's version. To solve
that I had to install python above 2.5 and below 3.0 for compatibility
(precisely it was python 2.7).
Great!

Thanks for using SU2,

Best Regards,
Francisco
fpalacios 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
Problem running perturbUCyl sen.1986 OpenFOAM 17 June 4, 2019 06:56
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 07:45
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 10:40
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11


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