mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 21:48:02 +00:00
21 lines
307 B
Bash
21 lines
307 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "$#" -ne 1 ]; then
|
||
|
echo "Usage: ./script.sh <path_to_file>"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
env="/mnt/zfsusers/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
||
|
queue="berg"
|
||
|
nthreads=1
|
||
|
memory=7
|
||
|
|
||
|
file="$1"
|
||
|
|
||
|
cm="addqueue -q $queue -n $nthreads -m $memory $env $file"
|
||
|
|
||
|
echo "Submitting:"
|
||
|
echo $cm
|
||
|
echo
|
||
|
$cm
|