COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Go to the source code of this file.
Namespaces | |
test-mpi-scalability | |
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' |
Send comments to: COOLFluiD Web Admin |