All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added license workflow
- Enabled Codecov
SlurmExecutor
can now be import directly fromcovalent_slurm_plugin
- Added several debug log statements to track progress when debugging
asyncssh
added as a requirement- Added support for performing cleanup on remote machine (default is True) once execution completes
- Added
slurm_path
for users to provide a path for slurm commands if they aren't detected automatically
- Default values set for some
SlurmExecutor
initialization parameters - Since there were several ssh calls, thus now using
asyncssh
module for a uniform interface to run ssh commands on remote machine - File transfer to and from is now done using
scp
instead ofrsync
- Fixed returning only
result
fromrun
method instead of returningstdout
andstderr
as well, which are now printed directly appropriately
- Updated tests to reflect above changes
- Updated
covalent
version tostable
- Restore
cache_dir
parameter to constructor
- Banner file extension
- Updated readme banner
- Fixed test references to conda
- Slurm executor is now async aware. Internal subprocess calls are now awaited.
- Tests have been updated to reflect above changes.
- New logo to reflect revamp in UI.
- Reverted some changes in slurm.py.
- Handle exceptions correctly
- Workflows are fixed
- Unit tests written and added to the .github workflows.
- The function is deserialized before sending to the remote machine. This allows the remote machine to execute the fuction in a "vanilla" python, and not need Covalent to be installed.
- The args and kwargs inputs to the function to be executed are pickled into the same file as the function, for transport to the remote machine.
- Fixed full local path to where result files were being copied back from remote
- Pass in dictionary to
self.get_status
instead ofstr
- The python version on the remote machine only has to be equal to the python version which created the function to be executed down to the minor version. Eg, matching 3.8, instead of matching 3.8.13.
- Modified slurm.py to be compatible with the refactored Covalent codebase.
- Add time module import back to
slurm.py
- Updated how slurm job id is retrieved from
proc.stdout
using regex
- Changed global variable executor_plugin_name -> EXECUTOR_PLUGIN_NAME in executors to conform with PEP8.
- Enabled PyPI upload
- Core files for this repo.
- CHANGELOG.md to track changes (this file).
- Semantic versioning in VERSION.
- CI pipeline job to enforce versioning.