find_jobfiles
- PlasmaCalcs.tools.supercomputer.find_jobfiles(dir='.', *, exclude=[])
find all jobfiles in this directory and all subdirectories.
jobfiles are files which end with ‘.o’ or ‘.oN’ where N is an integer with any number of digits.- exclude: str, or list of strs
- exclude any subdirectories whose name equals one of these strings or re.fullmatch one of these strings.E.g. exclude=’*[.]io’ will exclude all subdirectories whose name ends with ‘.io’;exclude=’parallel’ will exclude all subdirectories whose name equals ‘parallel’.
returns list of abspaths to all jobfiles found.