Unable to run flowover cylinder tutorial in potentialFoam using Allrun
I tried to run flow over Cylinder using Allrun this giving me error (more in log file attached). This Issue similar to my previous issue.
OpenFoam Version: 2012
OS: Ubuntu 20.04 on WSL
Compiler : 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
Activity
- Ashutosh Maurya changed the description
changed the description
- Maintainer
Hi @Night_Hawk,
I have just run the
basic/potentialFoam/cylinder
tutorial, and locally everything seems to be fine.Could you please confirm whether you have compiled OpenFOAM correctly? And if that's the case, could you fully describe the compilation environment etc?
PS: my local test environment:
api = 2106 patch = 0 HEAD = c40796843d version = com compiler = Clang (system) = clang version 9.0.1 mpi = SYSTEMOPENMPI = mpirun (Open MPI) 1.10.7.0.5e373bf1fd OS = Description: openSUSE Leap 15.1 opts = linux64ClangDPInt32Opt
Edited by Kutalmış Berçin - Author
Hi @kuti I didn't compile the OpenFoam . I have installed using precompiled binary.
- Maintainer
a bit more detail, please, so that we can try to replicate the issue.
- Author
Here is my environment
api = 2012
patch = 210414
version = com
compilers installed
g++ 4:9.3.0-1ubuntu2
g++-9 9.3.0-17ubuntu1~20.04
gcc 4:9.3.0-1ubuntu2
gcc-8 8.4.0-3ubuntu2
gcc-9 9.3.0-17ubuntu1~20.04
gfortran 4:9.3.0-1ubuntu2
gfortran-8 8.4.0-3ubuntu2
gfortran-9 9.3.0-17ubuntu1~20.04
libllvm11:amd64 1:11.0.0-2~ubuntu20.04.1
libllvm9:amd64 1:9.0.1-12 t
mpi = mpirun (Open MPI) 4.0.3
OS = Ubuntu 20.04LTS on WSL
opts = linux64GccDPInt32Opt
Let me know anything else you need
Edited by Ashutosh Maurya - Maintainer
Could you please re-install OF by using the instructions given in the following link and try again:
(installing ubuntu based binaries in WSL directly):
https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/debian
https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/
Edited by Kutalmış Berçin - Kutalmış Berçin assigned to @kuti
assigned to @kuti
- Kutalmış Berçin added contribution label
added contribution label
- Author
I have uninstalled openfoam2012-default using
sudo apt-get autoremove openfoam2012-default
and reinstalled it but problem is still same.Edited by Ashutosh Maurya - Maintainer
Have you followed the instructions given in the links? (not clear to me)
Edited by Kutalmış Berçin - Author
I have installed OF with above link before so I followed method of uninstalling provided in link and reinstalled it.
- Maintainer
thanks @Night_Hawk , very clear. we will test the tutorial with Ubuntu+WSL and let you know.
- Please register or sign in to reply
- Maintainer
Dear @Night_Hawk ,
I'm afraid we are not able to reproduce the matter when we have been following the instructions given in the links.
- For your reference, the logs: logs-GL2140.zip
Build : _e91649cfd8-20210420 OPENFOAM=2012 patch=210414 Arch : "LSB;label=32;scalar=64" Microsoft Windows 10 Enterprise Ubuntu 20.04.2 LTS, focal
Also, the
docker
part seems to be OK:openfoam-docker -2012 -dev -c ./Allrun
At this point, I must assume that the matter is due to some local issue, which we could not reproduce.
- Author
I still don't understand why it is complaining about no member zero
operator[](i).zero(zphi.ref());
. Anyways I will update here if I find any solution. Thanks for your help.Edited by Ashutosh Maurya
- Kutalmış Berçin removed contribution label
removed contribution label
- Kutalmış Berçin added community label
added community label
- Kutalmış Berçin mentioned in issue #2135 (closed)
mentioned in issue #2135 (closed)
- Maintainer
Please reopen the ticket if any local solution could be found. (Also, we will reopen the ticket if we find anything new).
My apologies for not being able to reproduce the issue despite our efforts.
Many thanks for your report.
- Kutalmış Berçin closed
closed
- Author
@kuti What I found in this is that if someone download deb file directly (due to poor speed of sourceforge) and install it and fix broken installation with apt , he/she might have have similar issue like this. I uninstalled Ubuntu in wsl and reinstalled it and installed openfoam through apt only it worked, that's why you were not able to reproduce it.
Edited by Ashutosh Maurya - Maintainer
Hi @Night_Hawk The original -dev deb files were missing a dependency on
g++
andmake
- not sure if that would explain what you noticed, but figured it would be good to mention. This is fixed in the 2012-210618 update and should be ok for 2106 as well.Edited by Mark OLESEN
- Maintainer