Child pages
  • Hyak Fluent
Skip to end of metadata
Go to start of metadata

Parallel Job Scripts

Ikt Job Script

Change items that are bold and red. Check items that are bold and blue and change if necessary.

 

Change items that are bold and red.

#!/bin/bash
## Job Name
#SBATCH --job-name=test-job
## Allocation Definition
#SBATCH --account=MYSHORTGROUP
#SBATCH --partition=MYSHORTGROUP

## Resources

## Nodes
#SBATCH --nodes=2
## Tasks per node 

#SBATCH --ntasks-per-node=16
## Walltime (ten minutes)

#SBATCH --time=10:00
## Memory per node
#SBATCH --mem=58G
## Specify the working directory for this job

#SBATCH --chdir=/gscratch/MYGROUP/MYUSER/MYRUN

FLUENTNODES=`scontrol show hostnames | paste -d, -s`

module load icc_17-impi_2017
module load fluent_17

FLUENTNODES=`scontrol show hostnames | paste -d, -s`


export INTELMPI_ROOT=${HYAK_FLUENT_MPI_ROOT}
 
fluent 3d -pmyri -cnf=${FLUENTNODES} -t$${SLURM_NTASKS} -g -i sample.jou

Mox Job Script

Change items that are bold and red. Check items that are bold and blue and change if necessary.

#!/bin/bash
## Job Name
#SBATCH --job-name=test-job
## Allocation Definition
#SBATCH --account=MYSHORTGROUP
#SBATCH --partition=MYSHORTGROUP

## Resources

## Nodes
#SBATCH --nodes=2
## Tasks per node 

#SBATCH --ntasks-per-node=28
## Walltime (ten minutes)

#SBATCH --time=10:00
## Memory per node
#SBATCH --mem=120G
## Specify the working directory for this job

#SBATCH --chdir=/gscratch/MYGROUP/MYUSER/MYRUN

FLUENTNODES=`scontrol show hostnames | sed 's:$:-opa:' | paste -d, -s`
module load fluent_18
module load icc_17-impi_2017
export INTELMPI_ROOT=${HYAK_FLUENT_MPI_ROOT}
fluent 3ddp -t ${SLURM_NTASKS} -cnf=${FLUENTNODES} -mpi=intel -pib.infinipath -g -i sample.jou