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

error using mutation++

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By bigfootedrockmidget

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2024, 12:00
Default error using mutation++
  #1
New Member
 
lucrezia
Join Date: Jan 2024
Posts: 3
Rep Power: 2
Lucrezia is on a distinguished road
Hi, I am trying to do a hypersonic simulation with SU2NEMO, but i get this error:


Mutation++ has not been configured/compiled (add '-Denable-mpp=true' to your meson string) or 2) CODI must be deactivated since it is not compatible with Mutation++.


I downloaded Mutation++ from Github and I put it in the su2 folder, but i don't know if I have to do any further procedures.


Thank you in advance


PS I tried to put -Denable-mpp=true manually on the meson.py but it doesn't seem to solve the problem
Lucrezia is offline   Reply With Quote

Old   January 11, 2024, 15:44
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 549
Rep Power: 17
bigfootedrockmidget is on a distinguished road
you need the option -Denable-mpp=yes in the meson configuration

you also need to set this variable:

Code:
export MPP_DATA_DIRECTORY=$SU2_HOME/subprojects/Mutationpp/data
and the compiler needs to know where the mutation shared libraries are, so add the folder containing mutation to LD_LIBRARY_PATH

HTML Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SU2_HOME/subprojects/Mutationpp
giovanni.medici likes this.
bigfootedrockmidget is offline   Reply With Quote

Old   January 12, 2024, 09:09
Default
  #3
New Member
 
lucrezia
Join Date: Jan 2024
Posts: 3
Rep Power: 2
Lucrezia is on a distinguished road
Thank you. When you say I need the option -Denable-mpp=yes in which file do I need to put that?
meson.build or meson.py or meson_options.txt ?
Lucrezia is offline   Reply With Quote

Old   January 12, 2024, 09:39
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 549
Rep Power: 17
bigfootedrockmidget is on a distinguished road
It is an option that you add after the meson command on the command line, so
Code:
 ./meson.py build -Denable-mpp
https://su2code.github.io/docs_v7/Bu...2-Linux-MacOS/

Last edited by bigfootedrockmidget; January 12, 2024 at 14:25.
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
hypersonic flow, hypersonics, mutationpp, nemo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



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