CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[foam-extend.org] foam-extend-3.1 multiple versions paraview issue

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2018, 20:48
Question foam-extend-3.1 multiple versions paraview issue
  #1
New Member
 
CFDpal
Join Date: Mar 2017
Location: Boston, MA
Posts: 20
Blog Entries: 1
Rep Power: 9
CFDpal is on a distinguished road
Dear OpenFOAM users,

I will try to be as detailed as possible.

I have OpenFOAM 5.x installed and running fine. I tried installing foam-extend-3.1 by downloading and running binary:
$ sudo dpkg -i foam-extend-3.1_amd64.deb

Before running dpkg, I followed Ubuntu prep work:
sudo apt-get install git-core build-essential binutils-dev cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev libxt-dev rpm mercurial graphviz

======= FYI +++=====
Linux core on Win10:
lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
==================

After trying to install binary with dpkg, the shell returns error:

Selecting previously unselected package foam-extend-3.1.
(Reading database ... 117165 files and directories currently installed.)
Preparing to unpack foam-extend-3.1_amd64.deb ...
Unpacking foam-extend-3.1 (3.1-1) ...
dpkg: dependency problems prevent configuration of foam-extend-3.1:
foam-extend-3.1 depends on paraview; however:
Package paraview is not installed.
foam-extend-3.1 depends on paraview-python; however:
Package paraview-python is not installed.
foam-extend-3.1 depends on hwloc; however:
Package hwloc is not installed.

dpkg: error processing package foam-extend-3.1 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
foam-extend-3.1




===================================
Even though there was error, foam-extend-3.1 has been installed into
/opt/foam/foam-extend-3.1

OpenFOAM 5x is installed into /opt
So, the current content of /opt directory is

username:/opt$ ls
foam openfoam5 paraviewopenfoam54



I tested fe31 works fine and calculates the icoFoam case. However, paraview does not work. Then, I reloaded the environment with of5x and ran parafoam. It worked (ParaView 5.4.0 64-bit Legacy Rendering Backend).

===================================
My questions are:

1) Should I worry about installing paraview, python-paraview, hwloc ?
I assume OpenFOAM 5.x. has this packages already.

2) Do I need to / How to fix dependencies error described above (namely, paraview, python-paraview, hwloc) ?

3) (Optional) Can someone briefly clarify why such issue arise in the .deb ?

4) Is there a binary for foam-extend-4.0 on Ubuntu 14.04 ? or I need to build it from source ?

5) What is the elegant way to have parafoam work when fe31 environment is loaded? Could someone please point me in the right direction ?

6) Do you think fe31 has been installed fully ?

Thank you in advance,
CFDpal
CFDpal is offline   Reply With Quote

Old   May 31, 2018, 08:51
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers:
  1. If foam-extend is working and if OpenFOAM 5 is working with ParaView, then there is no reason for concern, but to keep things somewhat simple, you should then have 2 terminals open on the same folder: one with foam-extend and another with OpenFOAM, so that you can use paraFoam on the OpenFOAM terminal whenever you need to.
  2. You can install the missing packages by running:
    Code:
    sudo apt-get install paraview python-paraview hwloc
  3. See #2.
  4. AFAIK, you must build from source code.
  5. There was a thread where I wrote about this... OK, see the following threads:
  6. I don't know what are the final configuration steps that foam-extend 3.1 Deb package has, but if you want it to properly finish configuring, you need to first install the packages in #2 and then re-install the foam-extend 3.1 Deb package.
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
fe31, foam-extend-3.1, multiple versions, parafoam, paraview

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
[foam-extend.org] Foam extend 3.1 on SLE12? Berin Šeta OpenFOAM Installation 1 November 20, 2015 05:31
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 22:27.