|
[Sponsors] |
May 10, 2024, 09:30 |
Error occurs after compiling mutation
|
#1 |
New Member
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3 |
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. |
|
May 10, 2024, 09:50 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Hi,
You need to add the path to the Mutationpp directory, so in your case that is: $SU2_HOME/subprojects/Mutationpp |
|
May 14, 2024, 06:12 |
|
#3 | |
New Member
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3 |
Quote:
Another question, does SU2 have AIR-7 in its chemical reaction library to accurately calculate RAMC? Thank you for any suggestions. |
||
May 14, 2024, 07:10 |
|
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Please check if the mutation library is actually in that subdirectory.
|
|
May 15, 2024, 04:09 |
|
#5 |
New Member
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3 |
I checked the folder, and I did see it as shown in the figure
|
|
May 15, 2024, 06:33 |
|
#6 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
and is the .so file in that folder as well?
|
|
May 27, 2024, 05:31 |
|
#7 |
New Member
Liming Yang
Join Date: Sep 2023
Posts: 29
Rep Power: 3 |
||
May 28, 2024, 17:42 |
|
#8 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
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/ |
|
|
|
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 |