4.1: Bashrc file problem
Hello to everyone,
i'm trying to install the new OpenFOAM version 4.1 on Ubuntu 16.04 LTS by following the guide but i think there is a passage not explained. I'm not installing it in /opt/ but in $home/my_name/OpenFOAM/ In the folrder OpenFOAM there are OpenFOAM-4.1 and ThirdParty-4.1 Now i'm at the point i have to add the line to the home bashrc file and i added this line always following the guide HTML Code:
source $HOME/OpenFOAM/OpenFOAM-4.1/etc/bashrc Code:
bash: /home/roby/OpenFOAM/OpenFOAM-4.x/etc/config.sh/functions: File o directory non esistente Could someone explain me what to change? Thanks a lot |
OK i solved the problem :D
As i mentioned the error was in HTML Code:
HOME/OpenFOAM/OpenFOAM-4.1/etc/bashrc HTML Code:
export WM_PROJECT_VERSION=4.x HTML Code:
export WM_PROJECT_VERSION=4.1 i hope this could help someone :) |
Greetings Roberto,
Many thanks for spotting this! I've reported it here: http://bugs.openfoam.org/view.php?id=2293 It should be fixed as soon as possible. For others with the same problem, if you want to use a single command that does this fix, run the following from within the folder "OpenFOAM-4.1": Code:
sed -i -e 's=4\.x=4.1=' etc/bashrc etc/cshrc Bruno |
Quote:
Best regards, Roberto |
All times are GMT -4. The time now is 00:28. |