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