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

Problem compiling (during make phase) SU2 6.2.0 from source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2021, 15:57
Unhappy Problem compiling (during make phase) SU2 6.2.0 from source
  #1
New Member
 
Join Date: Dec 2021
Posts: 3
Rep Power: 4
RichardRoos is on a distinguished road
Hello!

First of all, this is my first post here, so if my question should be posted somewhere else etc, please let me know.

Now for the question, I am working on the implementation of the old LM model, that was made for version 6.2.0, into the latest SU2 version. My first step is to get the old LM-feature running so that I can check its functionalities and that I can compare results at a later stage. But I am running into some problems compiling from source.

I get a few warnings regarding cgns_internals for function ‘cgi_write_model’. If I continue with the process described online for versions 6.2.0 and lower, I am not able to run the given testcase in QuickStart. It does not recognize the given .cfg file. (Although it is completely the same as the given config_template.cfg.)

I have attached a txt file with the steps and results I got in my ubuntu terminal. I am running:
  • Ubuntu 20.04.3 LTS (GNU/Linux 5.10.60.1-microsoft-standard-WSL2 (86_64)

I have found an old forum post of someone with the same problem (SU2 insatllation), but that person never got an answer.

Maybe someone on here has more experience with Linux/SU2 etc and might know what is going on?

Thanks in advance!
Attached Files
File Type: txt ConfigProblemSU2.txt (39.2 KB, 9 views)
RichardRoos is offline   Reply With Quote

Old   December 22, 2021, 16:15
Default
  #2
Senior Member
 
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Hi RichardRoos,

I took a quick look at your errors and it definitely seems that you have a mismatch of config and code. The config options changed from v6.2 to v7+. Are you trying to run a newer version of SU2?

Im no expert with the CGNS stuff, but I image the warning during compilation should be fine.

Best,
Wally
wallym is offline   Reply With Quote

Old   December 22, 2021, 18:52
Default
  #3
New Member
 
Join Date: Dec 2021
Posts: 3
Rep Power: 4
RichardRoos is on a distinguished road
Hey Wally,

It does look like a missmatch. I tried to force the config file by using the options in the error message. But that only gave more problems as the options stated in the config should be correct. (e.g. The physics_model is not recognized, but also gives an error when removed).

The config is taken from the 6.2.0 branch. I am trying to get the 6.2.0 to work as I have to check the results from the LM_model while using that branch, before I can transfer it to the latest version.

I have also tried to use older versions of gcc and g++ (4.8 and 7.5), as the code might need older libraries, but the error stayed the same.

Thus so far no real solutions found...
RichardRoos is offline   Reply With Quote

Old   December 23, 2021, 12:02
Default
  #4
New Member
 
Join Date: Dec 2021
Posts: 3
Rep Power: 4
RichardRoos is on a distinguished road
Update:

We found the problem. I had the latest version (7.2.1) also on my system. The SU2_CFD executable somehow did not want to point at the version that was set in the .bashrc. So that is why the config file did not want to be run, as it was looking at the 6.2.0 .cfg with the 7.2.1 solver.

Forcing the correct path by renaming the executable for 6.2.0 (thus now running using SU2_CFDLM inv_etc.cfg) did the trick. It is not pretty, but it works.
RichardRoos is offline   Reply With Quote

Old   December 24, 2021, 16:35
Default
  #5
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 499
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Yes, executables are usually expected to be in one of the directories in the PATH variable, you should check

> echo $PATH

first to see if there is a directory to both SU2 versions included, that will lead to confusion.

Keep us informed about the progress, or better yet: create a new feature branch reimplementation_LM from the current develop and make it public on github, it will make it easier to help you with issues. A good start is to study the new generalization of transported scalars and add a new solver for the LM equations (from SST), get a simple 'additional solver with 2 additional eqns' running (no source terms, keep it very simple). Then continue from there.
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
cfg error, compile from source, su2 6.2.0, warnings, wsl2


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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 11:50.