Unable to install OpenFOAM 1.6-ext
Hi all,
currently, I'm working in OpenFOAM 2.2.1. Now,I'm trying to install OpenFOAM 1.6-ext to work with icoFsiFoam tutorials. Now, I got problem with terminal window, when I open it, it gives me directly the following error ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++ bash: /opt/OpenFOAM-1.6-ext/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/settings.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/aliases.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory maimouna@maimouna-desktop:~$ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++ What's the problem? How can I solve that? and if I would like to re-install OpenFOAM 1.6-ext, how can I do it? I tried to remove it and install it again, but isn't coming. I really appreciate your help. Regards Maimouna |
OpenFoam 1.6-ext installation problem
Dear Maimouna,
1.) Please try to change the title of your post/thread to something more narrative, such as OpenFoam 1.6-ext installation bash error 2.) My first guess concerning your problem would be that something with the .bashrc is wrong. Either the files are not existent on your system because you removed them, or one of the paths, maybe the one in OpenFOAM-1.6-ext/etc/bashrc is pointing the wrong way. A long shot from my side: Did you really install into /opt instead of $HOME? At the moment all is speculative, I would suggest attaching your .bashrc (without any passwords and such, of course) to your next post, then one could see if there already is a fundamental problem in there. Ideally attach the OpenFOAM-1.6-ext/etc/bashrc as well... |
installation problem OpenFOAM-1.6-ext
Hi foamers,
I already worked in OpenFOAM 2.2.1 on Ubuntu 12.04 for different cases. Now, I'm trying to install OpenFOAM 1.6-ext to work with icoFsiFoam and different cases in FSI. I did the following steps to show you if I'm doing well or not: 1. I had OpenFOAM folder inside $HOME directory 2. I already installed OpenFOAM-2.2.1 in this directory and it is working properly. 3. Inside OpenFOAM directory, I installed OpenFOAM 1.6-ext by following instructions given in http://openfoamwiki.net/index.php/In...1.6-ext/Ubuntu 4. When I was in step number 10 to check if everything going well by typing gedit log.AllMake it gives me the following error ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++ Error: Directory does not exist /opt/ThirdParty-2.2.1 Error: Current directory is not $WM_THIRD_PARTY_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++ I don't know what are the problems and how to solve it?:confused: Moreover, when I go back to the OpenFOAM directory where I install OpenFOAM 1.6-ext, I found two locked folders /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext and /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext.git Why they are locked? I tried many times to delete them to re-install OpenFOAM 1.6-ext again , but gives me messages can't move them to recycle bin?:( Can you help me please to get answers for all my questions. |
Quick answer @Maimouna: Please read and study this blog post: Advanced tips for working with the OpenFOAM shell environment
|
Dear Bruno,
many thanks for your reply. I have problem in terminal window, directly it gives me these errors when starts ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++ bash: /opt/OpenFOAM-1.6-ext/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/settings.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/aliases.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/settings.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/aliases.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++ How can I solve it? OpenFOAM-1.6-ext installation doesn't complete. I tried to remove it and install it again, but it isn't coming I really confused and I don't know the problem? I really appreciate your help. |
Also, after I installed OpenFOAM-1.6-ext, even it is not completed, tutorials in previous OpenFOAM 2.2.1 not working now. When I type blockMesh in some cases such as icoFoam/cavity it gives me this error --> FOAM FATAL ERROR in Foam::findEtcFiles() : could not find mandatory file
'controlDict' but it was worked properly. How can I solve this error? |
Like I wrote above:
Quote:
|
To me it seems to be a problem with your OpenFOAM-1.6-ext/etc/bashrc
Try to find the line where you can set the installation location ($FOAM_INSTALL_DIR ?) . The setting at the moment seems to be /opt. Usually you will find a commented line shortly below where it says $HOME/OpenFOAM. Just comment the /opt-line and uncomment the $HOME/OpenFOAM-line and you should be much further in your compilation. |
I read the tips in Advanced tips for working with the OpenFOAM shell environment, but the problem is I have read only bashrc file, so I couldn't save any changes on it.
What to do? I got locked folder of OpenFOAM1.6-ext and OpenFOAM-1.6-ext.git. I tried to remove the previous installation to install OpenFOAM-1.6-ext again, but could't. How can I solve this problem? |
My planning no to re-install OpenFOAM-1.6-ext.
How can I, the problem is with that locked folders? |
Greetings to all!
I was in a hurry and couldn't go into details in the previous posts. @Maimouna: Quote:
What I mean by this, is that this blog post is not something that can be read in 5 minutes or less. In order to understand it, you need to read and try it out on the command line and read again and try again, until you can understand what it all means. This will take somewhere between 10 and 20 minutes, not just 5 minutes. As for the problem at hand, the first issue is this: Quote:
Once it's open for editing, find these lines or similar ones: Code:
. /opt/openfoam221/etc/bashrc Code:
alias of221='. /opt/openfoam221/etc/bashrc' Quote:
As for using OpenFOAM 1.6-ext:
If my guess is correct, this should solve the problem. Best regards, Bruno |
Error with gedit log.AllMake during OpenFOAM-1.6-ext installation
Dear OpenFOAM users
I'm working in OpenFOAM-2.2.1 on Ubuntu 12.04. My planning is to use icoFsiFoam solver which is located in OpenFOAM-1.6-ext. That's why I'm installing OpenFOAM-1.6-ext in my machine. I got the followig error in log.AllMake file Code:
Error: Directory does not exist /opt/ThirdParty-2.2.1 For more details, can you please check OpenFOAM-1.6-ext/etc/.bashrc file below (sorry I couldn't attach it, it gives me attached error:o) Code:
#----------------------------------*-sh-*-------------------------------------- If I remove OpenFOAM-2.2.1 can install OpenFOAM-1.6-ext, is it solution? Any solution, would be welcomed. Regards |
Greetings Maimouna,
I did give you the solution in the previous post, but apparently I wasn't clear enough on the instructions... :rolleyes: OK, let me try to explain it like this:
Bruno |
Dear Bruno,
many thanks for your reply and so sorry for my late reply. when I started of221, it works fine. But when I opened a new terminal for of16ext, it gives me the following comments Code:
maimouna@maimouna-desktop:~$ of16ext At the end, I tried blockMesh for cavity case but also the error shown there. Please, help me to avoid that. Many thanks for advanced. |
Hi Maimouna,
It's looking good now! So the explanation is as follows:
Bruno |
Dear Bruno,
my plenty of thanks to you. It works fine now. I still have one problem with ParaView in of16ext. I followed your post #3 which is given in http://www.cfd-online.com/Forums/openfoam-installation/120327-can-different-openfoam-versions-share-same-paraview.html but it gives me the following remark ************************************************** ************************************************** ********** maimouna@maimouna-desktop:~/OpenFOAM/maimouna-1.6-ext/run/tutorials/incompressible/icoFoam/cavity$ paraFoam -builtin unknown option/argument: '-builtin -builtin' usage: paraFoam [OPTION] options: -case dir specify alternative case directory -region name specify mesh region name -touch only create the .foam file * start paraview with the OpenFOAM libraries ************************************************** ************************************************** *** and I already add alias paraFoam = 'paraFoam -builtin' in ~/.bashrc How can I solve that? |
Hi Maimouna,
Mmm... OK, try these steps:
Bruno |
Dear Bruno,
sorry for disturbing you again. I followed all steps that you give,but unfortunately, it was not working. It gives /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: 267: /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: paraview: not found. I already built it. Whats wrong? |
Dear Bruno,
I tried it many times by following the previous post and this post. It still gave me the same error after paraFoam and I tried paraFoam -builtin as well, both give me the same ************************************************** ************************************************** *********** maimouna@maimouna-desktop:~/OpenFOAM/maimouna-1.6-ext/run/tutorials/incompressible/icoFoam/cavity$ paraFoam FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake ************************************************** ************************************************** *********** Are there any special aliasis need in ~/.bashrc file? Moreover, I didn't have $WM_PROJECT_DIR. Directly, I went to /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext/bin which has paraFoam script. Did this affect steps? Many thanks in advanced. |
Dear Bruno,
when I tried paraFoam -builtin it gives me /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: 267: /home/maimouna/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: paraview: not found Can you help me please on that comment. Many thanks in advanced |
All times are GMT -4. The time now is 09:29. |