|
[Sponsors] |
[openSmoke] LaminarSMOKE - Missing profiling.H |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 16, 2019, 17:11 |
LaminarSMOKE - Missing profiling.H
|
#1 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 7 |
Recently, I am trying to install LaminarSMOKE (built under OpenFOAM framework) but it seems that when I was trying to compile a file of LaminarSMOKE - "boundaryConditionsOpenSMOKE++", this was printed: "make *** No rule to make target '~/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/profiling.H', needed by Make/linux64GccDPInt640pt/backwardDiffusion/baclwardDiffusionFvPatchScalarField.C.dep'. Stop."
I referred to several threads and I can't seem to find the problem why. All I'm sure is the file profiling.H is missing and it's a missing from OF. I have checked my installation by using "icoFoam -help" and it printed details of OF. I am using OF 6. My question is, could there be something wrong with my installation that profiling.H file is missing in my OF? Thanks! |
|
May 16, 2019, 19:36 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Depends on when you downloaded the laminarSMOKE source code, because it looks like they have recently starting to add support for OpenFOAM versions from OpenCFD at OpenFOAM.com. Furthermore, it's only in the versions from OpenFOAM.com that "profiling.H" exists, because the versions from the OpenFOAM Foundation do not have this feature.
So, the quickest solution that might work, but I haven't tested, is that you checkout a slightly older version of laminarSMOKE from the Git repository, by running these commands from inside the main source code folder for laminarSMOKE: Code:
wclean all git checkout 1c19a021638bbb2286bf596d0c425b672c5d6b93 -b lastCommitOF6 If this works, then please report the issue you have gotten on the Issue tracker for this project: https://github.com/acuoci/laminarSMOKE/issues
__________________
|
|
May 17, 2019, 14:33 |
|
#3 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 7 |
I followed your advice and ran "wclean all" inside the main folder of LaminarSMOKE source folder. After that, out of curiosity, I ran "wmake" and the error did not show up and it was compiled. I'm not sure what happened and how that solve the problem.
After that I compiled each of the solver and I received the following: Code:
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries: unknown option: '-I../../libs/radiationOpenSMOKE++/lnInclude' Usage: wmakeLnInclude [OPTION] dir options: -update | -u update -silent | -s use 'silent' mode (do not echo command) -help | -h print the usage Link all the source files in the <dir> into <dir>/lnInclude Note The '-u' option forces an update when the lnInclude directory already exists and changes the default linking from 'ln -s' to 'ln -sf'. wmakeLnInclude error: base directory \ does not exist Code:
Making dependency list for source file laminarSMOKEpostProcessor.C could not open file AtomicComposition.h for source file laminarSMOKEpostProcessor.C due to No such file or directory could not open file ThermoPolicy_CHEMKIN.hpp for source file laminarSMOKEpostProcessor.C due to No such file or directory could not open file ReactionPolicy_CHEMKIN.hpp for source file laminarSMOKEpostProcessor.C due to No such file or directory ... Code:
Fatal error: The ../../../../kinetic-mechanisms/GLOBAL_H2_1step/kinetics/kinetics.xml file does not exist Press enter to exit... Code:
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries: unknown option: '-I../../libs/radiationOpenSMOKE++/lnInclude' Last edited by wyldckat; May 18, 2019 at 14:08. Reason: Added [CODE][/CODE] markers |
|
May 18, 2019, 14:13 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
|
|
May 18, 2019, 16:56 |
|
#5 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 7 |
1. I followed the steps from README text as far as I could.
2. I'm using mybashrc.minimalist file. Let me elaborate what 1. more: (a) First, I get into the source file of LaminarSMOKE. (b) Chose mybashrc.minimalist and adjusted the paths and also the OF version. (c) Get into terminal and set things up to OF environment by alias "of6". (d) source mybashrc.minimalist. (e) compiled both boundaryConditionsOpenSMOKE++ and radiationOpenSMOKE++ by wmake. (f) compiled the solvers by wmake. (g) compiled the checkin pre-processor by wmake. This is mybashrc.minimalist (Only including what I had changed.) #OpenFOAM VERSION (22, 23, 24, 30, 40, 50, 60, 1000) #dev version is equivalent to >= 1000 export OPENFOAM_VERSION='-DOPENFOAM_VERSION=60' #If OpenFOAM dev version is used, this must be equal to 1 export DEVVERSION='-DDEVVERSION=1' #Compulsory path export EIGEN_LIBRARY_PATH=/home/hafiz/Documents/eigen-eigen-323c052e1731/ export BOOST_LIBRARY_PATH=/usr/include/boost export RAPIDXML_LIBRARY_PATH=/usr/include/rapidxml I set DDEVVERSION to 1 because apparently for OF6 it should be 1. Setting it to 0 won't compile the libraries. Thanks for the help there btw. Appreciate the help.. I know its the weekend! |
|
June 11, 2020, 15:15 |
|
#6 |
New Member
Join Date: Apr 2019
Posts: 10
Rep Power: 7 |
How did you fix the issue as I am trying to compile laminarSMOKE with of6 as wel?
are you sure that this is the correct way -DOPENFOAM_VERSION=60? |
|
Tags |
laminarsmoke, openfoam, profiling.h |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] missing internal faces and uncovered faces after redifining parts containing surface. | grv | ANSYS Meshing & Geometry | 2 | December 9, 2016 05:38 |
what is syntax error : missing ')' before ';' | aleisia | Fluent UDF and Scheme Programming | 8 | March 10, 2015 16:42 |
[openSmoke] OpenFoam LaminarSmoke parallelization error | nashiong | OpenFOAM Community Contributions | 10 | February 17, 2015 15:31 |
[OpenFOAM] Xlib: extension "GLX" missing on display | goldbeard | ParaView | 5 | March 24, 2013 14:12 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 08:43 |