Skip to content

Commit

Permalink
add qchem project
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Feb 28, 2024
1 parent 16c8d99 commit bd92e4d
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
id: rndy3vti
name: QChem template
description: 'This is an example project using QChem software.'
icon: fas://vial
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: Simple QChem job
created_at: 1709137595
form:
- auto_accounts
- auto_scripts
- auto_batch_clusters
attributes:
auto_accounts:
options:
- - PZS1118
- PZS1118
- data-option-for-cluster-cardinal: false
- - PZS0715
- PZS0715
- data-option-for-cluster-cardinal: false
- - PZS0714
- PZS0714
- {}
- - PZS1117
- PZS1117
- data-option-for-cluster-ascend: false
data-option-for-cluster-cardinal: false
- - PAS1604
- PAS1604
- data-option-for-cluster-ascend: false
data-option-for-cluster-cardinal: false
value: PZS0715
label: Account
help: ''
required: false
auto_scripts:
options:
- - qchem.sh
- "/users/PZS0714/johrstrom/ondemand/data/sys/dashboard/projects/rndy3vti/qchem.sh"
directory: "/users/PZS0714/johrstrom/ondemand/data/sys/dashboard/projects/rndy3vti"
value: "/users/PZS0714/johrstrom/ondemand/data/sys/dashboard/projects/rndy3vti/qchem.sh"
label: Script
help: ''
required: false
auto_batch_clusters:
options:
- ascend
- cardinal
- owens
- pitzer
value: owens
exclude_options:
- pitzer
- cardinal
- ascend
fixed: true
label: Cluster
help: ''
required: false
31 changes: 31 additions & 0 deletions ondemand.osc.edu/apps/dashboard/projects/QCHEM/qchem.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

#
# This is a sample script for running a basic Q-Chem job.
# The only thing you need to modify is 'sample' here
#
export INPUTFILENAME="sample"

#
# replace 'sample' with the actual name of your input file.
#
module load intel
module load mvapich2
module load qchem

# copy input file to $TMPDIR
cp $INPUTFILENAME.inp $TMPDIR
cd $TMPDIR

# QChem guide at
# http://www.q-chem.com/qchem-website/manual/qchem43_manual/sect-running.html
#
# Not all calculation types can be run in parallel with MPI.
#
# Temporary hack to get multinode jobs running - it is not yet
# known whether multinode qchem requires a global filesystem.
# setenv QCLOCALSCR $TMPDIR
# export QCSCRATCH=$TMPDIR

qchem -np $SLURM_NTASKS $INPUTFILENAME.inp
ls -al
34 changes: 34 additions & 0 deletions ondemand.osc.edu/apps/dashboard/projects/QCHEM/sample.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
$comment
ethene
$end

$molecule
0 1
C -2.3620772 0.9207308 0.2821606
C -1.0130626 0.5278664 -0.2865418
H -2.6220345 1.9481860 -0.0474867
H -3.1392310 0.2143160 -0.0767561
H -0.7529560 -0.4993875 0.0434971
H -0.2358785 1.2345592 0.0718086
$end

$rem
BASIS = 6-31G*
EXCHANGE = HF
GUI = 2
JOB_TYPE = Optimization
PURECART = 2222
$end

@@@

$molecule
read
$end

$rem
basis 6-31G*
exchange hf
molden_format true
print_orbitals true
$end

0 comments on commit bd92e4d

Please sign in to comment.