[Paraview] Multiple GPUs Per Node

Favre Jean jfavre at cscs.ch
Mon Sep 30 13:22:13 EDT 2013


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


More information about the ParaView mailing list