|
[Sponsors] |
[foam-extend.org] Having trouble following the installation instructions for foam-extend 3.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 3, 2015, 11:02 |
Having trouble following the installation instructions for foam-extend 3.1
|
#1 |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Another question. while installing extend 3.1 there is a command saying "
# Create a prefs.sh file cp etc/prefs.sh-EXAMPLE etc/prefs.sh i dont know what to do with it ,how to make a prefs.sh file and in which directory. |
|
February 3, 2015, 15:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick question: Which specific installation instructions are you following?
Quick suggestion: If you're not yet familiar with the command line (shell), then please study this wiki page: http://openfoamwiki.net/index.php/In...with_the_Shell |
|
February 4, 2015, 06:48 |
Error during the installation of foam-extend 3.1 ubuntu 14.04
|
#3 |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Hi. i followed the instruction in http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html but when i type "f31" this error shows up
Code:
bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/etc/settings.sh: No such file or directory bash: /opt/foam-extend-3.1/etc/aliases.sh: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory Last edited by wyldckat; February 4, 2015 at 16:01. Reason: Added [CODE][/CODE] |
|
February 4, 2015, 11:23 |
|
#4 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
Code:
bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/etc/settings.sh: No such file or directory bash: /opt/foam-extend-3.1/etc/aliases.sh: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory note that in the second step i skiped this error Code:
root@sepinood-Inspiron-N5010:~# sudo apt-get install git-core build-essential binutils-dev cmake flex \ > bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev\ > libxt-dev rpm mercurial graphviz Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libiberty-devlibxt-dev maybe its because of that Last edited by wyldckat; February 4, 2015 at 16:02. Reason: Added [CODE][/CODE] |
||
February 4, 2015, 11:44 |
foam-extend 3.1
|
#5 |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
I am using ubuntu 14.04LTS and in second step of foam-extend 3.1 instruction when typing
Code:
sudo apt-get install git-core build-essential binutils-dev cmake flex \ bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev\ libxt-dev rpm mercurial graphviz this error shows up! Code:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libiberty-devlibxt-dev Last edited by wyldckat; February 4, 2015 at 16:03. Reason: Added [CODE][/CODE] |
|
February 4, 2015, 16:17 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings mojtaba,
The first problem is because you has not properly studied these instructions: http://openfoamwiki.net/index.php/In...nFOAM_versions In other words, the idea is that you need to:
Sorry, the second problem is because the wiki had an error, where it was missing a space near the end of the second line. Please try running the following command: Code:
sudo apt-get install git-core build-essential binutils-dev cmake flex \ bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev \ libxt-dev rpm mercurial graphviz Bruno
__________________
|
|
February 5, 2015, 07:05 |
foam-extend 3.1
|
#7 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
./Allwmake.firstInstal in the process of compiling i saw some errors but compiling was done. is it okay or not? As its been said in wiki when i start a new terminal i type f31, but running tutorials is my problem. in step 4 after typing mkdir -p $FOAM_RUN this error appears mkdir: missing operand Try 'mkdir --help' for more information. what am i missing? |
||
February 5, 2015, 17:12 |
foam-extend 3.1
|
#9 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' alias OF23x='. /home/sepinood/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' alias f31='. $HOME/foam/foam-extend-3.1/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' |
||
February 6, 2015, 10:37 |
foam-extend 3.1
|
#11 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
sepinood@sepinood-Inspiron-N5010:~$ source $HOME/foam/foam-extend-3.1/etc/bashrc sepinood@sepinood-Inspiron-N5010:~$ The second command : sepinood@sepinood-Inspiron-N5010:~$ which foamJob /home/sepinood/foam/foam-extend-3.1/bin/foamJob sepinood@sepinood-Inspiron-N5010:~$ |
||
February 7, 2015, 06:35 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, then try to follow these steps:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc foam ./Allwmake.firstInstall > log.make 2>&1 source $HOME/foam/foam-extend-3.1/etc/bashrc which icoFoam which paraview |
|
February 7, 2015, 11:16 |
foam-extend 3.1
|
#13 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
./Allwmake.firstInstall > log.make 2>&1 it shows Permission denied error. This is my terminal window: sepinood@sepinood-Inspiron-N5010:~$ source $HOME/foam/foam-extend-3.1/etc/bashrc sepinood@sepinood-Inspiron-N5010:~$ foam sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ ./Allwmake.firstInstall > log.make 2>&1 bash: log.make: Permission denied sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ |
||
February 7, 2015, 11:28 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
That's what happens when you do too many commands with root powers. To revert the folder for your own user to be able to make the installation, run:
Code:
sudo chown -R $USER:$USER $HOME/foam |
|
February 7, 2015, 17:51 |
|
#15 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
This is my terminal: sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ ./Allwmake.firstInstall > log.make 2>&1 sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ source $HOME/foam/foam-extend-3.1/etc/bashrc sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which icoFoam sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which paraview sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ |
||
February 7, 2015, 18:12 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, now we've reached a stage where we can begin diagnosing what's going on wrong with the build process. If possible, please compress the file "log.make" and attach it to your next post.
If you do not know how to compress a file, then run the following command: Code:
tar -czf log.make.tar.gz log.make If the file is larger than 100kB, then please use a file sharing service to provide said file. |
|
February 7, 2015, 18:37 |
|
#17 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
bash: ./Allwmake: No such file or directorylog.make.tar.gz |
||
February 7, 2015, 18:43 |
|
#18 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
That is very strange.
Then run the following commands: Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc foam pwd ls -l |
|
February 7, 2015, 19:00 |
foam-extend 3.1
|
#19 | |
Member
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11 |
Quote:
Code:
sepinood@sepinood-Inspiron-N5010:~$ source $HOME/foam/foam-extend-3.1/etc/bashrc sepinood@sepinood-Inspiron-N5010:~$ foam sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ pwd /home/sepinood/foam/foam-extend-3.1 sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ ls -l total 4584 -rwxr-xr-x 1 sepinood sepinood 40 فوریه 3 00:37 Allclean -rwxr-xr-x 1 sepinood sepinood 831 فوریه 3 00:37 Allwmake -rwxr-xr-x 1 sepinood sepinood 2498 فوریه 3 00:37 Allwmake.firstInstall drwxr-xr-x 5 sepinood sepinood 4096 فوریه 7 22:29 applications drwxr-xr-x 4 sepinood sepinood 4096 فوریه 3 00:37 bin -rw-r--r-- 1 sepinood sepinood 6921 فوریه 3 00:37 CMakeLists.txt -rw-r--r-- 1 sepinood sepinood 35147 فوریه 3 00:37 COPYING -rw-r--r-- 1 sepinood sepinood 572 فوریه 3 00:37 CTestConfig.cmake drwxr-xr-x 5 sepinood sepinood 4096 فوریه 3 00:37 doc drwxr-xr-x 4 sepinood sepinood 4096 فوریه 3 21:23 etc drwxr-xr-x 2 sepinood sepinood 4096 فوریه 3 00:37 extend-bazaar -rw-r--r-- 1 sepinood sepinood 4876 فوریه 3 00:37 ExtendProjectPreamble drwxrwxr-x 3 sepinood sepinood 4096 فوریه 7 20:54 lib -rw-r--r-- 1 sepinood sepinood 1617 فوریه 3 00:37 ListOfContributors -rw-r--r-- 1 sepinood sepinood 4501516 فوریه 8 00:09 log.make drwxr-xr-x 2 sepinood sepinood 4096 فوریه 3 00:37 Macros -rw-r--r-- 1 sepinood sepinood 13457 فوریه 3 00:37 ReleaseNotes -rw-r--r-- 1 sepinood sepinood 21360 فوریه 3 00:37 ReleaseNotes.html -rw-r--r-- 1 sepinood sepinood 13539 فوریه 3 00:37 ReleaseNotes.txt drwxr-xr-x 36 sepinood sepinood 4096 فوریه 3 00:37 src drwxr-xr-x 4 sepinood sepinood 4096 فوریه 3 00:37 testHarness drwxr-xr-x 6 sepinood sepinood 4096 فوریه 7 20:32 ThirdParty drwxr-xr-x 20 sepinood sepinood 4096 فوریه 3 00:38 tutorials drwxr-xr-x 4 sepinood sepinood 4096 فوریه 3 00:38 vagrantSandbox drwxr-xr-x 6 sepinood sepinood 4096 فوریه 7 20:31 wmake Last edited by wyldckat; February 8, 2015 at 06:20. Reason: Added [CODE][/CODE] |
||
February 8, 2015, 06:25 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, so apparently you compressed and provided the wrong file.
Start a new terminal and run: Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc foam tar -czf log.make.tar.gz log.make pwd |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] A problem about installation of open foam extend 3.1 | Toalchemist | OpenFOAM Installation | 1 | May 31, 2018 09:58 |
[foam-extend.org] Foam extend 3.2 wrong installation directory | geop | OpenFOAM Installation | 0 | May 11, 2016 06:52 |
[foam-extend.org] Error during the installation of foam-extend 3.1 | shipman | OpenFOAM Installation | 6 | April 18, 2016 07:37 |
ParaView-4.0.1 did not compile for foam extend 3.0 installation | mhkenergy | OpenFOAM Installation | 8 | June 4, 2014 03:26 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |