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

how to disable paraview in ThirdParty

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 25, 2013, 21:02
Default how to disable paraview in ThirdParty
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 263
Rep Power: 8
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, 17:58
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,093
Blog Entries: 32
Rep Power: 70
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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
wyldckat is offline   Reply With Quote

Old   March 27, 2013, 20:36
Smile
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 263
Rep Power: 8
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

Thread Tools
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 On
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
Distributed ParaView and PV3FoamReader micalil OpenFOAM Paraview & paraFoam 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 06:12.