|
[Sponsors] |
[foam-extend.org] Problems installing foam-extend 3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2014, 14:34 |
Problems installing foam-extend 3.0
|
#1 | |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 14 |
Dear Alexeym,
I've followed the installation guide from source code in open foam Wiki and did: Quote:
Code:
./Allwmake.firstInstall Code:
bash: /home/lisa/OpenFOAM/foam-extend-3.0/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/etc/settings.sh: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/etc/aliases.sh: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden bash: /home/lisa/OpenFOAM/foam-extend-3.0/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden and I've sourced the /etc/bashrc of foam-extend-3.0, but still (after doing that) the variable FOAM_INST_DIR is set to /home/lisa/OpenFOAM (where OF-2.2.2 is compiled). Since I work with OpenFOAM-2.2.2 (/home/lisa/OpenFOAM/OpenFOAM-2.2.2) I guess the value of FOAM_INST_DIR was set during that installation. Next I've compiled foam-extend-3.0 in /home/lisa/OpenFOAM/ folder. Compilation started and finished successfully but when I've tried to run the channelOodles tutorial case I got the response that the solver is not found. How can I solve this problem? I would like to use OF-2.2.2 and foam-extend-3.0 Could you help me? Aylalisa |
||
April 10, 2014, 16:11 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Aylalisa,
I've moved your post from the thread http://www.cfd-online.com/Forums/ope...m-2-2-2-a.html - to this new thread, as it was off-topic of the original thread. Since you want to have more than one version of OpenFOAM installed, please read these instructions: http://openfoamwiki.net/index.php/In...with_the_Shell Best regards, Bruno
__________________
|
|
April 11, 2014, 11:48 |
|
#3 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 14 |
Hello Bruno!
with help of your descriptions I could successfully built and use foam-extent 3.0 and newly installed OpenFOAM-2.3.0 next to OpenFOAM-2.2.2. http://www.cfd-online.com/Forums/ope...tml#post477908 http://openfoamwiki.net/index.php/In...ment_Variables As you point out in your descriptions, I have to log out/ log in before I can choose the desired OpenFOAM version by typing the particular alias in a newly opened shell. of222 --> OpenFOAM-2.2.2 of320 --> OpenFOAM-3.2.0 of30ext --> foam I've built OF-2.2.2 and OF-3.2.0 in the same folder /OpenFOAM and foam-extend-3.0 in the folder foam/ So I can switch between of222 and of320 by alternately typing in the appropriate alias, whereas I have to open a new shell to be able to work with foam-extend-3.0. (If I try to switch to this version there arise problems with sourcing the environment variables). Thanks a lot for your guidance! Aylalisa |
|
April 22, 2015, 07:55 |
|
#4 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hello everyone,
I got the task to install foam-extend 3.1 on Ubuntu 14.04 on our computer, where OpenFoam 2.3.1 is allready installed. Therefor I should use precompiled packages. I had a look on the internat and found the following page for installing: https://openfoamwiki.net/index.php/I...oam-extend-3.1 I tried to follow the commands.. but unfortunately I stope really fast. I downloaded the foam-extend_3.1_amd64.deb file and tried to run: software-center foam-extend_3.1_amd64.precise.deb but the software center said: not found. I don't know, what I have to do next or instead. Do I have to unpack the deb file and how do I do this? Or do I have to move this file to an other place? If anyone might help me again, it would be so nice. Thank you so much! Best regards, Stephie |
|
April 22, 2015, 10:34 |
|
#5 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hey, it's me again.. I think it become worse than before.
I downloaded the .deb file and moved it into a new order /foam/foam-extend-3.1 where I unpacked all files. Then I tried to set the environment by typing in the bashrc file: source $HOME/foam/foam-extend-3.1/opt/foam/foam-extend-3.1/etc/bashrc and run the command: cd ~/foam/foam-extend-3.1/opt//foam/foam-extend-3.1 source etc/bashrc the terminal said: no file or directory found, so I tried the next sommand echo "alias fe31='source \$HOME/foam/foam-extend-3.17opt/foam/foam-extend-3.1/etc/bashrc'" >> $HOME/.bashrc sind I did the every time when I open up a new terminal the following lines are showed: bash: alias: fe31: not found bash: $HOME/foam/foam-extend-3.17opt/foam/foam-extend-3.1/etc/bashrc: not found bash: source $HOME/foam/foam-extend-3.17opt/foam/foam-extend-3.1/etc/bashrc: No such file or directory What can I do to solve this chaos? Please help me. Thank you so much. |
|
April 22, 2015, 11:35 |
|
#6 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
okay when I try to run source $HOME/foam/foam-extend-3.1/opt/foam/foam-extend-3.1/etc/bashrc I get a list with entries like:
bash: /opt/foam/foam-extend-3.1/bin/foamCleanPath: No such file or directory bash: /opt/foam/foam-extend-3.1/etc/settings.sh: No such file or directory I understand now that the programm don't find the path, because WM_PROJECT_DIR searchs directly $HOME/foam/foam-extend-3.1 and this path does not exist. When I tried to change WM_PROJECT_DIR into the real path the error message disappears. But I guess, it is not the best solution to replace all WM_PROJECT_DIR's.. isn't it? Because tehre are also some expressions like WM_PROJECT_VERSION etc. So what can I do? Is it possible to delate the whole path and to start from scrath with the installation? Where I have to unpack the .deb file? |
|
April 23, 2015, 05:21 |
|
#7 |
Member
Join Date: Jun 2011
Posts: 53
Rep Power: 15 |
Hello Stephie,
Try install OF-extend from the Source Code, instead of the deb files. I think the binary packages are designed to install in /opt (please correct me, if I am wrong), so I found it always easier to install from source code. The instruction on how to install from source code are also provided on this page: https://openfoamwiki.net/index.php/I...oam-extend-3.1 Best regards Squirrel |
|
April 23, 2015, 05:28 |
|
#8 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hey,
thank you for your answer. For me the installation by Source Code was much easier, but I should use this time binary packages. I moved them to opt now and modified the bashrc file by source /opt/foam/foam-extend-3.1/bashrc. And now I run the command source etc/bashrc... I'm not sure what the computer does but something is working.. the output in the terminal looks a little bit strange, I hope it worke now. Best regards, Stephie |
|
April 23, 2015, 05:54 |
|
#9 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Okay the command ist still running, but I allways read the following line:
bash: /opt/foam/foam-extend-3.1/bin/foamCleanPath: Argument list too long bash: /bin/uname: Argument list too long Do anyone know what it mean? And what I have to do? Best regards and thank you, Stephie |
|
April 23, 2015, 17:17 |
|
#10 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@stephie: Quote:
My suggestion is to follow these steps:
Bruno
__________________
|
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Problems Installing DensityBasedTurbo library on Foam-Extend 3.0 | klozes | OpenFOAM Community Contributions | 2 | April 4, 2020 18:01 |
[foam-extend.org] problems with openFoam extend 3.0 installation | AmirBaqa1987 | OpenFOAM Installation | 1 | December 20, 2016 20:17 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |