pyjac.performance_tester.performance_tester module¶
Module for performance testing of pyJac and related tools.
-
pyjac.performance_tester.performance_tester.
STATIC
= True¶ bool – CUDA only works for static libraries
-
pyjac.performance_tester.performance_tester.
is_pdep
(rxn)[source]¶ Check if reaction is pressure depedent.
Notes
Includes traditional pressure dependence: third-body, falloff, and chemically activated bimolecular reactions. Does not include pressure-log or Chebyshev reactions.
Parameters: rxn ( ReacInfo
) – Reaction object being queried for pressure depedenceReturns: Return type: True
ifrxn
is pressure dependent
-
pyjac.performance_tester.performance_tester.
check_step_file
(filename, steplist)[source]¶ Checks file for existing data, returns number of runs left
Parameters: - filename (str) – Name of file with data
- steplist (list of int) – List of different numbers of steps
Returns: runs – Dictionary with number of runs left for each step
Return type:
-
pyjac.performance_tester.performance_tester.
check_file
(filename)[source]¶ Checks file for existing data, returns number of completed runs
Parameters: filename (str) – Name of file with data Returns: num_completed – Number of completed runs Return type: int
-
pyjac.performance_tester.performance_tester.
cmd_link
(lang, shared)[source]¶ Return linker command.
Parameters: - lang ({'icc', 'c', 'cuda'}) – Programming language
- shared (bool) –
True
if shared
Returns: cmd – List with linker command
Return type: list of
str
-
pyjac.performance_tester.performance_tester.
linker
(lang, temp_lang, test_dir, filelist, lib=None)[source]¶