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

SU2 NEMO and MUTATION ++

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hk.narahari

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2024, 09:59
Default SU2 NEMO and MUTATION ++
  #1
Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7
hk.narahari is on a distinguished road
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
hk.narahari is offline   Reply With Quote

Old   October 6, 2024, 18:35
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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.
bigfootedrockmidget is offline   Reply With Quote

Old   October 8, 2024, 01:28
Default
  #3
Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7
hk.narahari is on a distinguished road
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
hk.narahari is offline   Reply With Quote

Old   October 8, 2024, 16:22
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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
bigfootedrockmidget is offline   Reply With Quote

Old   October 11, 2024, 09:05
Default
  #5
Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7
hk.narahari is on a distinguished road
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
hk.narahari is offline   Reply With Quote

Old   October 12, 2024, 08:57
Default
  #6
Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7
hk.narahari is on a distinguished road
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
Attached Images
File Type: jpg Build_error.jpg (159.7 KB, 3 views)
hk.narahari is offline   Reply With Quote

Old   October 13, 2024, 14:48
Default
  #7
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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
bigfootedrockmidget is offline   Reply With Quote

Old   October 14, 2024, 03:39
Default
  #8
Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7
hk.narahari is on a distinguished road
Yes libmutation__.so is created in the following directory
/SU2/build/subprojects/Mutationpp
Where should it be moved ?
hk.narahari is offline   Reply With Quote

Old   October 14, 2024, 03:51
Default
  #9
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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
bigfootedrockmidget is offline   Reply With Quote

Old   November 14, 2024, 03:44
Default Sorry for the delayed response
  #10
Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7
hk.narahari is on a distinguished road
Hi,
I got swamped with other work and overlooked this post. Thank you for the help in resolving the issue.
hk.narahari 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
SU2 NEMO with adjoint method Apoale SU2 Shape Design 0 August 7, 2023 17:16


All times are GMT -4. The time now is 08:26.