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

Error occurs after compiling mutation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2024, 09:30
Default Error occurs after compiling mutation
  #1
New Member
 
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3
CFDWhite is on a distinguished road
Hello all,
I intend to compute the classical RAMC example using SU2 NEMO+mutation, however, after compiling, the error shown in the figure appears.
It seems that mutation library could not be found, but I have added the following statement to the bashrc file, as shown in Figure 2.

export MPP_DATA_DIRECTORY=$SU2_HOME/subprojects/Mutationpp/data
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SU2_HOME/<build_dir>/subprojects/Mutationpp

So I'd like to know what the problem is and how to fix it, and thank you in advance for your suggestions.
Attached Images
File Type: png error1.png (33.9 KB, 12 views)
File Type: png error2.png (128.9 KB, 13 views)
CFDWhite is offline   Reply With Quote

Old   May 10, 2024, 09:50
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 672
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi,
You need to add the path to the Mutationpp directory, so in your case that is:
$SU2_HOME/subprojects/Mutationpp
bigfootedrockmidget is offline   Reply With Quote

Old   May 14, 2024, 06:12
Default
  #3
New Member
 
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3
CFDWhite is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Hi,
You need to add the path to the Mutationpp directory, so in your case that is:
$SU2_HOME/subprojects/Mutationpp
I have added the relevant statement, as shown in the red box, but unfortunately there are still errors.

Another question, does SU2 have AIR-7 in its chemical reaction library to accurately calculate RAMC?

Thank you for any suggestions.
Attached Images
File Type: jpg error3.jpg (82.9 KB, 12 views)
File Type: png error4.png (68.1 KB, 8 views)
CFDWhite is offline   Reply With Quote

Old   May 14, 2024, 07:10
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 672
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Please check if the mutation library is actually in that subdirectory.
bigfootedrockmidget is offline   Reply With Quote

Old   May 15, 2024, 04:09
Default
  #5
New Member
 
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3
CFDWhite is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Please check if the mutation library is actually in that subdirectory.
I checked the folder, and I did see it as shown in the figure
Attached Images
File Type: png error5.png (70.7 KB, 12 views)
CFDWhite is offline   Reply With Quote

Old   May 15, 2024, 06:33
Default
  #6
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 672
Rep Power: 21
bigfootedrockmidget is on a distinguished road
and is the .so file in that folder as well?
bigfootedrockmidget is offline   Reply With Quote

Old   May 27, 2024, 05:31
Default
  #7
New Member
 
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3
CFDWhite is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
and is the .so file in that folder as well?
Sorry. I'm not sure what is the .so file that does not appear to be in this folder
CFDWhite is offline   Reply With Quote

Old   May 28, 2024, 17:42
Default
  #8
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 672
Rep Power: 21
bigfootedrockmidget is on a distinguished road
You need to find out where the file libmutation__.so is and point LD_LIBRARY_PATH to that location.
so if the mutation__.so file is in the subfolder lib, you add it to LD_LIBRARY_PATH

Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SU2_HOME/subprojects/Mutationpp:$SU2_HOME/lib/
bigfootedrockmidget is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
olaFlow - Errors in compiling and tutorial running GrivalszkiP OpenFOAM Running, Solving & CFD 1 October 14, 2020 18:50
Getting error both interpreting and compiling serene6390 Fluent UDF and Scheme Programming 1 October 27, 2017 01:49
All files present. but solver not compiling saddy OpenFOAM Programming & Development 1 July 29, 2017 10:50
[OpenFOAM.org] Trouble Compiling OpenFOAM-dev using Intel Compiler 15 for use on Xeon Phi foamer123 OpenFOAM Installation 9 August 20, 2015 15:03
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 06:40


All times are GMT -4. The time now is 01:03.