|
[Sponsors] |
October 7, 2015, 15:23 |
SU2 not built with CGNS support.
|
#1 |
New Member
Max
Join Date: Sep 2015
Posts: 5
Rep Power: 11 |
Hello,
I have installed the 4.0.0 version of SU2 for Windows. I have run several test cases which use the .su2 mesh format with little issue. Now, when I try to run my own case which uses a .cgns mesh format I get errors saying that SU2 was not built with CGNS support. I tried to run a different test case that had a CGNS mesh and it did not work either. The exact message displayed is: SU2 built without CGNS support!! To use CGNS, remove the -DNO_CGNS directive from the makefile and supply the correct path to the CGNS library. I am a new user so this may be a simple fix. However, on the Windows Installation page it states that CGNS 3.1.4 is included in the installer. How do I resolve the issue? |
|
October 29, 2015, 07:42 |
|
#2 | |
New Member
Ouissem B.
Join Date: Apr 2015
Location: Paris, FR
Posts: 7
Rep Power: 11 |
Quote:
Actually, you have to specify the path for the CGNS library in the configuration step while installing SU2. As far as I know, it's only faisable when compiling and installing from the source code! I've tried to do the same few weeks ago (and I asked the same question as you right here!) but went finally for Linux. It works just fine! On linux, you have to specify : --with-CGNS-lib=/path/to/CGNS/lib --with-CGNS-include=/path/to/CGNS/header in the configuration (./configure) step when compiling the source code. It maybe done using CygWin on Windows, but I didn't try it. |
||
May 10, 2016, 11:49 |
|
#3 |
Member
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10 |
Hi folks,
i'm having this exact issue now after building su2 without cgns support. i am now having trouble actually finding the paths which i need to include to the cgns library etc. should these directories have been included as part of the original source code download? and if so does anyone have an idea where i might find them? many thanks! |
|
May 11, 2016, 09:02 |
|
#4 |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 12 |
You can try to use the command
locate libcgns.a (or .so it depends on how they were compiled) and locate libcgns.h to find the path |
|
May 11, 2016, 09:05 |
|
#5 |
Member
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10 |
Hi Tom,
no, the CGNS libraries are not included in the SU2 source code folder. Do you have CGNS installed on your system? If so, first place to look at might be /usr/lib and /usr/include. If not, then it's up to you where you want to install them, so you must choose the path. Regards, Ole |
|
May 11, 2016, 13:05 |
|
#6 |
New Member
Max
Join Date: Sep 2015
Posts: 5
Rep Power: 11 |
Tom,
I could not fix the problem with the windows version. I talked my department's IT people to let me dual boot my workstation with Ubuntu and that is what I use now. Like Ouissem, I have found that everything works now. If you make the switch too, I may be able to help get you started. Max |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CGNS Boundary conditions using SU2 | denzell | SU2 | 3 | July 9, 2018 06:58 |
[Gmsh] Cgns support for gmsh | robyTKD | OpenFOAM Meshing & Mesh Conversion | 1 | July 13, 2016 12:27 |
How to use ICEM-CFD to generate CGNS mesh that could be recognized by SU2 | Tommy Chen | SU2 | 10 | June 11, 2016 12:49 |
Compiling with CGNS Support | granbycools | SU2 Installation | 6 | March 31, 2014 07:52 |
parallel support with CGNS format not yet implemented | kirkrich | SU2 | 3 | January 18, 2013 16:39 |