Ansys: Difference between revisions

Jump to navigation Jump to search
110 bytes removed ,  1 month ago
m
no edit summary
mNo edit summary
mNo edit summary
Line 445: Line 445:
#SBATCH --cpus-per-task=1    # Do not change
#SBATCH --cpus-per-task=1    # Do not change
#SBATCH --array=1-5%1        # Specify number of requeue attempts (2 or more, 5 is shown)
#SBATCH --array=1-5%1        # Specify number of requeue attempts (2 or more, 5 is shown)
<!--T:6765-->
rm -f core*
<!--T:4739-->
MYJOURNALFILE=sample.jou      # Specify your journal file name
MYVERSION=3d                  # Specify 2d, 2ddp, 3d or 3ddp


<!--T:2406-->
<!--T:2406-->
Line 458: Line 451:


<!--T:2405-->
<!--T:2405-->
#module load StdEnv/2020      # no longer supported (uayor)
#module load StdEnv/2020      # no longer supported
#module load ansys/2019R3    # or newer versions (narval only)
#module load ansys/2019R3    # or newer versions (narval only)
#module load ansys/2021R2    # or newer versions (beluga, cedar, graham)
#module load ansys/2021R2    # or newer versions (beluga, cedar, graham)


<!--T:6766-->
<!--T:4739-->
MYJOURNALFILE=sample.jou      # Specify your journal file name
MYVERSION=3d                  # Specify 2d, 2ddp, 3d or 3ddp
 
# ------- do not change any lines below --------
# ------- do not change any lines below --------


Line 485: Line 481:
<!--T:2410-->
<!--T:2410-->
if [ "$SLURM_NNODES" == 1 ]; then
if [ "$SLURM_NNODES" == 1 ]; then
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intelmpi -pshmem -i $MYJOURNALFILE
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intel -pshmem -i $MYJOURNALFILE
else
else
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intelmpi -pib -cnf=/tmp/machinefile-$SLURM_JOB_ID -i $MYJOURNALFILE
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intel -pib -cnf=/tmp/machinefile-$SLURM_JOB_ID -i $MYJOURNALFILE
fi
fi
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
Line 519: Line 515:
#SBATCH --cpus-per-task=1    # Do not change
#SBATCH --cpus-per-task=1    # Do not change
#SBATCH --array=1-5%1        # Specify number of requeue attempts (2 or more, 5 is shown)
#SBATCH --array=1-5%1        # Specify number of requeue attempts (2 or more, 5 is shown)
<!--T:6767-->
rm -f core*
<!--T:4742-->
MYJOURNALFILE=sample.jou      # Specify your journal file name
MYVERSION=3d                  # Specify 2d, 2ddp, 3d or 3ddp


<!--T:2906-->
<!--T:2906-->
Line 532: Line 521:


<!--T:2905-->
<!--T:2905-->
#module load StdEnv/2020      # no longer supported (uayor)
#module load StdEnv/2020      # no longer supported
#module load ansys/2019R3    # or newer versions (narval only)
#module load ansys/2019R3    # or newer versions (narval only)
#module load ansys/2021R2    # or newer versions (beluga, cedar, graham)
#module load ansys/2021R2    # or newer versions (beluga, cedar, graham)


<!--T:6768-->
<!--T:4742-->
MYJOURNALFILE=sample.jou      # Specify your journal file name
MYVERSION=3d                  # Specify 2d, 2ddp, 3d or 3ddp
 
# ------- do not change any lines below --------
# ------- do not change any lines below --------


Line 559: Line 551:
<!--T:2910-->
<!--T:2910-->
if [ "$SLURM_NNODES" == 1 ]; then
if [ "$SLURM_NNODES" == 1 ]; then
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intelmpi -pshmem -i $MYJOURNALFILE
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intel -pshmem -i $MYJOURNALFILE
else
else
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intelmpi -pib -cnf=/tmp/machinefile-$SLURM_JOB_ID -i $MYJOURNALFILE
  fluent -g $MYVERSION -t $NCORES -affinity=0 -mpi=intel -pib -cnf=/tmp/machinefile-$SLURM_JOB_ID -i $MYJOURNALFILE
fi
fi
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
cc_staff
1,857

edits

Navigation menu