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

SU2 not built with CGNS support.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2015, 15:23
Default SU2 not built with CGNS support.
  #1
New Member
 
Max
Join Date: Sep 2015
Posts: 5
Rep Power: 11
maximus23 is on a distinguished road
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?
maximus23 is offline   Reply With Quote

Old   October 29, 2015, 07:42
Exclamation
  #2
New Member
 
Ouissem B.
Join Date: Apr 2015
Location: Paris, FR
Posts: 7
Rep Power: 11
B_Ouissem is on a distinguished road
Quote:
Originally Posted by maximus23 View Post
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?
Hi!

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.
B_Ouissem is offline   Reply With Quote

Old   May 10, 2016, 11:49
Default
  #3
Member
 
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10
tomp1993 is on a distinguished road
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!
tomp1993 is offline   Reply With Quote

Old   May 11, 2016, 09:02
Default
  #4
New Member
 
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 13
Jiba is on a distinguished road
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
Jiba is offline   Reply With Quote

Old   May 11, 2016, 09:05
Default
  #5
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10
Sprotte is on a distinguished road
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
Sprotte is offline   Reply With Quote

Old   May 11, 2016, 13:05
Default
  #6
New Member
 
Max
Join Date: Sep 2015
Posts: 5
Rep Power: 11
maximus23 is on a distinguished road
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
maximus23 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


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


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