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

how to disable paraview in ThirdParty

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2013, 20:02
Default how to disable paraview in ThirdParty
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Dear OpenFOAMers,

I would like to use paraview-3.98. I installed it from OpenSUSE.org website. I have not problem running paraview-3.98 when logged in as root. However, with the "source $HOME/OpenFOAM/OpenFOAM-2.2.x/etc/bashrc" in my user .bashrc, I got conflicts, hence, paraview-3.98 gave me errors.

If I do not source OpenFOAM-2.2.x/etc/bashrc, then, paraview-3.98 ran fine. Is there a good way to disable paraview in ThirdParty?

Thanks!

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   March 27, 2013, 16:58
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Hi Pei-Ying,

There are at least two possibilities:
  • Comment out the respective line in OpenFOAM's etc/bashrc file: https://github.com/OpenFOAM/OpenFOAM...tc/bashrc#L214
    Something like this:
    Code:
    # _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh`
  • Or remove or move completely the built binaries:
    1. Check if it's there:
      Code:
      echo $ParaView_DIR
      ls -l $ParaView_DIR
    2. Move it or remove it:
      Code:
      mv $ParaView_DIR ${ParaView_DIR}_backup
      #or to remove it, uncomment the next line
      #rm -r $ParaView_DIR
You might also want to add an alias command to your "~/.bashrc" file:
Code:
alias paraFoam='paraFoam -builtin'
Best regards,
Bruno
Jonathan and wbywbywby6 like this.
__________________
wyldckat is offline   Reply With Quote

Old   March 27, 2013, 19:36
Smile
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Bruno,

As usually, thanks a lot for your help! How can we do without you?!

Pei-Ying
phsieh2005 is offline   Reply With Quote

Reply


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
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 02:32
Paraview not found fusij OpenFOAM Installation 2 January 1, 2011 20:44
[OpenFOAM] Distributed ParaView and PV3FoamReader micalil ParaView 4 July 1, 2010 05:09
OpenFOAM 1.6 and ThirdParty Software Paraview dunlopjp OpenFOAM Installation 0 February 24, 2010 11:35
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


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