CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   SU2_SOL compilation error and no cgns surface solution in output (https://www.cfd-online.com/Forums/su2-installation/121641-su2_sol-compilation-error-no-cgns-surface-solution-output.html)

Akash C August 2, 2013 02:03

SU2_SOL compilation error and no cgns surface solution in output
 
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

economon August 19, 2013 15:19

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


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