UCL-RITS / rcps-buildscripts

Scripts to automate package builds on RC Platforms
MIT License
39 stars 27 forks source link

ANSYS: Install version 2019R3 making sure to include ANSYS Autodyn as well as CFX, Fluent etc. [IN03972747] #316

Closed balston closed 2 years ago

balston commented 4 years ago

2019R3 is the latest version of ANSYS. Currently the latest version installed is 19.1 h is several versions old. A user [IN03972747] needs to use Autodyn on Grace(?) hence why we need to install it as well as the usual stuff.

For some reason Autodyn hasn't been installed with the current (19.1) ANSYS installation. I think this might be because in the past we have used the Fluids and Structures academic package to do the install from.

I'm now downloading the full Multiphysics Campus Solution package - 2 DVD images. This appears to include Autodyn plus other stuff.

balston commented 4 years ago

This is currently blocked pending updating the UCL License Manager to support 2019R3.

balston commented 4 years ago

Will need to rsync the two DVD images of the academic package to Grace.

balston commented 4 years ago

The UCL ANSYS license manager has now been updated to support ANSYS 2019R3.

balston commented 4 years ago

Using rsync to transfer the files in each DVD image to Grace using for example:

rsync -avz ANSYS2019R3/ xxxxxxx@grace.rc.ucl.ac.uk:Scratch/Software/ANSYS/installers/2019.R3/Disk1/

where xxxxxxx is my userid.

balston commented 4 years ago

I've now run the ANSYS installer on Grace from the first DVD image directory:

/home/ccaabaa/Scratch/Software/ANSYS/installers/2019.R3/Disk1

installing all the default packages which includes ANSYS Autodyn! Now to run some tests ...

balston commented 4 years ago

First simple tests:

balston commented 4 years ago
balston commented 4 years ago

The ANSYS Mechanical examples ws run using the following job script:

#!/bin/bash -l

# ANSYS 2019.R3: Batch script to run ANSYS Mechanical solver
# file, distributed parallel (32 cores).

# Using ANSYS 2019 licence manager running on UCL central licence server.

# 1. Force bash as the executing shell.
#$ -S /bin/bash

# 2. Request one hour of wallclock time (format hours:minutes:seconds).
#$ -l h_rt=1:00:0

# 3. Request 2 gigabyte of RAM per core.
#$ -l mem=2G

# 4. Set the name of the job.
#$ -N Mech_P_dist_32

# 5. Select the MPI parallel environment (qlc) and 32 processors.
#$ -pe mpi 32

# 6. Request ANSYS licences $ inserted so currently active.Job will queue until
# suficient lcirnces are available.
#$ -ac app=cfx

# 7. Set the working directory to somewhere in your scratch space.  In this
# case the subdirectory ANSYS_Mech
#$ -wd /home/ccaabaa/Scratch/ANSYS_Mech

# 8. Load the ANSYS module to set up your environment

module load ansys/2019.r3

# 9. Copy the .in file into the working (current) directory

cp /home/ccaabaa/Software/ANSYS/steady_state_input_file.dat .

# 10. SGE puts the machine file in $TMPDIR/machines. Use this to generate the 
# string CFX_NODES needed by ansys195 which requires : as the separator.

# export CFX_NODES=`cfxnodes $TMPDIR/machines`
export CFX_NODES=`cfxnodes $TMPDIR/machines | sed -e 's/\*/:/g' -e 's/,/:/g'`
echo $CFX_NODES

# 13. Force infinipath to be used first if available - now set in module file.

# export I_MPI_FABRICS=shm:ofa
# export I_MPI_FALLBACK=1

# 11. Run ansys mechanical - Note: use ansys195 instead of ansys and -p argument
# needed to switch to a valid UCL license.

ansys195 -dis -b -p aa_r -machines $CFX_NODES < steady_state_input_file.dat
balston commented 4 years ago

Module file moved from beta-modules to applications/ansys.

ANSYS 2019 release 3 now installed on Grace. Use the following module file to access:

module load ansys/2019.r3

Original requester informed.

balston commented 4 years ago

Now install and test ANSYS 2019 R3 on:

balston commented 4 years ago

ANSYS 2019R3 now installed on Myriad.

balston commented 4 years ago

Both install DVD images copied to Kathleen.

balston commented 4 years ago

ANSYS 2019R3 now installed on Kathleen. Testing still to be done.

balston commented 4 years ago

Test jobs on Kathleen:

balston commented 4 years ago

NOTE: License availability checking not current enabled/working on Kathleen. Will need to be done.

balston commented 4 years ago

Following up on the status of license checking on Kathleen.

balston commented 4 years ago

Test job with license checking enabled is now working.

balston commented 4 years ago

Completed.