CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Trouble installing ParaView from source (https://www.cfd-online.com/Forums/paraview/173182-trouble-installing-paraview-source.html)

Jack_Landis June 15, 2016 05:39

Trouble installing ParaView from source
 
Dear all,

I'm fighting with ParaView wiki in order to install it from source... I have Ubuntu 15.10 and want to install ParaView 3.12, so I need to compile it from source...

This is the wiki I'm following:

http://www.paraview.org/Wiki/index.p...ll&oldid=46445

I can arrive without problems to "configure ParaView with cmake" but then it make no sense anymore for me...It is told this:

"Use ccmake (Curses CMake GUI) from the CMake installed location. CCMake is a Curses based GUI for CMake. To run it go to the build directory and specify as an argument the src directory."

What does this mean? There is some command after this few lines but they call a folder I haven't created...

I really don't know what to do...Can please someone help me?

suryansh June 15, 2016 09:41

Install Debian Package instead
 
Hi Jack

It is indeed a very tedious and time consuming task to install paraview from source. I would suggest that you install it from the debian packages available at the OpenFoam website's download page

sudo dpkg -i <packageName.deb>

can be used to install debian packages on any linux platform. You do not need to install it from source.

I installed both OpenFoam and paraview using these packages, and I am using Linux Mint 17.2

Jack_Landis June 15, 2016 10:22

I also tried to follow the instructions on OF site for compiling version 2.2.1 (the one I use) and for the related third party (ParaView 3.12) but I have this error...

Code:

-- Configuring development install...
-- Configuring incomplete, errors occurred!
See also "/home/openfoam/OpenFOAM/ThirdParty-2.2.1/build/linux64Gcc/paraview-3.12.0/CMakeFiles/CMakeOutput.log".
See also "/home/openfoam/OpenFOAM/ThirdParty-2.2.1/build/linux64Gcc/paraview-3.12.0/CMakeFiles/CMakeError.log".
    Starting make
make: *** No targets specified and no makefile found.  Stop.
Command exited with non-zero status 2
0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 2412maxresident)k
0inputs+0outputs (0major+141minor)pagefaults 0swaps
    Done make
    Installing ParaView to /home/openfoam/OpenFOAM/ThirdParty-2.2.1/platforms/linux64Gcc/paraview-3.12.0
make: *** No rule to make target 'install'.  Stop.
    ---
    Installation complete for paraview-3.12.0
    Set environment variables:

        export ParaView_DIR=/home/openfoam/OpenFOAM/ThirdParty-2.2.1/platforms/linux64Gcc/paraview-3.12.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12
    ---

Done

Do you have any suggestions? Where can I find the packages you mentioned?

Jack_Landis June 15, 2016 10:26

I'm following this guide: http://openfoam.org/download/2-2-1-source/

suryansh June 15, 2016 10:32

These are the latest versions of paraview and openFoam for 32bit and 64bit both. You can use them.

openfoam.org/download/ubuntu/dists/trusty/main/binary-i386/openfoam30_1-1_i386.deb
openfoam.org/download/ubuntu/dists/trusty/main/binary-i386/paraviewopenfoam44_0-1_i386.deb
openfoam.org/download/ubuntu/dists/trusty/main/binary-amd64/openfoam30_1-1_amd64.deb
openfoam.org/download/ubuntu/dists/trusty/main/binary-amd64/paraviewopenfoam44_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/wily/main/binary-i386/openfoam30_1-1_i386.deb
openfoam.org/download/ubuntu/dists/wily/main/binary-i386/paraviewopenfoam44_0-1_i386.deb
openfoam.org/download/ubuntu/dists/wily/main/binary-amd64/openfoam30_1-1_amd64.deb
openfoam.org/download/ubuntu/dists/wily/main/binary-amd64/paraviewopenfoam44_0-1_amd64.deb

These are the packages of version 2.2.1, which you are looking for.
Found them here
http://openfoam.org/download/2-2-1-ubuntu/

openfoam.org/download/ubuntu/dists/precise/main/binary-amd64/openfoam221_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/precise/main/binary-amd64/paraviewopenfoam3120_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/precise/main/binary-i386/openfoam221_0-1_i386.deb
openfoam.org/download/ubuntu/dists/precise/main/binary-i386/paraviewopenfoam3120_0-1_i386.deb
openfoam.org/download/ubuntu/dists/quantal/main/binary-amd64/openfoam221_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/quantal/main/binary-amd64/paraviewopenfoam3120_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/quantal/main/binary-i386/openfoam221_0-1_i386.deb
openfoam.org/download/ubuntu/dists/quantal/main/binary-i386/paraviewopenfoam3120_0-1_i386.deb
openfoam.org/download/ubuntu/dists/raring/main/binary-amd64/openfoam221_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/raring/main/binary-amd64/paraviewopenfoam3120_0-1_amd64.deb
openfoam.org/download/ubuntu/dists/raring/main/binary-i386/openfoam221_0-1_i386.deb
openfoam.org/download/ubuntu/dists/raring/main/binary-i386/paraviewopenfoam3120_0-1_i386.deb


You can go to the download for ubuntu page for any Openfoam version and it will have the links for the packages down in the page. Hope this helps.

It is much much faster than installing from source, took me less than a minute


All times are GMT -4. The time now is 19:44.