Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kojix2/qsub2
https://github.com/kojix2/qsub2
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kojix2/qsub2
- Owner: kojix2
- Created: 2024-03-20T16:40:30.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-21T03:59:52.000Z (8 months ago)
- Last Synced: 2024-04-21T02:15:36.146Z (7 months ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qsub2
qsub2 is a tool for easily submitting PBS jobs with a script template. It allows users to quickly generate PBS job scripts based on customizable templates and submit them using the `qsub` command.
:warning: All codes were generated by ChatGPT and Copilot. kojix2 has not been tested at all.
## Installation
To use qsub2, you can download the source code and compile it using Rust's package manager Cargo. Make sure you have Rust and Cargo installed on your system.
```bash
git clone https://github.com/your-username/qsub2.git
cd qsub2
cargo build --release
```## Usage
```
Usage: qsub2 [OPTIONS] [FILES]...Arguments:
Command to submit
[FILES]... Input filesOptions:
-n, --name Job name
-@, --ncpus CPU number [logical cpu number]
-m, --mem Memory [5gb]
-q, --queue Queue [batch]
-w, --walltime Walltime [30:00:00:00]
-t, --template Script template
-o, --output Output script
-s, --submit Submit the job
-h, --help Print help
-V, --version Print versionExample:
qsub2 -n my_job -@ 4 -m 10gb -o script.sh 'echo "Hello, world!"'
```## Features
- Customizable job script template with placeholders for job name, CPU number, memory, queue, and more.
- Ability to specify input files and customizable options for job submission.
- Interactive command-line interface for generating and submitting PBS job scripts.## License
All codes were generated by ChatGPT and Copilot based on messages sent by kojix2.
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.