-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in running example.ABL.flatTerrain.neutral #39
Comments
When you ran runscript.preprocess, did it run decomposePar? This should have partitioned your mesh into separate processor directories and mapped the initial solution to them.
From: Yulin <notifications@github.com>
Reply-To: NREL/SOWFA <reply@reply.github.com>
Date: Thursday, February 28, 2019 at 1:12 AM
To: NREL/SOWFA <SOWFA@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [NREL/SOWFA] error in running example.ABL.flatTerrain.neutral (#39)
Hello guys
I am trying to run the "example.ABL.flatTerrain.neutral" case as a starting point to learn SOWFA. The environment is Ubuntu 16.04 + OpenFOAM 2.4.x. I managed to produce the mesh with ./runscript.preprocess, but when excuting ./runscript.solve.1, it fails and the error messages come out in "log.1.ABLSolver" and "log.1.setFieldsABL"
As indicated in the log file, I didn't find anything called processor0. Am I missing some step?
I tried to search for the answer but no success. Any help is appreciated. Thanks.
Kind regards
Yulin
/*---------------------------------------------------------------------------*\
Abort is in progress...hit ctrl-c again within 5 seconds to forcibly terminate
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.4.x-2b147f41daf9
Exec : ABLSolver -parallel
Date : Feb 27 2019
Time : 23:08:40
Host : "ubuntu"
PID : 18858
Case : /home/yulin/OpenFOAM/SOWFA-2.4.x/exampleCases/example.ABL.flatTerrain.neutral
nProcs : 4
Slaves :
3
(
"ubuntu.18859"
"ubuntu.18860"
"ubuntu.18861"
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
[0]
[0]
[0] --> FOAM FATAL ERROR:
[0] ABLSolver: cannot open case directory "/home/yulin/OpenFOAM/SOWFA-2.4.x/exampleCases/example.ABL.flatTerrain.neutral/processor0"
[0]
[0]
FOAM parallel run exiting
[0]
…--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#39>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ARa7sxOl1OcMyBUJ7kgfuPvlK7Id5Lx2ks5vR49vgaJpZM4bWPT9>.
|
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.
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?
Thanks again. |
Looks like your runscript.solve.1 has something wrong in there. You probably still have 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. |
Thanks again @ewquon for following this. Yes you are right, the cp error is a trouble, as the |
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 |
Hi @ShenghaiLiao Just simply comment this out with #cd $PBS_O_WORKDIR, and open terminal in the example case, it will find the path. |
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 |
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' |
|
Hi ,everyone. I was trying to run example.ABL.flatTerrain.neutral. I modified [3] --> FOAM FATAL IO ERROR: --> FOAM Warning : |
Where are those libraries in your computer? OpenFoam needs to know the locations of those libraries..
|
is that right?
Besides that, do you have any suggesstion about my error. |
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 |
Hi Cookiewyf,
To get rid of the Warning "could not load "libSOWFAfiniteVolume.so", you could go to the /OpenFOAM/SOWFA-2.4.0/src/finiteVolume/Make/options,
then add "-lfiniteVolume" in the end of the "LIB_LIBS ="
It works out for me.
Please try~~
Yi
Cookiewyf ***@***.***> 于 2021年11月5日星期五 GMT+8 上午12:05:39写道:
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}
is that right?
***@***.***:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ export SOWFA_DIR="${HOME}/SOWFA" ***@***.***:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ export LD_LIBRARY_PATH=${SOWFA_DIR}/lib/${WM_OPTIONS}/:${LD_LIBRARY_PATH} ***@***.***:~/SOWFA/SOWFA_RUN/example.ABL.flatTerrain.stable$ source ${HOME}/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc ***@***.***:~/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!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello guys
I am trying to run the "example.ABL.flatTerrain.neutral" case as a starting point to learn SOWFA. The environment is Ubuntu 16.04 + OpenFOAM 2.4.x. I managed to produce the mesh with ./runscript.preprocess, but when excuting ./runscript.solve.1, it fails and the error messages come out in "log.1.ABLSolver" and "log.1.setFieldsABL"
As indicated in the log file, I didn't find anything called processor0. Am I missing some step?
I tried to search for the answer but no success. Any help is appreciated. Thanks.
Kind regards
Yulin
The text was updated successfully, but these errors were encountered: