|
[Sponsors] |
June 4, 2021, 10:50 |
Slurm Bash Script for STAR-CCM+
|
#1 |
New Member
Jonathan De Sousa
Join Date: Jun 2021
Posts: 3
Rep Power: 4 |
Hi,
I currently need help writing a simple bash script to submit my STAR-CCM+ sim file via slurm. I have written a simple script but after about 10s from submitting my job, my job disappears from the job queue. The script is given below: #!/bin/bash #SBATCH --nodes=1 #SBATCH --ntasks=16 #SBATCH --mem=32000MB #SBATCH --time=12:00:00 #SBATCH --job-name=StarCCM #SBATCH --partition=medium #SBATCH --workdir="/home/username/work" module load star-ccm+ starccm+ -batch -power -podkey BI8J2TM8oU/FinQk2tpNvw -licpath 1999@flex.cd-adapco.com -np 16 $SLURM_SUBMIT_DIR/filename.sim > $SLURM_SUBMIT_DIR/output Note that the largest values for ntasks possible is 16 and for mem, it is 32GB, on my college HPC cluster. The version of STAR-CCM+ available is star-ccm+/14.04.011-R8. I have tried putting this after the "module load" command but with no success. Are there any recommendations as to how I could fix this bash script? |
|
Tags |
#slurm #starccm+ #cfd |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running OpenFOAM case through shell script (bash) | ilaj | OpenFOAM Programming & Development | 2 | January 28, 2020 13:14 |
FSI simulation in SLURM cluster (input file and script) | Lara Gonçales | Structural Mechanics | 0 | January 20, 2020 15:45 |
How to write the Ansys lic usage Bash script from Windows machine | mg.mithun | Main CFD Forum | 0 | November 28, 2019 09:01 |
run openfoam with bash script | Gosi | OpenFOAM | 2 | April 11, 2013 09:10 |