Problem with paraFoam installation
I followed the instructions given in the site http://www.openfoam.com/download/source.php
to install OF 1.7 and paraFoam 3.8
when I did
<li class="itemize">cd $WM_THIRD_PARTY_DIR <li class="itemize">./Allclean
I had problems related to gmake and it was fixed by creating a symbolic link
$sudo ln -s /usr/bin/make /usr/bin/gmake
and now I did ./Allclean and the final few lines are pasted here
Installing ParaView to /opt/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0
make: *** No rule to make target `install'. Stop.
Installation complete for paraview-3.8.0
Set environment variables:
Now when run any solver and open paraFoam I get the following error message
created temporary 'bubbleColumn.OpenFOAM'
/opt/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: 135: paraview: not found
and when I do which paraFoam
output points to
I am not able to fix this error.
Looking forward to seek help from you.
Usually the directory /opt and whatever is inside can be modified only as a root user. What you did seems to be that you tried installing Paraview in /opt being the normal user rather than root, Before running makeParaView become root by using "su" or "sudo" (depending on which Linux you use).
Your system thinks ParaView is installed because a path has been exported, but that path is surely empty.
Hi Thanks for your reply..
I am the super user of the computer and I am using Ubuntu 10.04
I did sudo ./makeParaFoam
and I got the following
./makeParaView: 40: wmakeCheckPwd: not found
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.
When I did pwd output is
and when I did echo $WM_THIRD_PARTY_DIR
it points to
both being the same!
Is there any other issues related to Thirdparty PATH settings ?
after executing which wmakeCheckPwd it points to the following directory
Here is the part of my ~/.bashrc file
#paraFoam 3.8 path begin
#paraFoam path ends
Is there any changes to be made in the .bashrc file for the paraFoam path?
After these changes in the .bashrc file running ./makeParaView gives the same error message as described in my previous post. :(
You don't need to add these lines into ~/.bashrc:
OK, now we need to make sure of one thing: when you say "~/.bashrc", is it "/root/.bashrc"?
The thing is this: you are trying to install OpenFOAM in /opt, which usually requires that you do all building steps in root mode. And by simply saying "~/.bashrc", it feels that you are doing half of the job in root, and the other half in normal user.
So, after you've removed those lines for ParaView, that I wrote at the start of this post, and after starting a new terminal in root mode, run this:
Now, going back to your first post: it seems that makeParaView has worked once before, but it failed to build ParaView, probably due to some missing packages. So, next you run makeParaView, do it like this:
Sorry past few days I was bit away from OpenFOAM.
This weekend I got some time to explore
as you said I removed those lines in the ~/.bashrc file (i.e. /home/.bashrc).
I have attached the log file (buildPV.tar.gz) here.
Pls go through when you are free
Awaiting to ear from you.
There you will find what packages you need to install in Ubuntu 10.04.
Basically, from the log you posted, you are missing the Qt4 development artillery and the GLU tools. So, as I said, in that post you will find the command that will install all of the necessary packages!
Thanks for your suggestions.
Installing the missing packages I was able to sovle the problem.
Thank you very much
|All times are GMT -4. The time now is 10:17.|