Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kojix2/qsub2


https://github.com/kojix2/qsub2

Last synced: 22 days ago
JSON representation

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 files

Options:
-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 version

Example:
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.