How can I install PARAVIEW on foam-extend 3.1 ?
How can I install PARAVIEW on foam-extend 3.1 ? Like openfoam... typing "paraFoam" to open paraview...
|
paraView and foam-extend-3.1 (problem)
1 Attachment(s)
I installed the foam-extend-3.1. But after running a tutorial case, I found this problem. I believe the ParaView was not installed. Could someone tell me how I can install it. Sorry to ask in this area of posting, but nobody in the other posts know answer me this. Thanks for attention friends!
Attachment 32474 |
Hi,
error message suggests you to install paraview. You can do it as usual in Ubuntu, either using apt-get, or synaptic, or 'Software center'. |
Have you included the line for OpenFOAM in your .bashrc as mentioned on the installation page?
|
"ParaFoam" does not open on foam-extend 3.1
1 Attachment(s)
On my computer I have installed foam-extend-3.1. However, paraview doesn't open. This is my output message from the terminal:
Code:
a@a-Aspire-V3-571:~/foam/foam-extend-3.1/tutorials/incompressible/icoFoam/cavity$ paraFoam Attachment 32495 When I type ./AllMake.stage4, I got this error: Code:
a@a-Aspire-V3-571:~/foam/foam-extend-3.1/ThirdParty$ ./AllMake.stage4 Someone knows how can I solve it? Best Regards, Steven |
Im a beginer, can you give me the steps? thanks :)
|
If I install paraView out of foam-extend this folder, ie install regardless of foam-extend as if it had not installed foam-extend on my computer work? Or should I install through the files contained in ThirdParty? If I can install by this way (and if it is easier this way), perhaps it would be better, instead of trying to solve this problem so I posted, because may be too difficult to solve.
|
Below are build instructions for Ubuntu 14.04.
These instructions assume that you install in the default location, which is ~/foam/ . Create this folder with: cd ~ mkdir foam * Obtain and unpack source code (if you read this, you probably already have): The recommended way is to get the source code through git source code management system. This way, you can get updates and bugfixes easily by running "git pull". To install into the default location run: cd ~/foam git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1 Alternatively, you can download a snapshot (.tgz) of the source code from: http://sourceforge.net/projects/open...am-extend-3.1/ * Update your Ubuntu installation: sudo apt-get update sudo apt-get upgrade * Install required packages: sudo apt-get install git-core build-essential binutils-dev flex \ zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev \ libxt-dev rpm mercurial graphviz openmpi-bin libopenmpi-dev cmake * For Ubuntu 14.04, you need to customize some of the ThirdParty packages in order to enable the usage of system-provided packages, and to enable the compilation of other, like bison-2.7. Here is a list of sed commands that will do just that. You can copy/paste the following block of commands in a control terminal in order to make the necessary adjustments. You will need to be located at the root of your foam-extend-3.1 installation for those commands to work. ################################################## ################## # # Create a prefs.sh file cp etc/prefs.sh-EXAMPLE etc/prefs.sh # Use openmpi 1.6.5 as supplied by Ubuntu 14.04 sed -i s/"#export WM_MPLIB=SYSTEMOPENMPI"/"export WM_MPLIB=SYSTEMOPENMPI"/g etc/prefs.sh sed -i s/"#export OPENMPI_DIR=path_to_system_installed_openmpi"/"export OPENMPI_DIR=\/usr"/g etc/prefs.sh sed -i s/"#export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/"export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/g etc/prefs.sh # Use Qt 4.8.6 as provided by Ubuntu 14.04 sed -i s/"#export QT_DIR=path_to_system_installed_qt"/"export QT_DIR=\/usr"/g etc/prefs.sh sed -i s/"#export QT_BIN_DIR=\$QT_DIR\/bin"/"export QT_BIN_DIR=\$QT_DIR\/bin"/g etc/prefs.sh # Use cmake 2.8.12.2 as provided by Ubuntu 14.04 sed -i s/"( rpm_make -p cmake"/"#( rpm_make -p cmake"/g ThirdParty/AllMake.stage1 # Compile and install bison-2.7 from the ThirdParty packages. sed -i 0,/"#( rpm_make -p bison-2.7"/s//"( rpm_make -p bison-2.7"/ ThirdParty/AllMake.stage1 # ################################################## ################## * Set environment variables: cd ~/foam/foam-extend-3.1 . etc/bashrc Optionally, set environment variable for compiling Cuda solvers, for example (replace "sm_30" with value according to your GPU architecture): export CUDA_ARCH=sm_30 * Compile: ./Allwmake.firstInstall * Create user directory: mkdir -p $FOAM_RUN And you are ready to start. |
I don't use OF-extend, so I can't really help there.
Paraview comes with the vanilla OF distribution, you might be able to use that instead. |
I I follow these procedures .. then after I typed ./AllMake.stage4 inside ThirdParty, this error appeared:
Code:
======================================== |
Can I use paraview from openfoam-2.3 installation to see my results from cases of foam-extend? If yes .. I'll install it (openfoam 2.3), because this problem is difficult to solve ...
|
you could download and install paraview as a standalone software from below site.
http://www.paraview.org/download/ it is not short way but i use for now. then create a dummy file named "anything.foam" in your case folder, open paraview File -> Open -> change "Files of type" to All Files (*) select "anything.foam" file double click. i hope more professional helps come. best regards. |
You can probably also use the paraFoam version from an OpenFOAM installation by writing a short script that sources the OpenFOAM version that includes paraFoam, start paraFoam and source the OF-Extend version again.
|
Greetings to all!
@steven123: The error message you showed in post #10 is letting you know that cmake is not installed: Quote:
Code:
sudo apt-get install git-core build-essential binutils-dev flex \ Code:
sudo apt-get install git-core build-essential binutils-dev flex zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev libxt-dev rpm mercurial graphviz openmpi-bin libopenmpi-dev cmake Best regards, Bruno |
same problem here. following the instructions here to use system installed paraview didn't work
http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html Problem with this uncommenting and running this line Code:
sed -i -e 's=\.OpenFOAM=\.foam=' foam-extend-3.1/bin/paraFoam And I guess there are implications when you do this, it changes the right file but it wouldn't work when running paraFoam in foam 3.1 extend Code:
sed -i -e 's=\.OpenFOAM=\.foam=' bin/paraFoam |
Greetings haze_1986,
Sorry, I'm confused by your description :( Does the last command line you provided fix the problem or not?
Bruno |
Quote:
Just a detailed explanation to what I have done and the error message: Code:
sed -i -e 's=\.OpenFOAM=\.foam=' foam-extend-3.1/bin/paraFoam Code:
sed: can't read foam-extend-3.1/bin/paraFoam: No such file or directory Code:
sed -i -e 's=\.OpenFOAM=\.foam=' bin/paraFoam I followed the compilation instruction to compile foam extend 3.1, no errors in the compilation log but in the foam 3.1 extend environment I am unable to run paraFoam, it will say that paraview is not installed. |
Hi haze_1986,
Quote:
In other words, what were the exact commands or steps you've followed to install ParaView? And if it's installed on your system, then what do these commands give you? Code:
which paraview Bruno |
Quote:
In the f31 environment, which paraview does not give me anything, ls -l /usr/bin/paraview gave an error Code:
cannot access /usr/bin/paraview: No such file or directory which paraview gave Code:
/home/haze/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/ParaView-4.1.0/bin/paraview Code:
cannot access /usr/bin/paraview: No such file or directory |
Hi haze_1986,
Then all of that means that ParaView is not installed in your system. And that the ParaView version you have on OpenFOAM 2.3.x was built specifically for OpenFOAM 2.3.x, therefore it's not installed as a "system installed" ParaView version. Which Linux Distribution are you using? Because installing the system ParaView version depends on the Linux Distribution you are using. Best regards, Bruno |
All times are GMT -4. The time now is 14:04. |