Comments (14)
libSOWFAfiniteVolume.so: cannot open shared object file: No such file or directory libSOWFAincompressibleLESModels.so: cannot open shared object file: No such file or directory
Where are those libraries in your computer? OpenFoam needs to know the locations of those libraries..
If, assuming that those libraries are located inside a folder like this ${HOME}/SOWFA/applications/lib/${WM_OPTIONS}
, then you must add this path to LD_LIBRARY_PATH
env variable, before you launch your OpenFoam commands, like this:
export LD_LIBRARY_PATH=${SOWFA_DIR}/lib/${WM_OPTIONS}/:${LD_LIBRARY_PATH}
from sowfa.
But, you still have the error about not finding the libraries? If that's true, please check that the path that you plug into the LD_LIBRARY_PATH is the correct one.. Check that those libraries are actually there..
Also, you can safely remove the command 'of240' of those scripts. They are intended to load the correct openfoam inside NREL facilities. It's just to load the OpenFoam environment, exactly as the command source ${HOME}/OpenFOAM/OpenFoam-2.4.0/etc/bashrc
from sowfa.
from sowfa.
Many thanks @ewquon for your swift response, and you are absolutely right. The decomposePar didn't run correctly, as I changed the default 216 cores in the setup file into 4 (i.e. my personal computer), so the decomOrder didn't agree with that. So, I made it back to 216 cores and the decomposePar can now produce correct partitions (there are processor0-processor216 in the folder). Now the only modification that I made in the setup file are 'Number of cells' intending for a more coarse mesh.
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// Domain size and number of cells.
xMin 0.0; // Minimum x-extent of domain (m).
yMin 0.0; // Minimum y-extent of domain (m).
zMin 0.0; // Minimum z-extent of domain (m).
xMax 3000.0; // Maximum x-extent of domain (m).
yMax 3000.0; // Maximum y-extent of domain (m).
zMax 1020.0; // Maximum z-extent of domain (m).
nx 30; // Number of cells in x-direction.
ny 30; // Number of cells in y-direction.
nz 10; // Number of cells in z-direction.
// Number of cores and domain decomposition information.
nCores 216; // Number of cores on which to run this case.
decompType simple; // Decomposition algorithm. "simple" and "scotch" are good choices.
decompOrder (6 6 6); // Order of the decomposition number of partitions in (x y z)-directions.
// Planar averaging and source term statistics options.
statisticsOn true; // Gather planar-averaged flow statistics.
statisticsFrequency 5; // Frequency in time steps of statistics gathering.
However, I still can't make the solver work, and it seems from the command line that the solver doesn't start at all. Is it becasue I set the wrong core value?
$ sudo ./runscript.solve.1
Purging and loading modules...
Nothing to unset...
Sourcing /home/yulin/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc...
Purging and loading modules...
*Unsetting OpenFOAM environment variables...
Sourcing /home/yulin/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc...
cp: cannot stat 'system/controlDict.1': No such file or directory
Starting OpenFOAM job at: Thu Feb 28 18:19:31 PST 2019
using 600 cores
Ending OpenFOAM job at: Thu Feb 28 18:19:31 PST 2019
Thanks again.
from sowfa.
Looks like your runscript.solve.1 has something wrong in there. You probably still have cores=600
set; this should be the same as nCores
in your setUp file.
The cp error is suspicious. This should be run from inside your case directory, i.e., the directory that contains your setUp file as well as the system, constant, and processor* subdirectories.
from sowfa.
Thanks again @ewquon for following this. Yes you are right, the cp error is a trouble, as the cd $PBS_O_WORKDIR
didn't find the correct path in the 'runscript.slove.1' file. Another thing I figure out is that we should never use 'sudo' in compling SOWFA and its cases, as this will lead to many command permission troubles. Now it seems the ABLsolver is working, and I looking forward to see the results with paraView. Many thanks for your help.
from sowfa.
hello @yulins ,I'm facing the familiar problem.I just can't fine out where exactlly $PBS_O_WORKDIR leads .would you mind to tell me where it leads? when running 'runscript.slove.1',it apears to "cp system/contrilDirt.1 :no such file or directry".please help
from sowfa.
Hi @ShenghaiLiao Just simply comment this out with #cd $PBS_O_WORKDIR, and open terminal in the example case, it will find the path.
from sowfa.
hlleo @yulins ,thanks for your answer.I tried cd $PBS_O_WORKDIR ,but it simply returned to my home directry,when #echo $PBS_O_WORKDIR it comes out with nothing
by the way ,my foam is at $HOME/OpenFOAM/OpenFOAM-2.4.0,
and SOWFA is at $HOME/OpenFOAM/$USR-2.4.0
from sowfa.
Hi, I mean just comment it or delete it. The runscript.solve.1 should be excuted in the examplecase folder, such as' example.ABL.flatTerrain.neutral', than it will find 'system/controlDict.1'
from sowfa.
$PBS_O_WORKDIR
is an environment variable from the Moab/Torque high-performance computing (HPC) environment. If you're directly running this script or using another HPC environment, then you should comment/delete that line as the previous commenter suggested.
from sowfa.
Hi ,everyone. I was trying to run example.ABL.flatTerrain.neutral. I modified runscript.preprocess
:
and in the runscript.solve.1
, I changed "source" and "cores":
In the setUp, I just modified ncores
and decompOrde
Then I fellowed the step,./runscript.preprocess next ./runscript.solve.1
But it failed:
[3] --> FOAM FATAL IO ERROR:
[3] Unknown patchField type velocityABLWallFunction for patch type wall
....
...
[3]
[3]
[3] file: /home/ubuntu18/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.neutral/processor3/0/U.boundaryField.lower from line 28 to line 31.
[3]
[3] From function fvPatchField::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
[3] in file /home/ubuntu18/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 143.
[3]
FOAM parallel run exiting
I felt confused cause I didnot changed anything about "U"
another question is these warning can be fixed?
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libSOWFAfiniteVolume.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libSOWFAfiniteVolume.so"
--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libSOWFAincompressibleLESModels.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libSOWFAincompressibleLESModels.so"
Create mesh for time = 0
setFieldsABL.md
ABLSolverlog.md
@ewquon @yulins @SH-Liao @pablo-benito
Thanks for your help!
from sowfa.
libSOWFAfiniteVolume.so: cannot open shared object file: No such file or directory libSOWFAincompressibleLESModels.so: cannot open shared object file: No such file or directory
Where are those libraries in your computer? OpenFoam needs to know the locations of those libraries.. If, assuming that those libraries are located inside a folder like this
${HOME}/SOWFA/applications/lib/${WM_OPTIONS}
, then you must add this path toLD_LIBRARY_PATH
env variable, before you launch your OpenFoam commands, like this:
export LD_LIBRARY_PATH=${SOWFA_DIR}/lib/${WM_OPTIONS}/:${LD_LIBRARY_PATH}
is that right?
ubuntu18@Ubuntu18:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ export SOWFA_DIR="${HOME}/SOWFA" ubuntu18@Ubuntu18:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ export LD_LIBRARY_PATH=${SOWFA_DIR}/lib/${WM_OPTIONS}/:${LD_LIBRARY_PATH} ubuntu18@Ubuntu18:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ source ${HOME}/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc ubuntu18@Ubuntu18:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ ./runscript.preprocess ./runscript.preprocess: line 82: of240: command not found -Renumbering the mesh with renumberMesh... -Decomposing the domain with decomposePar... -Checking the mesh with checkMesh...
I still have this warning, and the location is exactly right as you said.
Besides that, do you have any suggesstion about my error.
Thanks for your help!
from sowfa.
from sowfa.
Related Issues (20)
- wrong parameter R_D in tool wrftoof.F
- Problem in running pisoFoamTurbine.ALMAdvancedOpenFAST HOT 3
- Compilation of WRFextraction (WRTOOF) HOT 6
- tool WRFextraction in SOWFA HOT 18
- The Actuator Disk Model (ADM) implementation HOT 7
- Problem in running example.ALM HOT 1
- How to input terrain? HOT 4
- Case learning about example.UAE_PhaseVI.ALMAdvanced.
- An issue about average wind speed calculation HOT 4
- Problems running example.ALMAdvanced HOT 5
- in example. NREL5MW.ALMAdvancedFAST8, How to deal with the calculation of tower
- Surface roughness values (z0) saved during run and restart for ABLTerrainSolver
- In example.NREL5MW.ALMAdvancedFAST8, the blade effect in flow field is missing when change the bladeForceProjectionDirection. HOT 3
- Confusion about the use of Foam::atan2 in turbine models HOT 2
- Problems occur when running example.ABL. Flatterrain. Neutral HOT 3
- Issure for coupling running SOWFA and openFAST2.6.0 as "example.NREL5MW.ALMAdvancedFAST8" HOT 4
- Interpolation error while calculating blade forces HOT 2
- Regarding some issues in installation of SOWFA and running 1st tutorial HOT 2
- "nAvgSector" variable in the ADM code
- build the solver of SOWFA coupled potential flow solver(similar openFAST)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sowfa.