<div dir="ltr"><div>This is a good idea and for information Utkarsh started to write this documentation in <br><span> Utilities/Doxygen/pages/EnvironmentVariables.md<br><br>For now it is just in a merge request (and it is not complete) but no doubt if will be in master very soon!<br></span><br> <a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/511">https://gitlab.kitware.com/paraview/paraview/merge_requests/511</a><br><br></div>Joachim<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b>Joachim Pouderoux</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, Technical Expert</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div>
<br><div class="gmail_quote">2015-10-19 19:31 GMT+02:00 Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bill,<div><br></div><div>This is a good project. Perhaps we can include a version of your man page in the user's guide when it is finished?</div><div><br></div><div>I know about some of these environment variables:</div><div><br></div><div>- PARAVIEW_DATA_ROOT - used to point ParaView to a testing data repository. This is really only used when ParaView's tests are run and likely isn't useful to users.</div><div><br></div><div>- <span style="font-size:12.8px">PV_NO_OFFSCREEN_SCREENSHOTS - just what it sounds like. If set, offscreen rendering will not be used for generating screenshots, even if the ParaView settings say that offscreen rendering should be used for generating screenshots.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">- VTK_AUTOLOAD_PATH - users shouldn't need to set this. From the vtkObjectFactory docume</span>ntation: "The first time CreateInstance is called, all dll's or shared libraries in the environment variable VTK_AUTOLOAD_PATH are loaded into the current process."</div><div><br></div><div>- VTK_RENDERER - this looks like a historical way to choose which render window to instantiate. It doesn't look like it is used anymore.</div><div><br></div><div>- PV_DEBUG_LEAKS_VIEW - enables a window that shows the number of instances of all VTK classes. Useful for debugging, not really useful for users.</div><div><br></div><div>-PV_DEBUG_TEST - I don't see this in the ParaView source anywhere</div><div><br></div><div>- PV_SETTINGS_DEBUG - turns on debugging message related to loading ParaView's settings files, e.g., where it looked for the settings file.<br></div><div><br></div><div>- PV_PLUGIN_DEBUG - print debugging output having to do with where ParaView looks for plugins.</div><div><br></div><div>- PV_PLUGIN_PATH - adds search path for plugins</div><div><br></div><div>- VTK_MATPLOTLIB_DEBUG - Enable verbose debugging output during initialization of matplotlib.</div><div><br></div><div>Hope that helps,</div><div>Cory</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Oct 15, 2015 at 4:58 PM, Bill Sherman <span dir="ltr"><<a href="mailto:shermanw@indiana.edu" target="_blank">shermanw@indiana.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
Perhaps an odd question -- I'm wondering what important environment<br>
variables are associated with ParaView, and in some cases what they<br>
do.<br>
<br>
I ask because for an installation of ParaView on an HPC system, I<br>
am creating a traditional man-page. And one of the traditional<br>
sections of man pages for applications is "ENVIRONMENT VARIABLES".<br>
<br>
I happened to find that NERSC had previously done a similar thing,<br>
but based on the command line arguments as well as the environment<br>
variables it gives no longer in existence, it would seem that this<br>
is from a rather old version of ParaView, so I'm basically starting<br>
from scratch.<br>
<br>
Searching through the source for "getenv", I found several refernces<br>
to environment variables, and I'd like to get advice on what should/<br>
should not be included.<br>
<br>
So there are a couple of categories the environment variables can<br>
be classified as.<br>
<br>
1) ParaView specific variables:<br>
- PV_ICET_WINDOW_BORDERS<br>
- PARAVIEW_DATA_ROOT<br>
- PV_NO_OFFSCREEN_SCREENSHOTS<br>
<br>
So I know what the first of those does, and I had an assumption of<br>
what the second one (PARAVIEW_DATA_ROOT) does -- but I couldn't find<br>
a way to make it have an effect! And I can half-guess what the third<br>
one does -- explanations welcome.<br>
<br>
<br>
2) VTK related variables:<br>
- VTK_AUTOLOAD_PATH<br>
- VTK_RENDERER<br>
<br>
And I don't really know what either of them do.<br>
<br>
<br>
3) Generic environment variables that ParaView accesses:<br>
- DISPLAY<br>
- HOME<br>
- HOSTNAME<br>
- LOGNAME<br>
- PATH<br>
- LD_LIBRARY_PATH<br>
- PWD (VTK/Utilities/KWSys/vtksys/SystemTools.cxx)<br>
- PYTHONPATH<br>
- TCL_LIBRARY (vtkTclUtil.cxx)<br>
- TK_LIBRARY (vtkTclUtil.cxx)<br>
- R_HOME (vtkRInterface.cxx)<br>
- COLUMNS (VTK/Utilities/KWSys/vtksys/SystemTools.cxx)<br>
- APPDATA -- for MS-Windows only?<br>
- COMMON_APPDATA -- for MS-Windows only?<br>
<br>
So I don't know that I'd need to include those as part of a ParaView<br>
man-page.<br>
<br>
<br>
4) Other variables that are probably just for internal testing:<br>
- PV_DEBUG_LEAKS_VIEW<br>
- PV_DEBUG_TEST<br>
- PV_SETTINGS_DEBUG<br>
- PV_PLUGIN_DEBUG<br>
- PV_PLUGIN_PATH<br>
- DASHBOARD_TEST_FROM_CTEST<br>
- DART_TEST_FROM_DART<br>
- VERBOSE_TESTING (Exodus)<br>
- VERY_VERBOSE_TESTING (Exodus)<br>
- FLIP_CAM_MANIP (Interactor Style Unicam)<br>
- VTK_MATPLOTLIB_DEBUG (vtkMatplotlibMathTextUtilities.cxx)<br>
- QT_MAC_NO_NATIVE_MENUBAR (ThirdParty/QtTesting/vtkqttesting/pqTestUtility.cxx)<br>
<br>
Again, probably wouldn't include these in a man-page, unless they are<br>
something the end-user could possibly want to affect.<br>
<br>
<br>
Happy to share the man-page when I'm done.<br>
<br>
Thanks,<br>
Bill<br>
<br>
--<br>
Bill Sherman<br>
Sr. Technology Advisor<br>
Advanced Visualization Lab<br>
Pervasive Technology Inst<br>
Indiana University<br>
<a href="mailto:shermanw@indiana.edu" target="_blank">shermanw@indiana.edu</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>