|
[Sponsors] |
Compile Error on Fedora, g++, no CGNS, no Metis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 27, 2013, 22:10 |
Compile Error on Fedora, g++, no CGNS, no Metis
|
#1 |
New Member
Josh
Join Date: Sep 2009
Posts: 14
Rep Power: 17 |
Here's what I did:
Code:
git clone https://github.com/su2code/SU2 Code:
./configure make Code:
g++ -DPACKAGE_NAME=\"SU\^2\" -DPACKAGE_TARNAME=\"SU\^2\" -DPACKAGE_VERSION=\"2.0.6\" -DPACKAGE_STRING=\"SU\^2\ 2.0.6\" -DPACKAGE_BUGREPORT=\"susquared-dev@lists.stanford.edu\" -DPACKAGE_URL=\"http://su2.stanford.edu\" -DPACKAGE=\"SU\^2\" -DVERSION=\"2.0.6\" -I. -DNO_CGNS -DNO_METIS -DNO_TECIO -DNO_MPI -MT ../src/libSU2_a-linear_solvers_structure.o -MD -MP -MF ../src/.deps/libSU2_a-linear_solvers_structure.Tpo -c -o ../src/libSU2_a-linear_solvers_structure.o `test -f '../src/linear_solvers_structure.cpp' || echo './'`../src/linear_solvers_structure.cpp ../src/linear_solvers_structure.cpp: In member function ‘long unsigned int CSysSolve::ConjugateGradient(const CSysVector&, CSysVector&, CMatrixVectorProduct&, CPreconditioner&, double, long unsigned int, bool)’: ../src/linear_solvers_structure.cpp:155:11: error: ‘exit’ was not declared in this scope ../src/linear_solvers_structure.cpp: In member function ‘long unsigned int CSysSolve::FGMRES(const CSysVector&, CSysVector&, CMatrixVectorProduct&, CPreconditioner&, double, long unsigned int, bool)’: ../src/linear_solvers_structure.cpp:260:11: error: ‘exit’ was not declared in this scope ../src/linear_solvers_structure.cpp:271:11: error: ‘exit’ was not declared in this scope ../src/linear_solvers_structure.cpp: In member function ‘long unsigned int CSysSolve::BCGSTAB(const CSysVector&, CSysVector&, CMatrixVectorProduct&, CPreconditioner&, double, long unsigned int, bool)’: ../src/linear_solvers_structure.cpp:392:11: error: ‘exit’ was not declared in this scope make[1]: *** [../src/libSU2_a-linear_solvers_structure.o] Error 1 |
|
August 28, 2013, 01:02 |
|
#2 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Thanks for letting us know, and your nice words.
As you know, exit() is a very typical function in C++. But, as far I see, in gcc 4.3 the #include <cstdlib> should be in the code (before we were using #include <iostream>). I have just updated the git repository. Could you please try again with the new code. Cheers, Francisco Quote:
|
||
August 28, 2013, 21:31 |
|
#3 |
New Member
Josh
Join Date: Sep 2009
Posts: 14
Rep Power: 17 |
Works a treat; thanks!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compiling with MPI, METIS, CGNS on iMac | monkeytron | SU2 Installation | 5 | June 5, 2013 09:06 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |
Compile OpenFOAM on Fedora 8 | asaha | OpenFOAM Installation | 1 | August 25, 2008 12:41 |
How to conert cgns in to node array for Metis? | John | Main CFD Forum | 15 | November 14, 2006 09:33 |
How to conevrt cgns file in node array for metis? | John | CFX | 0 | November 12, 2006 23:54 |