CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Trouble installing ParaView from source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2016, 06:39
Unhappy Trouble installing ParaView from source
  #1
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
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?
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Old   June 15, 2016, 10:41
Default Install Debian Package instead
  #2
New Member
 
Suryansh D Kumar
Join Date: May 2016
Posts: 7
Rep Power: 10
suryansh is on a distinguished road
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
suryansh is offline   Reply With Quote

Old   June 15, 2016, 11:22
Unhappy
  #3
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
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?
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Old   June 15, 2016, 11:26
Default
  #4
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
I'm following this guide: http://openfoam.org/download/2-2-1-source/
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Old   June 15, 2016, 11:32
Default
  #5
New Member
 
Suryansh D Kumar
Join Date: May 2016
Posts: 7
Rep Power: 10
suryansh is on a distinguished road
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
suryansh is offline   Reply With Quote

Reply

Tags
build, cmake, paraview 3.12, source code


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 17:18
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 16:14
[swak4Foam] problem on installing swak4Foam navid2 OpenFOAM Community Contributions 2 May 30, 2012 05:32
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 11:46.