[Paraview] Multiple GPUs Per Node
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Sep 30 13:30:35 EDT 2013
Jean,
If you manually run "hostname" on the machine does it produce a valid
output? Also try using the full path to the hostname executable in the
Popen() call.
Utkarsh
On Mon, Sep 30, 2013 at 1:22 PM, Favre Jean <jfavre at cscs.ch> wrote:
> I read on the wiki about a script to execute and display the hostname and DISPLAY of each rank of a parallel pvserver job.
>
> import os
> import subprocess
>
> display = os.getenv('DISPLAY')
> hostname = subprocess.Popen(['hostname'], stdout=subprocess.PIPE).communicate()[0].strip()
> print hostname, display
>
> However, the hostname line does not work for me. It returns an empty string. I use v4.0.1
> Has there been any changes to this procedure?
>
> -----------------
> Jean
> CSCS
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list