Hi Utkarsh,
I think environment variables are kind of a band aid around a larger
issue. In addition to leveraging the user's local environment, there's
also no way to get information from the server side environment. for
example list of account numbers a user can charge jobs to, or a list of
active queues. One thing I have been thinking about is rather than just
reading pvsc from an xml file, paraview could call a script to get the
pvsc xml. This script could query the user's local/remote environment
and generate the xml. A long time ago we had talked about a python based
solution. What do you think?
Burlen
On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote:
Rick,
Alas no, this isn't currently supported. But should be fairly
straightforward to add. I've reported a bug:
http://www.paraview.org/Bug/view.php?id=15421
Utkarsh
On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY
ARL (US) <[email protected]> wrote:
Question about the default_servers.pvsc file…..
I have this in my host profile:
<Server name=“My System" resource="csrc://127.0.0.1">
<CommandStartup>
<Options>
<Option name="SSHLOC" label="Local SSH Command" save="true">
<File default="/usr/local/bin/ssh"/>
</Option>
So, when the GUI pops up, the user has an opportunity to change the path to
ssh. But, rather than hard-coding the default value, or presenting blank
field and have the user put in the correct path, is it possible to query the
user’s environment and find `which ssh` and substitute in that value??
________________________________
Rick Angelini
USArmy Research Laboratory
CISD/HPC Architectures Team
Phone: 410-278-6266
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview