Recent Releases of https://github.com/agnostiqhq/covalent-slurm-plugin
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.18.0
[0.18.0] - 2024-01-26
Added
ssh_key_fileandcert_filepaths will now be expanded and resolved to their absolute paths instead of requiring to be absolute in the first place.- Added
ignore_versionsparameter toSlurmExecutorto allow for ignoring the versions ofpython,covalentandcloudpicklewhen submitting jobs on the remote machine. - Added further improved error messages in the slurm script.
- Added docker file and its dependent files so that the plugin can be tested using a docker container running slurm.
- Added README.md for the docker tests with steps to manually test the plugin.
Changed
- Changed the strict version pin of
aiofilesto be>=instead of==.
Removed
- Excluding tests from the built package.
- Removed python version pin for pre-commit hooks.
[0.17.0] - 2024-01-19
Added
- add a new
variablesparameter for environment variables - add a new error-catching python execution script (add new module)
- add checks inside submit script for
covalentandcloudpickleversions - clean up job script creation (add new module)
- export
COVALENT_CONFIG_DIR=/tmpinside sbatch script to enable filelock
Changed
- update plugin defaults to use
BaseModelinstead ofdict - change to actually get errors from these checks
- use
Patheverywhere instead ofos.pathoperations - allow
poll_freq >= 10seconds, instead of 60 seconds - misc. cleanups and refactoring
- Aesthetics and string formatting
- remove addition of
COVALENT_CONFIG_DIR=/tmpto sbatch script - Removed the
sshproxyinterface. - Updates init signature kwargs replaced with parent for better documentation.
- Updated license to Apache
Docs
- Add missing
,to README.
- Python
Published by wjcunningham7 about 2 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.12.1-1
[0.12.1-1] - 2023-09-20
Changed
- Updated license to Apache
- Python
Published by wjcunningham7 over 2 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.16.0
[0.16.0] - 2023-05-12
Added
- A new config variable,
bashrc_path, which is the path to the bashrc script to source.
Changed
- Removed automatic sourcing of
$HOME/.bashrcfrom the SLURM submit script.
Fixed
- Does not put conda-related lines in SLURM script if
conda_envis set toFalseor"". - Changed default config value of
conda_envfromNoneto"". - A proper
ValueErrorwill now be raised ifssh_key_fileis not supplied.
- Python
Published by wjcunningham7 almost 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.15.0
[0.15.0] - 2023-05-12
Added
- A new kwarg,
use_srun, that allows for the user to specify whether to usesrunwhen running the pickled Python function. - Added docstring for
sshproxy
- Python
Published by wjcunningham7 almost 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.14.0
[0.14.0] - 2023-05-12
Added
- A new kwarg
create_unique_workdirthat will create unique subfolders of the type<DISPATCH ID>/node_<NODE ID>withinremote_workdirif set toTrue
Fixed
- Fixed a bug where
cleanup = Falsewould be ignored. - Fixed a bug where if
cache_dirwas not present, Covalent would crash.
- Python
Published by wjcunningham7 almost 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.13.0
[0.13.0] - 2023-05-11
Changed
- Updated pre-commit hooks
- Python
Published by wjcunningham7 almost 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - Release v0.12.1
[0.12.1] - 2023-05-05
Fixed
- Moved executor validations out of constructor
Operations
- Fixed license CI workflow
- Python
Published by wjcunningham7 almost 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - Release v0.12.0
[0.12.0] - 2023-05-05
Added
- Basic support for NERSC's sshproxy tool which uses MFA to generate SSH keys
[0.11.0] - 2023-05-02
Added
- Added instructions to the
READMEfor the remote machine's dependencies.
Changed
- Automatically apply the
"parsable": ""option by default if not set by the user.
[0.10.0] - 2023-05-01
Added
- Modified executor to use
srunin slurm script, instead of injecting python code and calling python directly. - Added new parameters to
SlurmExecutorto allow finer control of jobs via options forsrunand in-script commands (see README.md). - Added
srun_appendparameter allowing insertion of intermediate command (see README.md). - Added
prerun_commandsandpostrun_commandsparameters allowing execution of in-script shell commands before and after the workflow submission viasrun(see README.md).
[0.9.0] - 2023-04-30
Added
- Added a new kwarg,
cert_file, toSlurmExecutorthat allows for a certificate file to be passed.
Changed
- Changed the
_client_connectfunction to output the connection object only since the first positional argument cannot get used.
Operations
- Added Alejandro to paul blart group
- Python
Published by wjcunningham7 almost 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.8.0
[0.8.0] - 2022-11-19
Changed
- Changed BaseAsyncExecutor to AsyncBaseExecutor
- Updated covalent version to >=0.202.0,<1
Operations
- Added license workflow
Tests
- Enabled Codecov
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.7.0
[0.7.0] - 2022-08-23
Added
SlurmExecutorcan now be import directly fromcovalent_slurm_plugin- Added several debug log statements to track progress when debugging
asyncsshadded as a requirement- Added support for performing cleanup on remote machine (default is True) once execution completes
- Added
slurm_pathfor users to provide a path for slurm commands if they aren't detected automatically
Changed
- Default values set for some
SlurmExecutorinitialization parameters - Since there were several ssh calls, thus now using
asyncsshmodule for a uniform interface to run ssh commands on remote machine - File transfer to and from is now done using
scpinstead ofrsync
Fixed
- Fixed returning only
resultfromrunmethod instead of returningstdoutandstderras well, which are now printed directly appropriately
Tests
- Updated tests to reflect above changes
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.6.0
[0.6.0] - 2022-08-18
Changed
- Updated
covalentversion tostable
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.5.2
[0.5.2] - 2022-08-18
Fixed
- Restore
cache_dirparameter to constructor
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.5.1
[0.5.1] - 2022-08-14
Fixed
- Banner file extension
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.5.0
[0.5.0] - 2022-08-14
Changed
- Updated readme banner
Fixed
- Fixed test references to conda
[0.4.0] - 2022-08-04
Changed
- Slurm executor is now async aware. Internal subprocess calls are now awaited.
- Tests have been updated to reflect above changes.
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - Release v0.3.0
Changed
- New logo to reflect revamp in UI.
- Reverted some changes in slurm.py.
Fixed
- Handle exceptions correctly
- Python
Published by wjcunningham7 over 3 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.2.4
[0.2.4] - 2022-04-28
Added
- Unit tests written and added to the .github workflows.
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.2.3
[0.2.3] - 2022-04-18
Changed
- 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.
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.2.2
[0.2.2] - 2022-04-14
Fixed
- Fixed full local path to where result files were being copied back from remote
- Pass in dictionary to
self.get_statusinstead ofstr
[0.2.1] - 2022-04-14
Changed
- 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.
[0.2.0] - 2022-04-12
Changed
- Modified slurm.py to be compatible with the refactored Covalent codebase.
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.1.2
[0.1.2] - 2022-04-12
Changed
- Add time module import back to
slurm.py
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.1.1
[0.1.1] - 2022-04-12
Changed
- Updated how slurm job id is retrieved from
proc.stdoutusing regex
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.1.0
[0.1.0] - 2022-04-08
Changed
- Changed global variable executorpluginname -> EXECUTORPLUGINNAME in executors to conform with PEP8.
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.0.2
[0.0.2] - 2022-03-02
Added
- Enabled PyPI upload
- Python
Published by wjcunningham7 almost 4 years ago
https://github.com/agnostiqhq/covalent-slurm-plugin - v0.0.1
[0.0.1] - 2022-03-02
- Python
Published by wjcunningham7 almost 4 years ago