Hi Jess,

If you are talking about interactive run of Ansys app, then you can use this simple script (it is for Ansys Fluent):

[taras@machine ~] cat ./fluent-srun.sh
#!/usr/bin/env bash
HOSTSFILE=.hostlist-job$SLURM_JOB_ID
if [ "$SLURM_PROCID" == "0" ]; then
   srun hostname -f > $HOSTSFILE
   fluent -t $SLURM_NTASKS -cnf=$HOSTSFILE -ssh 3d
   rm -f $HOSTSFILE
fi
exit 0

To run an interactive session, use srun like this:
[taras@machine ~] srun -n <tasks> ./fluent-srun.sh

Best regards.

Taras

On 04/03/2013 06:42 PM, Jess Sturgeon wrote:
I'm not sure this is the appropriate forum; I haven't seen any application specific issues, but I am wondering if anyone has had any luck running Ansys products with SLURM.

Ansys products typically require the scheduler to reserve the resources and then launch the program (GUI) that uses the resources as needed until the user closes the GUI. I have been fighting with AutoDyn and hoping someone else can enlighten me on how to configure the applfile / autodyn_mpi.bat to work with SLURM.

Reply via email to