|
[Sponsors] |
October 5, 2024, 09:59 |
SU2 NEMO and MUTATION ++
|
#1 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
Hi,
Have the NEMO and Mutation ++ been merged with the latest version of release 8.1 ?. I am from the IBM 360/44 , DEC1090, IBM 3090 era hence I am clueless about building an executable from scratch. I have used previous versions of SU2 binaries (albeit standard air models) and want to venture into high speed flows. Any help is greatly appreciated. Thanks in Advance Narahari |
|
October 6, 2024, 18:35 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
NEMO is part of SU2. Mutation++ is a separate external library, and you will need to recompile SU2 to use it.
If you are currently running a linux system, then compiling is easy, just check out the docs here: https://su2code.github.io/docs_v7/Bu...2-Linux-MacOS/ If you do not have linux, I recommend installing it or running a linux virtual machine to have access to all the programming and compilation tools. |
|
October 8, 2024, 01:28 |
|
#3 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
Thanks a lot for the quick reply and I will try it out. However, I have Ubuntu installed through WSL 2, and i am able to run Linux commands on that. Would the process described on the web page still work or do I need to set up a duel boot system?
Thanks in advance Narahari |
|
October 8, 2024, 16:22 |
|
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Sure, just try the following steps below to download su2
by making a clone from the github repository, then go to the directory and create the configuration files and compile the code. The compiled binaries will be in the subdirectory given by --prefix. Code:
git clone https://github.com/su2code/SU2.git cd SU2 ./meson.py build --prefix=~/SU2/bin ./ninja -C build install |
|
October 11, 2024, 09:05 |
|
#5 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
Thank you for the reply. Unfortunately, I get the "libmutation__.so" missing error. I saw another one of your posts and exported the paths you suggested but with no success. I wonder if the fact that I have been using SU2_7.x executables in my Windows side messing up this build ?. Would uninstalling those windows executables help in this case?
Thanks in advance Narahari |
|
October 12, 2024, 08:57 |
|
#6 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
Actions I took in order to build and install SU2 &Mutation++
1. I deleted all previous versions of SU2 from my Windows side directory 2. Wiped all previous SU2 clones from Ubuntu and did the following 3. git clone https://github.com/su2code/SU2.git 4. sudo ./meson.py build -Denable-mpp=True -Denable-coolprop=True --prefix=~/SU2/bin 5. sudo ./ninja -C build install 6. export MPP_DATA_DIRECTORY=$SU2_HOME/subprojects/Mutationpp/data Mutationpp[/B][/COLOR] 7. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SU2/subprojects/Mutationpp I still get the same error (screenshot attached), any help is highly appreciated SU2_CFD: error while loading shared libraries: libmutation__.so: cannot open shared object file: No such file or directory |
|
October 13, 2024, 14:48 |
|
#7 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Do you have mutation++ installed in the folder
su2/subprojects/Mutationpp and did mutationpp create a file libmutation__.so somewhere? In my case it is in su2/lib |
|
October 14, 2024, 03:39 |
|
#8 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
Yes libmutation__.so is created in the following directory
/SU2/build/subprojects/Mutationpp Where should it be moved ? |
|
October 14, 2024, 03:51 |
|
#9 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
LD_LIBRARY_PATH is used to find the libraries, you need to change it to:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SU2_HOME/build/subprojects/Mutationpp edit: you have to check if $SU2_HOME is correct as well, such that the entire path is correct: echo $SU2_HOME |
|
November 14, 2024, 03:44 |
Sorry for the delayed response
|
#10 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
Hi,
I got swamped with other work and overlooked this post. Thank you for the help in resolving the issue. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 NEMO with adjoint method | Apoale | SU2 Shape Design | 0 | August 7, 2023 17:16 |