# HPC_Submission_Tools
Repo for tools to help with slurm submission and management within ARCHIE-WeST HPC cluster
## Install
From cloning repo
```
git clone https://www.github.com/RossJamesUrquhart/HPC_submission_tools
pip install .
```
From PyPi
```
pip install HPC-submission-tools
```
## JobSubmitter - Usage
```
from HPC_submission_tools import JobSubmission
JobSubmitter = JobSubmitter()
JobSubmitter.submit_jobs([path/to/sbatch/files], additional_ext=None)
```
The ```additional_ext``` keyword will take a list of any extensions not already considered by the script to search for those to mvoe alongside the sbatch files.
## XYZ2ORCA - Usage
```
from HPC_submission_tools import XYZ2ORCA
xyz = ["2,6-XylH+.xyz"] # list of xyz files to process
functional = "wB97X"
job = "Opt Freq"
basis_set= "Def2-SVP"
solvation = "CPCM(Water)"
time = "01:00:00"
cores = 4
charge = 1
kwargs = ["SlowConv", "TightSCF", "DEFGRID2", "Def2/J", "RIJCOSX"]
for x in xyz:
process = XYZ2ORCA(x, job, functional, basis_set, charge, solvation, cores, time, kwargs)
process.xyz2orca()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/RossJamesUrquhart/HPC_submission_tools",
"name": "HPC-submission-tools",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "HPC,Command line",
"author": "Ross Urquhart",
"author_email": "ross.urquhart@strath.ac.uk",
"download_url": "https://files.pythonhosted.org/packages/a9/c2/93f743772fc9c44fc7efa1d85a356574d6b110fc06d611134d6b78f60225/HPC_submission_tools-1.8.tar.gz",
"platform": null,
"description": "# HPC_Submission_Tools\r\n\r\nRepo for tools to help with slurm submission and management within ARCHIE-WeST HPC cluster\r\n\r\n## Install\r\n\r\nFrom cloning repo\r\n\r\n```\r\ngit clone https://www.github.com/RossJamesUrquhart/HPC_submission_tools\r\npip install .\r\n```\r\n\r\nFrom PyPi\r\n\r\n```\r\npip install HPC-submission-tools\r\n```\r\n\r\n## JobSubmitter - Usage\r\n\r\n```\r\nfrom HPC_submission_tools import JobSubmission\r\nJobSubmitter = JobSubmitter()\r\n\r\nJobSubmitter.submit_jobs([path/to/sbatch/files], additional_ext=None)\r\n\r\n```\r\n\r\nThe ```additional_ext``` keyword will take a list of any extensions not already considered by the script to search for those to mvoe alongside the sbatch files.\r\n\r\n## XYZ2ORCA - Usage\r\n\r\n```\r\nfrom HPC_submission_tools import XYZ2ORCA\r\n\r\nxyz = [\"2,6-XylH+.xyz\"] # list of xyz files to process\r\n\r\nfunctional = \"wB97X\"\r\njob = \"Opt Freq\"\r\nbasis_set= \"Def2-SVP\"\r\nsolvation = \"CPCM(Water)\"\r\ntime = \"01:00:00\"\r\ncores = 4\r\ncharge = 1\r\nkwargs = [\"SlowConv\", \"TightSCF\", \"DEFGRID2\", \"Def2/J\", \"RIJCOSX\"]\r\n\r\nfor x in xyz:\r\n process = XYZ2ORCA(x, job, functional, basis_set, charge, solvation, cores, time, kwargs)\r\n process.xyz2orca()\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Tools pertaining to use of HPC clusters with slurm file systems",
"version": "1.8",
"project_urls": {
"Download": "https://github.com/RossJamesUrquhart/HPC_submission_tools/archive/refs/tags/v1.8.tar.gz",
"Homepage": "https://github.com/RossJamesUrquhart/HPC_submission_tools"
},
"split_keywords": [
"hpc",
"command line"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a9c293f743772fc9c44fc7efa1d85a356574d6b110fc06d611134d6b78f60225",
"md5": "2b40445692567f73e27ec7b7d874da99",
"sha256": "2b521837764b17a97cc698611f6a683f0c42777d4bc2e635ddae0f427eee6e0a"
},
"downloads": -1,
"filename": "HPC_submission_tools-1.8.tar.gz",
"has_sig": false,
"md5_digest": "2b40445692567f73e27ec7b7d874da99",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6395,
"upload_time": "2024-02-08T10:58:01",
"upload_time_iso_8601": "2024-02-08T10:58:01.715541Z",
"url": "https://files.pythonhosted.org/packages/a9/c2/93f743772fc9c44fc7efa1d85a356574d6b110fc06d611134d6b78f60225/HPC_submission_tools-1.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-08 10:58:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "RossJamesUrquhart",
"github_project": "HPC_submission_tools",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "hpc-submission-tools"
}