AiiDA plugin adding a sshonly transport option, using only SSH to transfer files, avoiding SFTP, in case it's blocked or non functional on a remote system
Project description
aiida-sshonly
AiiDA plugin adding a sshonly transport option, using only SSH to transfer files, avoiding SFTP, in case it's blocked or non functional on a remote system
Features
Provides a new 'sshonly' transport option when configuring a computer in AiiDA. Uses SSH and shell commands to emulate SFTP commands used in AiiDA.
Known limitation : only works with text files as of 0.1.0
Installation
pip install aiida-sshonly
reentry scan
verdi plugin list aiida.transports # should now show your calclulation plugins
Usage
Here goes a complete example of how to submit a test calculation using this plugin.
A quick demo of how to submit a calculation:
verdi daemon start # make sure the daemon is running
cd examples
./example_01.py # run test calculation
verdi process list -a # check record of calculation
The plugin also includes verdi commands to inspect its data types:
verdi data sshonly list
verdi data sshonly export <PK>
Development
git clone https://github.com/adegomme/aiida-sshonly .
cd aiida-sshonly
pip install -e .[pre-commit,testing] # install extra dependencies
pre-commit install # install pre-commit hooks
pytest -v # discover and run all tests
See the developer guide for more information.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiida-sshonly-0.1.0a3.tar.gz
.
File metadata
- Download URL: aiida-sshonly-0.1.0a3.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.18rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f50db051235fffd919592b5966907e6af5926a23486d288159b6debe2fd3e5d8 |
|
MD5 | 101de61de6f9c501ecee0342df8886ee |
|
BLAKE2b-256 | d35793bb5e2c692c1280eb9850fd598efe5e2e1ae24886857ced1c658cf54d36 |
File details
Details for the file aiida_sshonly-0.1.0a3-py2-none-any.whl
.
File metadata
- Download URL: aiida_sshonly-0.1.0a3-py2-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.18rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ace8cab1b3a220d8fa51d40eaecee1d0ecc0df22e0fefcaa9a286efc79b8866e |
|
MD5 | 207633f03353c0a4564dbe8379e91895 |
|
BLAKE2b-256 | 6516d012dac727dd5ae76e5fbada270073a9c2cb59155f4881834abf0fb0a8be |