|
[Sponsors] |
July 13, 2010, 02:50 |
Problem with paraFoam installation
|
#1 |
Member
|
Hi All,
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 Done make 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: export ParaView_DIR=/opt/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8 --- Done 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 /opt/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam I am not able to fix this error. Looking forward to seek help from you. Regards Raghu |
|
July 28, 2010, 06:17 |
|
#2 |
New Member
César Vecchio
Join Date: Jul 2010
Location: Córdoba, Argentina
Posts: 21
Rep Power: 16 |
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. |
|
July 28, 2010, 07:05 |
|
#3 |
Member
|
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 /opt/OpenFOAM/ThirdParty-1.7.0 and when I did echo $WM_THIRD_PARTY_DIR it points to /opt/OpenFOAM/ThirdParty-1.7.0 both being the same! Is there any other issues related to Thirdparty PATH settings ? Regards Raghu |
|
July 28, 2010, 18:27 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Raghu,
There are two possibilities for this to have happened:
Bruno
__________________
|
|
July 29, 2010, 01:00 |
|
#5 |
Member
|
Hi Bruno,
after executing which wmakeCheckPwd it points to the following directory /opt/OpenFOAM/OpenFOAM-1.7.0/wmake/wmakeCheckPwd Here is the part of my ~/.bashrc file #OpenFOAM-1.7 path . /opt/OpenFOAM/OpenFOAM-1.7.0/etc/bashrc export FOAM_USER_APP="$WM_PROJECT_USER_DIR/applications" export FOAM_USER_SOL="$FOAM_USER_APP/solvers" export FOAM_USER_SRC="$WM_PROJECT_USER_DIR/src" #paraFoam 3.8 path begin export ParaView_DIR=/opt/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8. export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8 #paraFoam path ends export PATH="$HOME/bin:$PATH" export INCLUDE_PATH="$INCLUDE_PATH:/usr/include:/usr/include/c++/4.2/backward/" 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. |
|
July 30, 2010, 10:12 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Raghu,
You don't need to add these lines into ~/.bashrc: Code:
#paraFoam 3.8 path begin export ParaView_DIR=/opt/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8. export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8 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: Code:
echo $ParaView_DIR 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: Code:
./makeParaView > buildPV.log 2>&1 Code:
tar -czf buildPV.tar.gz buildPV.log Bruno
__________________
|
|
August 7, 2010, 07:48 |
|
#7 |
Member
|
Hi Bruno
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. Regards Raghu |
|
August 7, 2010, 17:39 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Raghu,
Quote:
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! Good luck! Bruno
__________________
|
||
August 16, 2010, 01:51 |
Solved !
|
#9 |
Member
|
Hi Bruno!
Thanks for your suggestions. Installing the missing packages I was able to sovle the problem. Thank you very much Regards Raghu |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] paraFoam problem | autumn1012 | ParaView | 22 | July 8, 2010 03:20 |
Problem with paraFoam | ata | OpenFOAM | 14 | November 30, 2009 05:23 |
paraFoam running problem | Aleksey_R | OpenFOAM | 2 | November 27, 2009 19:18 |
[blockMesh] Problem using paraFoam to view cavityGrade mesh file | felik9 | OpenFOAM Meshing & Mesh Conversion | 1 | September 27, 2009 16:31 |
Problem with LinuxIA64 installation of OpenFOAM13 | antares | OpenFOAM Installation | 0 | May 25, 2006 13:19 |