|
[Sponsors] |
[OpenFOAM.org] Problem in installation of OpenFOAM-2.3.x |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 1, 2014, 10:18 |
Problem in installation of OpenFOAM-2.3.x
|
#1 |
Member
Parisa
Join Date: Feb 2013
Posts: 51
Rep Power: 13 |
Hello,
I have a hard time to install OpenFOAM-2.3.x on Ubunto 12.04, I never had this problem with other versions. I just copied the steps that I do, as follows: 1- sudo su - 2- apt-get install git-core 3 Make a directory OpenFOAM in home. 4- inside OpenFOAM at home, git clone git://github.com/OpenFOAM/OpenFOAM-2.3.x.git 5- inside OpenFOAM at home, tar xzf ThirdParty-2.3.0.tgz, then: mv ThirdParty-2.3.0 ThirdParty-2.3.x 6- sudo su - 7- apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libncurses-dev libxt-dev 8-inside $HOME/OpenFOAM/OpenFOAM-2.3.x/etc: I copied source $HOME/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc at the end of the file. 9- Here is the problem, I cannot see Allwmake in $WM_PROJECT_DIR. In fact, it says that the environment variables are inconsistent with the installation. I really appreciate if you help me at this. Best, Parisa |
|
October 4, 2014, 13:57 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Parisa,
You can find detailed instructions for installing OpenFOAM 2.3.0 on Ubuntu 12.04 here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 But you'll have to adapt the instructions for installing OpenFOAM 2.3.x. I believe the error you've made was here: Quote:
Best regards, Bruno
__________________
|
||
December 4, 2014, 07:05 |
|
#3 | |
Senior Member
|
Hello everyone
Currently I am using OF2.3.0 and I am trying to update to 2.3.x. I have followed the instructions as given at openfoam.org. The instructions are same as #Parisa mentioned above except Quote:
In waqas@waqas-Inspiron-N5050:~$ (my home directory) when i type "./Allwmake", it says "bash: ./Allwmake: No such file or directory" can you please tell me where I am making mistake Regards Muhammad |
||
December 4, 2014, 08:03 |
|
#4 |
Senior Member
|
Hi,
You should run Allwmake script in $HOME/OpenFOAM/OpenFOAM-2.3.x but you ran it in your home folder and that resulted in error. |
|
December 4, 2014, 09:49 |
|
#5 |
Senior Member
|
Hello Alexeym
Thank you for you quick response. When I run waqas@waqas-Inspiron-N5050:~/OpenFOAM/OpenFOAM-2.3.x$ ./Allwmake it gives following error Error: Directory does not exist /opt/OpenFOAM-2.3.x Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. and when I run waqas@waqas-Inspiron-N5050:~/OpenFOAM/OpenFOAM-2.3.x$ Allwmake it gives this error Allwmake: command not found I am having some confusion regarding 2.3.x installation
source /opt/openfoam230/etc/bashrc source $HOME/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc Regards Muhammad |
|
December 4, 2014, 10:04 |
|
#6 |
Senior Member
|
Hi,
Well, in short, yes, it OK to have any number of OpenFOAM installation but you have to follow certain rules. Right now you do not. Longer: You've got a line Code:
source /opt/openfoam230/etc/bashrc Code:
source $HOME/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc Code:
: ${FOAM_INST_DIR:=$foamInstall}; export FOAM_INST_DIR Code:
Error: Directory does not exist /opt/OpenFOAM-2.3.x Error: Current directory is not $WM_PROJECT_DIR Here's possible solution for your problem: http://openfoamwiki.net/index.php/In...nFOAM_versions |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
problem with parmetis-3.1.1 installation for openfoam 1.6-ext | achyutan | OpenFOAM Installation | 11 | October 26, 2012 19:18 |
Openfoam installation problem | jose soto | OpenFOAM Installation | 4 | August 9, 2011 02:29 |
OpenFOAM 1.7.0 installation problem | stevek | OpenFOAM | 14 | December 1, 2010 16:30 |
Problem in installation of OpenFOAM | sachin | OpenFOAM Installation | 7 | January 22, 2008 02:40 |