Download - GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

Transcript
Page 1: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for

ANSYS Mechanical

Peter Tiefenthaler

CADFEM GmbH

Page 2: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 1 -

Page 3: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 2 -

GPU Acceleration – Important Details

GPU acceleration (-acc)

- First available at ANSYS v13.0 SMP

- NVIDIA Tesla C20xx (Fermi) GPUs supported

- At v14.0 available for DMP – 1 GPU per Job

- ANSYS v14.5 supports multiple GPUs

- ANSYS v14.5 supports Kepler Kxx Series (CUDA 4). Only 10-15% Performance growth

- ANSYS v15.0 will support Kepler Kxx Series (CUDA 5). Higher Performanc expected

- Can be used on Single Machines or Clusters

- Maximum 2 GPUs on Workstations

- Maximum 4 GPUs on Compute Nodes

- Needs HPC Pack !

- Both v14.0 and v14.5 work with CUDA 4 Libraries

- Kepler Series (released end 2012) needs CUDA 5 Libraries -> Supported at v15.0

Page 4: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

Widely used for gaming, graphics rendering

First available at v13.0 as general-purpose “accelerator” (SMP only)

Support for double precision arithmetic

Performance exceeding the latest multicore CPUs

Graphics Processing Units (GPUs)

Multi-core processors

•Typically 4-8 cores

•Powerful, general purpose

Many-core processors

•Typically hundreds of cores

•Great for highly parallel code

•Require specialized coding

•Poor performance for sequential code

Page 5: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

“Accelerate” Sparse Direct Solver

Supported options Static, full transient, full harmonic, spectrum analyses

Symmetric, non-symmetric matrices (e.g., frictional contact & NROPT,UNSYM)

Real-value, complex-value matrices (e.g., full harmonic analyses with damping)

Positive definite, indefinite matrices (e.g., nonlinear analyses)

Modal, buckling analyses through the use of the Block Lanczos eigensolver

Distributed ANSYS at v 14.0

Unsupported options Partial pivoting (e.g., SOLID elements with mixed u-P formulation or contact elements

with pure Lagrange formulation)

Substructuring analyses (generation and expansion pass)

Graphics Processing Units (GPUs)

Page 6: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

“Accelerate” PCG/JCG Iterative Solvers

Supported options Static, full transient analyses

Symmetric, real-value, positive definite matrices

Any Lev_Diff value on the PCGOPTION command

Modal analyses through the use of the PCG Lanczos eigensolver

Distributed ANSYS at v 14.0

Unsupported options Memory saving option (MSAVE,ON)

Graphics Processing Units (GPUs)

Page 7: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 6 -

Page 8: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 7 -

Basics of GPU Computing for ANSYS

Page 9: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 8 -

Basics of GPU Computing for ANSYS

Page 10: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 9 -

Basics of GPU Computing for ANSYS

For 6 GB GDDR Memory app. 10 Mio. DOF Model Size

Page 11: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 10 -

How to invoke the GPU for an ANSYS Job?

1. Inside ANSYS Workbench – Solve Process Settings

Page 12: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 11 -

How to invoke the GPU for an ANSYS Job?

2. Mechanical APDL – Input Command

Page 13: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 12 -

How to invoke the GPU for an ANSYS Job?

2. Mechanical APDL – Launcher and Command Line Argument

Page 14: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 13 -

Licensing - HPC Packs

Page 15: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 14 -

Page 16: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 15 -

Page 17: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 16 -

NVIDIA Maximus Technology

Page 18: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 17 -

Recommended System Configurations

Page 19: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 18 -

New GPU Kepler Architecture for ANSYS

Tremendous Performance Increase at ANSYS v15 ?

Page 20: GPU Acceleration for ANSYS Mechanical Peter Tiefenthaler · GPU Acceleration for ANSYS Mechanical “Accelerate” Sparse Direct Solver Supported options Static, full transient, full

GPU Acceleration for ANSYS Mechanical

- 19 -