|
[Sponsors] |
Using SLURM file to use STARCCM+ on Super Computer |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 1, 2020, 04:43 |
Using SLURM file to use STARCCM+ on Super Computer
|
#1 |
Senior Member
MA
Join Date: Mar 2020
Posts: 163
Rep Power: 6 |
Hi,
I found a script from this website and tried to use it by creating a .slurm file to open STARCCM+ but it gives me "invalid input" message for the account I have been provided. Below is the link: #!/bin/sh #SBATCH --account= [your account] #SBATCH --time=20:00:00 #SBATCH --nodes=4 #SBATCH --ntasks-per-node=28 #SBATCH --mem-per-cpu=1990 #SBATCH --job-name= [job namr] #SBATCH --error=Job_Results_ERROR-%J.err #SBATCH --output=Job_Results.out #SBATCH --export CDLMD_LICENSE_FILE = [1999@ your license] export CDLMD_LICENSE_FILE=[1999@ your license] ## Simulation File: ====> Source STARSOURCEFILE=[simulation name.sim] ## SLURM: ====> Job Node List (DO NOT MODIFY) echo "Slurm nodes assigned :$SLURM_JOB_NODELIST" echo "SLURM_JOBID="$SLURM_JOBID echo "SLURM_JOB_NODELIST"=$SLURM_JOB_NODELIST echo "SLURM_NNODES"=$SLURM_NNODES echo "SLURMTMPDIR="$SLURMTMPDIR echo "working directory = "$SLURM_SUBMIT_DIR echo "SLURM_NTASKS="$SLURM_NTASKS ## Modules: ====> Loading desired mudule (DO NOT MODIFY) module load starccm/starccm-10.02.012 ## Working Directory: ====> Job Node List (DO NOT MODIFY) cd $SLURM_SUBMIT_DIR scontrol show hostname $SLURM_NODELIST | tr 'ec' 'ic'> machinefile_${SLURM_JOB_ID} starccm+ -batch -np $SLURM_NTASKS -rsh ssh -machinefile machinefile_${SLURM_JOB_ID} -power $STARSOURCEFILE &>> job_$SLURM_JOB_ID.log sleep 3 ##rm $hostfile echo "Run Finished" >> job_$SLURM_JOB_ID.log |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |