|
[Sponsors] |
October 14, 2016, 15:39 |
4.1: Bashrc file problem
|
#1 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
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 bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamEtcFile: File o directory non esistente _foamSource: comando non trovato _foamEval: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamCleanPath: File o directory non esistente bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamCleanPath: File o directory non esistente bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamCleanPath: File o directory non esistente _foamSource: comando non trovato _foamSource: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamEtcFile: File o directory non esistente _foamSource: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamEtcFile: File o directory non esistente _foamSource: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamEtcFile: File o directory non esistente _foamSource: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamEtcFile: File o directory non esistente _foamSource: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamEtcFile: File o directory non esistente _foamSource: comando non trovato bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamCleanPath: File o directory non esistente bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamCleanPath: File o directory non esistente bash: /home/roby/OpenFOAM/OpenFOAM-4.x/bin/foamCleanPath: File o directory non esistente 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 |
|
October 14, 2016, 21:07 |
|
#2 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
OK i solved the problem
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 |
|
October 16, 2016, 10:44 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
October 17, 2016, 08:32 |
|
#4 | |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Quote:
Best regards, Roberto |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |