|
[Sponsors] |
[foam-extend.org] Ubuntu 14.04, Foam-extend 3.1: "command not found" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 6, 2015, 04:19 |
Ubuntu 14.04, Foam-extend 3.1: "command not found"
|
#1 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
Dear foamers,
I try to install the foam-extend-3.1 on ubuntu 14.04 besides of231. After compiling the foam extend with "Allwmake.firstInstall", I'm trying to run some test case. However, it always shows like "blockMesh: command not found". So, what's the problem? Thanks, KangX1 |
|
August 8, 2015, 01:21 |
|
#2 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
can anyone help...?
|
|
August 8, 2015, 06:53 |
|
#3 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
Did you include the alias for foamextend in your .bashrc file?
|
|
August 10, 2015, 06:25 |
|
#4 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
||
August 10, 2015, 15:58 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@KangX1: Then something very wrong happened while building foam-extend 3.1. Please do the following steps, for diagnosing the problem:
Best regards, Bruno
__________________
|
|
August 10, 2015, 16:12 |
|
#6 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
I've tried the method above. Here's the log file.
Many Thanks, |
|
August 10, 2015, 17:15 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Thanks, that makes it a lot easier to diagnose!
OK, first problem is that rpm is not installed. Did you install the suggested packages, as listed here: http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04 - namely as explained in section "2.3 Ubuntu 14.04"? The other errors are mostly related to the missing rpm installation, but the error related to blockMesh is because the package "libiberty-dev" is also not installed on your system. Therefore, all indicates that the problem is that the necessary packages for building foam-extend are not yet installed in your system, as instructed in http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04 |
|
August 10, 2015, 23:27 |
|
#8 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
It works!!!!!!!
Thannnnnnnks!!! |
|
September 22, 2015, 15:24 |
|
#9 |
New Member
Wojciech Gołąbek
Join Date: Dec 2013
Posts: 29
Rep Power: 12 |
I have a similar problem as KangX1 so I tryed to use your solution but when I tryed to run Allwmake.firstInstall the terminal begins to run script but but it takes more than 2 hours and still I can only see is this:
I suppose that It shouldn't be the problem but I got also openfoam 2.4. I include the alias for both programs like this: So I totally do not know what's happening Thank you in advance for your help |
|
September 22, 2015, 15:28 |
|
#10 | |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
Quote:
Have installed the "rpm" package before you compile for the first time? As @wyldckat said, missing that part will cause that problem as I did. Thanks. Lida |
||
September 22, 2015, 15:51 |
|
#11 | |
New Member
Wojciech Gołąbek
Join Date: Dec 2013
Posts: 29
Rep Power: 12 |
Yes I did and when I tryed to use it again I received the following massage:
Quote:
Best regards, W. Gołąbek |
||
September 22, 2015, 15:54 |
|
#12 | |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
Quote:
It seems rpm package is not the one. Maybe u can try compile it again with the log, and upload the log so that everyone can help u to find out where it goes wrong. BR, Lida |
||
September 22, 2015, 16:03 |
|
#13 |
New Member
Wojciech Gołąbek
Join Date: Dec 2013
Posts: 29
Rep Power: 12 |
But problem is that I can't use this script:
Code:
foam ./Allwmake.firstInstall > log.make 2>&1 how long did it take in your case to run it? As I wrote before in my case after 2 hours script still has not executed. Best regards, W. Gołąbek |
|
September 22, 2015, 16:08 |
|
#14 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
only input this
"./Allwmake.firstInstall > log.make 2>&1" in the terminal In my case, my laptop used 3 hours or more to run it. It's normal to use hours to do it. Take it easy and get some coffee : ) Lida |
|
September 23, 2015, 08:38 |
|
#15 |
New Member
Wojciech Gołąbek
Join Date: Dec 2013
Posts: 29
Rep Power: 12 |
Ok I found way to solve my problem.
First of all I leaved my PC for all night and I supposed that it definitely should be done after this time but I was wrong. Terminal still perform something in the background (I mean I didn't see any action in terminal window) . I decided to check foam-extend folder and I saw new file log.make when I opend it I saw question from script file 'Proceed without compiling ParaView [Y/n]' so I wrote Y in terminal and after less than an hour the script was finally executed. I hope this will help sb with same problem. Thank you for your help KangX1 Best regards, W. Gołąbek |
|
September 23, 2015, 11:34 |
|
#16 |
New Member
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11 |
You are welcome.
|
|
October 21, 2015, 23:31 |
command not found
|
#17 |
New Member
heidi
Join Date: Mar 2015
Posts: 6
Rep Power: 11 |
Dear fomers
I also try to install the foam-extend-3.1 on ubuntu 14.04 besides of240. I add alias of240=’source $HOME/OpenFOAM/OpenFOAM-2.4.0/ect/bashrc’ alias fe31=’source $HOME/foam/foam-extend-3.1/ect/bashrc’ in $HOME/.bashrc When I startup a new terminal, run of240, it success! But when I startup a new terminal, run fe31, it show “command not found”. Then I run env, the WM_PROJECT_DIR=/home/zhhy/foam/foam-extend-3.1 I don’t know why? Who can help me, thank you!! |
|
October 22, 2015, 17:14 |
|
#18 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Quote:
Code:
alias of240='source $HOME/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc' alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc'
Code:
ls $HOME/foam/foam-extend-3.1/etc/bashrc source $HOME/foam/foam-extend-3.1/etc/bashrc |
||
October 24, 2015, 22:31 |
|
#19 | |
New Member
heidi
Join Date: Mar 2015
Posts: 6
Rep Power: 11 |
Quote:
This shows: zhhy@zhhy:~$ ls $HOME/foam/foam-extend-3.1/etc/bashrc /home/zhhy/foam/foam-extend-3.1/etc/bashrc zhhy@zhhy:~$ source $HOME/foam/foam-extend-3.1/etc/bashrc bash: /home/zhhy/foam/foam-extend-3.1/bin/foamGetSystemInfo: Permission Denied bash: /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath: Permission Denied bash: /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath: Permission Denied bash: /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath: Permission Denied bash: /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath: Permission Denied bash: /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath: Permission Denied bash: /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath: Permission Denied zhhy@zhhy:~$ sudo source $HOME/foam/foam-extend-3.1/etc/bashrc [sudo] password for zhhy: sudo:source: command not found what can i do next? |
||
October 25, 2015, 09:01 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick questions:
|
|
Tags |
foam extend 3.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |