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

Conftest.cpp C++ compiler error.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 6, 2014, 01:21
Default Conftest.cpp C++ compiler error.
  #1
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 3
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, 15:31
Default
  #2
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 3
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, 15:22
Default
  #3
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Stanford, CA
Posts: 301
Rep Power: 5
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 58 November 12, 2014 14:51
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 93 September 19, 2014 04:42
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Problem running perturbUCyl sen.1986 OpenFOAM 14 March 23, 2012 05:12


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