Wiki-head
1.2 Ansys in Jed
français | english
Navigation
Home
Sitemap
This wiki
This page

Once you prepared cfx file, run it as follows.

Student must first get the personal liscence by signing the Ansys liscence

 

https://support.epfl.ch/epfl?id=epfl_eula_conditions

 


#!/bin/bash

 

#SBATCH --nodes 1

#SBATCH --ntasks 8

#SBATCH --cpus-per-task 1

#SBATCH --ntasks-per-node 8

#SBATCH --time 01:00:00

#SBATCH --chdir /home/yim/

#SBATCH --mem 4000

#SBATCH --mail-user=eunok.yim@epfl.ch

#SBATCH --mail-type=ALL

#SBATCH --job-name="test"

#SBATCH -A head

 

echo $1 > SESSION.NAME

echo `pwd`'/' >> SESSION.NAME

 

module purge

module load ansys

 

#Generate line of names of computational nodes (or hosts).

MYHOSTLIST=$(srun hostname | sort | \

uniq -c | \

awk '{print $2 "*" $1}' | \

paste -sd, -)

echo $MYHOSTLIST

 

 

cfx5solve -def FluidFlowCFX.def -parallel \

-start-method "Intel MPI Distributed Parallel" \

-par-dist "$MYHOSTLIST" \

Search
Share