Command Line Interface Overview
CHEMSMART provides a comprehensive command-line interface for quantum chemistry calculations and molecular analysis. This guide covers the fundamental CLI structure, execution modes, and common options.
Basic Command Structure
CHEMSMART offers two main execution modes:
Local execution: Use
chemsmart runto execute tasks on the current terminal.HPC submission: Use
chemsmart subto submit jobs to high-performance computing clusters.
The basic command structure is:
chemsmart run/sub [OPTIONS] <CMD> [CMD_OPTIONS] <SUBCMD> [SUBCMD_OPTIONS]
Common Options for All Jobs
Server and Resource Options
Option |
Type |
Description |
|---|---|---|
|
string |
Server name from |
|
int |
Number of cores per job |
|
int |
Number of GPUs per node (defaults to server configuration) |
|
int |
Memory allocation in gigabytes |
Note
The -s option takes the server name without the .yaml extension. The -n, -g, and -m options
override the server defaults.
Execution Control Options
Option |
Type |
Description |
|---|---|---|
|
bool |
Skip or rerun completed jobs (default: skip) |
|
bool |
Enable simulation mode with fake job runners (default: disabled) |
|
bool |
Run in scratch space or working directory (default: scratch) |
Note
Use -R at the end of the command to rerun a completed job.
Debugging and Logging Options
Option |
Type |
Description |
|---|---|---|
|
bool |
Enable debug logging (default: disabled) |
|
bool |
Enable logging to stdout (default: enabled) |
Submission-Specific Options
These options are only available with chemsmart sub:
Option |
Type |
Description |
|---|---|---|
|
float |
Maximum job runtime in hours |
|
string |
HPC queue name |
|
bool |
Enable verbose output and debug logging (default: disabled) |
|
bool |
Generate scripts without submitting (default: disabled) |
|
bool |
Print the generated command (default: disabled) |
Available Commands
gaussian: Run or submit Gaussian jobsorca: Run or submit ORCA jobsmol: Run PyMOL visualization and analysis jobsthermochemistry: Run thermochemistry analysis jobsgrouper: Run structure grouping jobs
Next Steps
For specific job types, see the detailed tutorials:
Note
CHEMSMART checks job name uniqueness. If a job with the same name is already running, submission will be blocked. Use
-a (append label) or -l (label) options to create unique job names.