WarpX
Namespaces | Functions | Variables
run_alltests.py File Reference

Namespaces

 run_alltests
 

Functions

def run_alltests.process_analysis ()
 

Variables

list run_alltests.test_list = []
 
int run_alltests.n_repeat = 3
 
 run_alltests.n_tests = len(test_list)
 
 run_alltests.parser
 
 run_alltests.dest
 
 run_alltests.action
 
 run_alltests.default
 
 run_alltests.choices
 
 run_alltests.help
 
 run_alltests.args = parser.parse_args()
 
 run_alltests.log_file = args.log_file
 
dictionary run_alltests.compiler_name = {'intel': 'intel', 'gnu': 'gcc'}
 
dictionary run_alltests.module_name = {'cpu': 'haswell', 'knl': 'mic-knl'}
 
dictionary run_alltests.module_Cname = {'cpu': 'haswell', 'knl': 'knl,quad,cache'}
 
string run_alltests.cwd = os.getcwd() + '/'
 
string run_alltests.res_dir_base = os.environ['SCRATCH'] + '/performance_warpx/'
 
string run_alltests.bin_dir = cwd + 'Bin/'
 
string run_alltests.bin_name = 'perf_tests3d.' + args.compiler + '.' + module_name[args.architecture] + '.TPROF.MTMPI.OMP.QED.ex'
 
string run_alltests.log_dir = cwd
 
string run_alltests.perf_database_file = cwd + 'perf_database_warpx.h5'
 
bool run_alltests.do_rename = False
 
bool run_alltests.store_test = False
 
 run_alltests.day = time.strftime('%d')
 
 run_alltests.month = time.strftime('%m')
 
 run_alltests.year = time.strftime('%Y')
 
string run_alltests.config_command = ''
 
 run_alltests.makefile_text = makefile_handler.read()
 
 run_alltests.run_name = current_run[0]
 
 run_alltests.n_node = current_run[1]
 
 run_alltests.n_mpi = current_run[2]
 
 run_alltests.n_omp = current_run[3]
 
 run_alltests.n_steps = get_nsteps(cwd + run_name)
 
string run_alltests.res_dir = res_dir_base
 
 run_alltests.architecture
 
 run_alltests.Cname
 
string run_alltests.log_line = '## year month day run_name compiler architecture n_node n_mpi ' +\
 
 run_alltests.f_log = open(log_dir + log_file, 'a')
 
string run_alltests.output_filename = 'perf_output.txt'
 
 run_alltests.timing_list = read_run_perf(res_dir + output_filename, n_steps)
 
 run_alltests.df_newline = extract_dataframe(res_dir + 'perf_output.txt', n_steps)
 
 run_alltests.input_file = open(cwd + run_name, 'r')
 
 run_alltests.input_file_content = input_file.read()
 
 run_alltests.df_base = pd.read_hdf(perf_database_file, 'all_data')
 
 run_alltests.updated_df = df_base.append(df_newline, ignore_index=True)
 
 run_alltests.key
 
 run_alltests.mode
 
string run_alltests.dir_record_base = './perf_warpx_record/'
 
int run_alltests.count = 0
 
string run_alltests.dir_record = dir_record_base + '_'.join([year, month, day]) + '_0'
 
string run_alltests.res_dir_arch = res_dir_base