COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Variables
test-mpi-scalability Namespace Reference

Variables

list mpi_run = sys.argv[1]
 
list test_command = sys.argv[2]
 
tuple max_nb_procs = int(sys.argv[3])
 
list nb_procs_lst = [1]
 
string search_str = 'time" type="numeric/double">'
 
dictionary testmap = {}
 
list cmd = [mpi_run]
 
tuple p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 
tuple idx = line.find(search_str)
 
list testname = line[0:idx]
 
tuple timing = float(line[idx+len(search_str):-1].split('<')[0])
 
tuple nb_procs_arr = np.array(nb_procs_lst)
 
tuple timing_arr = np.array(testmap[testname])
 
string fig_filename = testname+'-timing.png'
 

Variable Documentation

list cmd = [mpi_run]

Definition at line 27 of file test-mpi-scalability.py.

string fig_filename = testname+'-timing.png'

Definition at line 69 of file test-mpi-scalability.py.

tuple idx = line.find(search_str)

Definition at line 49 of file test-mpi-scalability.py.

tuple max_nb_procs = int(sys.argv[3])

Definition at line 15 of file test-mpi-scalability.py.

list mpi_run = sys.argv[1]

Definition at line 13 of file test-mpi-scalability.py.

tuple nb_procs_arr = np.array(nb_procs_lst)

Definition at line 57 of file test-mpi-scalability.py.

list nb_procs_lst = [1]

Definition at line 18 of file test-mpi-scalability.py.

tuple p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Definition at line 39 of file test-mpi-scalability.py.

string search_str = 'time" type="numeric/double">'

Definition at line 22 of file test-mpi-scalability.py.

list test_command = sys.argv[2]

Definition at line 14 of file test-mpi-scalability.py.

dictionary testmap = {}

Definition at line 24 of file test-mpi-scalability.py.

list testname = line[0:idx]

Definition at line 51 of file test-mpi-scalability.py.

tuple timing = float(line[idx+len(search_str):-1].split('<')[0])

Definition at line 52 of file test-mpi-scalability.py.

tuple timing_arr = np.array(testmap[testname])

Definition at line 59 of file test-mpi-scalability.py.

Send comments to:
COOLFluiD Web Admin