Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04
Hi everyone,
So I have found other people asking this but I have yet to find an answer I understand... Ok this is very frustrating.. I am trying to reinstall OpenFOAM with a different version than what I had before (I had 2.3.1 before and am now trying to install 2.3.0).. As far as I can tell, I had removed all of the previous version of OpenFOAM before trying to do this. I am following the instructions here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 When I get to this line: Code:
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI Code:
bash: /opt/OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory Code:
# USER EDITABLE PART: Changes made here may be lost with the next upgrade I am getting desperate at this stage, I have no idea what the problem is. I did this before with version 2.3.1 following the same instructions for that version and it worked perfectly. Please help! I am so confused! Thank you and I really really really appreciate any advice on this |
Greetings Ariel,
The problem is that you still have a working OpenFOAM shell environment from the previous installation. This wiki page details a lot on this topic: http://openfoamwiki.net/index.php/In...with_the_Shell - this page is mentioned at the top of the page of those instructions you've indicated. Nonetheless, the steps you're probably missing are:
Bruno |
Hi Bruno,
Thanks a lot for getting back to me. This was what I suspected as well at the beginning of my problems but I removed all reference to OpenFOAM from the ~/.bashrc file, saved, closed it, and did a sudo apt-get update as well but same problem. I was assuming that I had another version of OpenFOAM hiding somewhere but I can't find it and dont' seem to have another one anywhere. Also, perhaps this is related but every time I open a new terminal now, the first line is: Code:
of230: command not found If you have any more advice on this, I'd be really appreciative. Thanks again for the message Ariel |
Hi Ariel,
Please post the content of your file "~/.bashrc", so that I can see what you have inside that file. Best regards, Bruno |
Hi Bruno,
No problem. The ~/.bashrc file is: Code:
# ~/.bashrc: executed by bash(1) for non-login shells. Ariel |
Ooops, I just found the of230 problem! There's one floating in there... hopefully this fixes everything else too!
|
Just to confirm: after many hours of searching and frustrating, this did seem to be the problem...
Thanks for pointing me to the right file, just had to search harder |
All times are GMT -4. The time now is 00:50. |