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

paraFoam "Fatal Error" on Debian Wheezy/Sid

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

Like Tree1Likes
  • 1 Post By ned800

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2012, 10:51
Default paraFoam "Fatal Error" on Debian Wheezy/Sid
  #1
New Member
 
Ned Carpenter
Join Date: Oct 2012
Posts: 3
Rep Power: 13
ned800 is on a distinguished road
Dear CFD-Online Helpers,

I've been trying to get up and running with OpenFOAM and ParaView for a couple of days now and always return to the same error. After building OpenFOAM and ParaView and attempting to run paraFoam on the cavity tutorial, I get this:

##############################

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

##############################

OpenFOAM build fine and the cavity simulation runs without error. However, when I come to running paraFoam, I have followed instructions on numerous forums but sadly none work for me. I have, however, managed to run ParaView 3.14.1 from a separate from its pre-compiled binaries (different version to the one included in ThirdParty-2.1.1). This works.

As far as I see it I have two options which someone might be able to help me with...

Either:

Please help me build ParaView 3.12.0 from Source to work with OpenFOAM 2.1.1

Or

Please help me to 'link up' Paraview 3.14.1 binaries with OpenFOAM 2.1.1. I am not too familiar with 'environment variables' but it seems to me as though I might simply be able to 'point' OpenFoam and the paraFoam script to the new installation.

Many thanks. I appreciate that this is a common problem but I haven't found a solution that works yet!

Ned x.
ned800 is offline   Reply With Quote

Old   October 23, 2012, 16:31
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
Greetings Ned,

From what I saw in Distrowatch, Debian Wheezy seems to be at the same level as Ubuntu 12.10 (or vice-versa). Therefore I suggest that you try the detailed instructions available here for OpenFOAM 2.1.1 + ParaView 3.12.0: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.10

If you want to use the pre-built version of ParaView, you can find old instructions for 3.10.1, but which you can adapt for 3.14.1: http://www.cfd-online.com/Forums/blo...-openfoam.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 23, 2012, 17:25
Default
  #3
New Member
 
Ned Carpenter
Join Date: Oct 2012
Posts: 3
Rep Power: 13
ned800 is on a distinguished road
Dear Bruno,

Many thanks for your reply. I'll give it another go tomorrow morning when I am back in front of my work station.

Thanks again. I will let you know if I have any success,

Ned.
ned800 is offline   Reply With Quote

Old   October 24, 2012, 12:26
Default
  #4
New Member
 
Ned Carpenter
Join Date: Oct 2012
Posts: 3
Rep Power: 13
ned800 is on a distinguished road
[SOLVED]

Dear Bruno,

Thanks for your help. I'm finally up and running! I followed your instructions here:

http://openfoamwiki.net/index.php/In...u#Ubuntu_12.10

This is the line that made the difference:

sed -i -e 's/ClearAndSelect = Clear | Select/ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select)/' \ ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h

Thanks again,

Ned.
wyldckat likes this.
ned800 is offline   Reply With Quote

Reply

Tags
paraview debian install

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



All times are GMT -4. The time now is 06:41.