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

SU2_SOL compilation error and no cgns surface solution in output

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2013, 02:03
Post SU2_SOL compilation error and no cgns surface solution in output
  #1
Member
 
Akash Chaudhari
Join Date: Dec 2012
Location: Pune, India
Posts: 31
Rep Power: 13
Akash C is on a distinguished road
Hi,
I have tried to compile the SU2_SOL module individually and the compiler throws the following error:
Code:
Creating /home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/bin/SU2_SOL
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o: In function `main':
SU2_SOL.cpp:(.text+0xa626): undefined reference to `COutput::COutput()'
SU2_SOL.cpp:(.text+0xa734): undefined reference to `COutput::SetBaselineResult_Files(CSolution**, CGeometry**, CConfig**, unsigned long, unsigned short)'
SU2_SOL.cpp:(.text+0xa7df): undefined reference to `CBaselineSolution::CBaselineSolution(CGeometry*, CConfig*, unsigned short)'
SU2_SOL.cpp:(.text+0xa80f): undefined reference to `CBaselineSolution::CBaselineSolution(CGeometry*, CConfig*, unsigned short)'
SU2_SOL.cpp:(.text+0xa882): undefined reference to `COutput::SetBaselineResult_Files(CSolution**, CGeometry**, CConfig**, unsigned long, unsigned short)'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o: In function `CSparseMatrixVectorProduct::operator()(CSysVector const&, CSysVector&) const':
SU2_SOL.cpp:(.text._ZNK26CSparseMatrixVectorProductclERK10CSysVectorRS0_[CSparseMatrixVectorProduct::operator()(CSysVector const&, CSysVector&) const]+0x12): undefined reference to `CSparseMatrix::MatrixVectorProduct(CSysVector const&, CSysVector&)'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o: In function `CJacobiPreconditioner::operator()(CSysVector const&, CSysVector&) const':
SU2_SOL.cpp:(.text._ZNK21CJacobiPreconditionerclERK10CSysVectorRS0_[CJacobiPreconditioner::operator()(CSysVector const&, CSysVector&) const]+0x12): undefined reference to `CSparseMatrix::ComputeJacobiPreconditioner(CSysVector const&, CSysVector&)'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o: In function `CLineletPreconditioner::operator()(CSysVector const&, CSysVector&) const':
SU2_SOL.cpp:(.text._ZNK22CLineletPreconditionerclERK10CSysVectorRS0_[CLineletPreconditioner::operator()(CSysVector const&, CSysVector&) const]+0x12): undefined reference to `CSparseMatrix::ComputeLineletPreconditioner(CSysVector const&, CSysVector&)'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o: In function `CIdentityPreconditioner::operator()(CSysVector const&, CSysVector&) const':
SU2_SOL.cpp:(.text._ZNK23CIdentityPreconditionerclERK10CSysVectorRS0_[CIdentityPreconditioner::operator()(CSysVector const&, CSysVector&) const]+0x4): undefined reference to `CSysVector::operator=(CSysVector const&)'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o: In function `CSparseMatrixSolMPI::operator()(CSysVector&) const':
SU2_SOL.cpp:(.text._ZNK19CSparseMatrixSolMPIclER10CSysVector[CSparseMatrixSolMPI::operator()(CSysVector&) const]+0x1d): undefined reference to `CSparseMatrix::SendReceive_Solution(CSysVector&, CGeometry*, CConfig*)'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV18CPotentialVariable[vtable for CPotentialVariable]+0x10): undefined reference to `CPotentialVariable::~CPotentialVariable()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV18CPotentialVariable[vtable for CPotentialVariable]+0x18): undefined reference to `CPotentialVariable::~CPotentialVariable()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV18CPotentialVariable[vtable for CPotentialVariable]+0x378): undefined reference to `CVariable::SetVelSolutionOldDVector()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV18CPotentialVariable[vtable for CPotentialVariable]+0x380): undefined reference to `CVariable::SetVelSolutionDVector()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV17CLevelSetVariable[vtable for CLevelSetVariable]+0x10): undefined reference to `CLevelSetVariable::~CLevelSetVariable()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV17CLevelSetVariable[vtable for CLevelSetVariable]+0x18): undefined reference to `CLevelSetVariable::~CLevelSetVariable()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV17CLevelSetVariable[vtable for CLevelSetVariable]+0x378): undefined reference to `CVariable::SetVelSolutionOldDVector()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTV17CLevelSetVariable[vtable for CLevelSetVariable]+0x380): undefined reference to `CVariable::SetVelSolutionDVector()'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTI17CLevelSetVariable[typeinfo for CLevelSetVariable]+0x10): undefined reference to `typeinfo for CVariable'
/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/obj/SU2_SOL.o:(.rodata._ZTI18CPotentialVariable[typeinfo for CPotentialVariable]+0x10): undefined reference to `typeinfo for CVariable'
collect2: ld returned 1 exit status
make: *** [/home.local/akash.chaudhari/SU_CFD/SU2v2.0.4/trunk/SU2_SOL/bin/SU2_SOL] Error 1
[akash.chaudhari@TSPLDEV-11 SU2_SOL]$
I believe this module can somehow be used to obtain the surface_flow solution in cgns format which currently isn't being made. I am using v2.0.4 and obtain only the .csv file for the surface solution when the cgns output format is specified.
I use paraview for postprocessing. Using the tabletopoints and delaunay filters it is possible to construct the surface solution from the .csv surface solution but the delaunay filter distorts the geometry to the point of oblivion.

Can some one please help me out on this one?

Thanks,
Akash
Akash C is offline   Reply With Quote

Old   August 19, 2013, 15:19
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Hi Akash,

Could you please try the latest version of the code? It should fix your issue above, and in version 2.0.6, we have included a revamped version of the ParaView output routines (select PARAVIEW as your output format). The latest version of the code can now be found on GitHub: https://github.com/su2code.

Cheers,
Tom
economon 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



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