|
[Sponsors] |
Problem compiling (during make phase) SU2 6.2.0 from source |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 20, 2021, 16:57 |
Problem compiling (during make phase) SU2 6.2.0 from source
|
#1 |
New Member
Join Date: Dec 2021
Posts: 3
Rep Power: 5 |
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:
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! |
|
December 22, 2021, 17:15 |
|
#2 |
Senior Member
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7 |
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 |
|
December 22, 2021, 19:52 |
|
#3 |
New Member
Join Date: Dec 2021
Posts: 3
Rep Power: 5 |
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... |
|
December 23, 2021, 13:02 |
|
#4 |
New Member
Join Date: Dec 2021
Posts: 3
Rep Power: 5 |
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. |
|
December 24, 2021, 17:35 |
|
#5 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
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. |
|
Tags |
cfg error, compile from source, su2 6.2.0, warnings, wsl2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |