|
[Sponsors] |
./Allrun not working, failed with "Can't open /bin/tools/RunFunctions" |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
BO WANG
Join Date: Sep 2014
Posts: 37
Rep Power: 11 ![]() |
HI everyone,
I am a newbee for both Linux and Openfoam. I am studying the tutorials. I have run the ./Allrun successfully in the icoFoam folder. However, when I tried to run this : bo@bo-OptiPlex-7010:~/OpenFOAM/bo-2.3.0/run/tutorials$ ./Allrun following error showed up: ./Allrun: 34: .: Can't open /bin/tools/RunFunctions. And I am sure that I have RunFunctions in the fllowing routine: /home/bo/OpenFOAM/OpenFOAM-2.3.0/bin/tools Is anyone kind enough to help me out of this? Many thanks. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
BO WANG
Join Date: Sep 2014
Posts: 37
Rep Power: 11 ![]() |
HI everyone, problem solved..a stupid mistake.
Thanks for the attention anyway. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
sagar gurnani
Join Date: Jun 2015
Location: surat gujarat
Posts: 6
Rep Power: 11 ![]() |
Hey how do you resolved this ?
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: The OpenFOAM environment was not active in the current command line; for example, OpenFOAM 2.3.0 installed with the Deb package on Ubuntu can be activated by running:
Code:
source/opt/openfoam230/etc/bashrc |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Simon
Join Date: Sep 2019
Location: Germany
Posts: 51
Rep Power: 6 ![]() |
Just for other who have the same Problem:
Another way that helped me a lot is written in this thread here: Permission denied issue for OpenFoam 2.3.1 on Ubuntu You can type in the folder containing the files Code:
chmod +x All* |
|
![]() |
![]() |
![]() |
![]() |
#6 | |
New Member
Philipp Conen
Join Date: Jul 2021
Location: Germany, NRW
Posts: 22
Rep Power: 5 ![]() |
Quote:
Just wanted to share, that this solution did not worked out for me. In the case of OpenFOAM extend 4.0 this made the trick: Code:
source ~/foam/foam-extend-4.0/etc/bashrc |
||
![]() |
![]() |
![]() |
![]() |
#7 | |
Member
Michael Jensen
Join Date: May 2022
Posts: 31
Rep Power: 4 ![]() |
Quote:
In case anybody has problems with this, I submit that the recommended code does not actually work. you need a space between source and the first /. Like so: Code:
source /opt/openfoam9/etc/bashrc -right, like phillip already observed. :-) |
||
![]() |
![]() |
![]() |
Tags |
./allrun |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel | U.Golling | OpenFOAM Running, Solving & CFD | 52 | September 23, 2023 03:35 |
How to setup a simple OpenFOAM cluster? | TommiPLaiho | OpenFOAM Installation | 3 | October 27, 2013 15:15 |
Initial conditions for uniform flow | andreas | OpenFOAM | 5 | November 16, 2012 15:00 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 09:50 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |