Azure HPC Recipe Document for Siemens NX

1 Introduction

This document will briefly explain the performance test methodology carried out for Siemens NX application on a Virtual Machine deployed in Azure Cloud Platform.

This recipe document covers the following topics:-

  • Deploy & connect a required virtual machine for running Application to be tested on Azure platform.
  • Install required NVIDIA drivers in virtual machine.
  • Install Application on virtual machine.
  • Install license manager for current application
  • Performance results of current application on azure virtual machine
  • Azure consumption
  • Summary

2 Deploy Virtual Machine on Azure Cloud Platform

2.1 Azure Cloud architecture for application

The below Architecture explains the virtual machine running on an Azure Platform

2.2 Azure Virtual Machine (VM)

A VM is a virtualized instance of a computer that can perform almost all of the same functions as a computer, including running applications and operating systems.

An Azure VM gives you the flexibility of virtualization without having to buy and maintain the physical hardware that runs it. However, you still need to maintain the VM by performing tasks, such as configuring, patching, and installing the software that runs on it.

Things to be considered before deploying a VM,

  • The names of your application resources
  • The location where the resources are stored
  • The size of the VM
  • The operating system that the VM runs
  • The configuration of the VM after it starts
  • The related resources that the VM needs

There are different sizes and options available for the Azure virtual machines you can use to run your apps and workloads. Depending on the workload user has to choose the appropriate VM size for complete list check this https://docs.microsoft.com/en-us/azure/virtual-machines/sizes/.

To test the performance of Siemens NX on Azure Platform, NV24s_v3 & NV12s_v3 & NC16as_T4_v3 Virtual machine is deployed to analyse the hardware performance..

VM Name

vCPU

Memory (GiB)

SSD (GiB)

GPU

GPU Memory (GiB)

Max Data Disk

Standard_NV12s_v3 (1GPU-VM)

12

112

320

1

8

12

Standard_NV24s_v3 (2GPU-VM)

24

224

640

2

16

24

Standard_NC16as_T4_v3

(1GPU-VM)

16

110

360

1

16

32

2.3 Create a Virtual Machine on Azure Platform

Sign in to Azure

Sign into the Azure portal by using https://portal.azure.com/

Free Trial subscriptions aren't eligible for limit or quota increases.

After the successful sign in or sign up, one has to upgrade the Azure subscription to Pay-As-You-Go to deploy a Virtual machine. For deployment, the user must have regional vCPU quota which can be obtained by raising a request.

The step-by-step procedure to increase the vCPU quota is given below,

https://docs.microsoft.com/en-us/azure/azure-portal/supportability/per-vm-quota-requests

  1. Type virtual machines in the marketplace search.
  2. Under Services, select Virtual machines.
  3. In the Virtual machines page, select Create Then Virtual machine.
  4. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type Azure-PerformanceTest(user choice) for the name.

  1. Under Instance details, type Azure-VM (user choice) for the Virtual machine name and choose Central India for your Region. Choose Windows 10 pro, Version 20H2-Gen2 for the Image and Standard_NV24s_v3 for the Size (user choice). Leave the other defaults.

Note:

  • Region must be decided based on where you are going to deploy a Virtual machine. To avoid the network latency, the region should be near to the location where the VM is to be deployed.
  • Image selection is of user choice based on the application user can choose the image (Windows 10, Linux based OS and Windows Server)
  1. Under Administrator account, provide a username, such as Azureuser and a password. The password must be at least 12 characters long and meet the defined complexity requirements.

  1. Under Inbound port rules, choose Allow selected ports and then select RDP (3389) and HTTP (80) from the drop-down.

  1. Under the Licencing click the check box

  1. In Advanced tab, under the Extensions click Select an extension to install, select NVIDIA GPU Driver Extension (user choice)

  1. Leave the remaining defaults and then select the Review + create button at the bottom of the page.
  2. After validation runs, select the Create button at the bottom of the page.

  1. After deployment is complete, select Go to resource.

2.4 Connect to virtual machine

Create a remote desktop connection to the virtual machine. These directions tell you how to connect to your VM from a Windows computer. On a Mac, you need an RDP client such as this Remote Desktop Client from the Mac App Store.

  1. On the overview page for your virtual machine, select the Connect button then select RDP.

  1. In the Connect with RDP page, keep the default options to connect by IP address, over port 3389, and click Download RDP file.
  2. Open the downloaded RDP file and click Connect when prompted.
  3. In the Windows Security window, select More choices and then Use a different account. Type the username as localhost\username, enter the password you created for the virtual machine, and then click OK.
  4. You may receive a certificate warning during the sign-in process. Click Yes or Continue to create the connection.

2.5 Install Nvidia Drivers

To take advantage of the GPU capabilities of Azure N-series VMs backed by NVIDIA GPUs, you must install NVIDIA GPU drivers.

In two ways you can install the drivers,

3 Install Siemens NX Application on Virtual Machine

Before beginning, open Siemens Support centre in a web browser and log on.

3.1 Licence server Installation

  1. Prior to beginning the SPLM Licensing installation, you must have a license file.
  2. Download setup & Install SPLM License Server (required in server machine)

File Name: SPLMLicenseServer_v11.0.0_win_setup.exe

Download Link: https://support.sw.siemens.com/en-US/product/286073425/download/PL20191210095924816/

  1. Launch the setup
  2. Follow the prompt
  3. Locate license file path in server
  4. For more information, refer SPLM_Licensing_Install.pdf

Prerequisite: - The Java Runtime Environment (64-bit) for NX is a system prerequisite that must be downloaded and installed from the Java website: https://www.java.com prior to running NX

3.2 Install NX application procedure

  1. For downloading NX software, you need web key access account.
  2. Here in our case we have downloaded NX1980 version
  3. Download NX Setup from Siemens support center.

File Name: SiemensNX-1980_wntx64.zip

Download Link: https://support.sw.siemens.com/en-US/product/209349590/download/PL20210518370298522/

  1. Detail installation document is available in downloaded folder
  2. Run the setup on virtual machine.
  3. Follow the process.
  4. Finish the Installation.

4 Performance results of NX on azure virtual machine

  1. Siemens NX is CAD application.
  2. Tests are performed with both ATS (automated test suites) and Cert (certification suites) provided by Siemens.
  3. Installation and use of test suites will be available in test suite folder or provided by Siemens separately.

4.1 ATS for NX

  1. Download ATS zip folder from Siemens support center by web key access

File Name: ATS_rev4.7.7z

  1. Extract the zip folder in document directory in virtual machine

  1. Launch NX
  2. Bring up Customer Defaults Dialog

  1. Select General Node under Automated Testing Studio
  2. Enter the following value to the entry fields:
  • Root Directory: %userprofile%\documents\ATS\root
  • User Directory: %userprofile%\documents\ATS
  • Resource file: %userprofile%\documents\ATS\resource\
  1. Maximize NX
  2. Create a new part
  3. Toggle on Automated Testing Studio. (Under Application tab Gateway Toolbox Dropdown)

  1. Exit NX.
  2. On next launch of NX, you will be ready to run ATS test cases

4.2 Cert Package for NX

  1. Download certification package from Siemens GTAC by using the web access key
  2. Open the access center. Navigate to download-NXCP

  1. Click Product Updates and Customers
  2. Type exact file name in prompt window and download the file.

  1. Extract zip folder at appropriate location by entering password (provided by siemens).
  2. Download this file: https://www.dropbox.com/s/n7ioerjdshsalvu/NXCP_13.exe?dl=0
  3. Go to where the cert package was extracted
  4. Then go down to CertTests\NXCP
  5. Copy NXCP_13.exe there and run that instead of nxcp.exe when you start testing.

Note: This file requires some Visual Studio C++ redistributable to be installed. However, if you have already installed NX you should not have to do that.

5 Siemens NX 1980 performance results

5.1 Cert Package results

Certification test cases performed by using NXCP tool (Siemen’s tool). To demonstrate varied capabilities, test cases are grouped, and each test group consists of multiple number of tests cases.

The following table shows the test cases status on both 1-GPU VM and 2-GPU VM configurations.

Test Group Name

No. of test Case

1 GPU VM

2 GPU VM

1 GPU (NCas_T4 16 CPU) VM

GDAT_LEGACY

15

Pass

Pass

Pass

TCVIS 2007

10

Pass

Pass

Pass

TECNOMATIX_OpenGL Display

2

Pass

Pass

Pass

TECNOMATIX_OpenGL Buffer

2

Pass

Pass

Pass

NX1847_Manual

7

Pass

Pass

Pass

NX1899_Manual

7

Pass

Pass

Pass

NX 1899 Mark

6

Pass

Pass

Pass

5.2 ATS (Automatic Test Suite) results

ATS test suits are run on two different virtual machine such as NVv3 and NC16as_T4_v3 machine.

Case No.

Description

Case ID

1 GPU VM

2 GPU VM

1 GPU (16vCPU NCas_T4) VM

AT-01

This test listing window shows data correctly.

Listing Window

1 Min 11 Sec

31 Sec

18 Sec

AT-02

This test verified correct display of mirror display in different view types.

Mirror Display

1 Min 40 Sec

1 Min 8 Sec

1 Min 10 Sec

AT-03

This test case verify de-emphasis displays.

Deemphasis

1 Min 13 Sec

1 Min

57 Sec

AT-04

This test case verify Grid displays.

Grid Display

1 Min 47 Sec

1 Min 16 Sec

51 Sec

AT-05

This test verified correct display of raster image in different view ports.

Raster Image

20 Sec

19 Sec

23 Sec

AT-06

This test show multiple views in one window.

Multiple Views

23 Sec

26 Sec

25 Sec

AT-07

This test check background setting while in wireframe display.

Background Setting Wireframe

45 Sec

29 Sec

34 Sec

AT-08

This test verifies correct display of light and shadow in advance studio

Light Direction

21 Sec

20 Sec

23 Sec

AT-09

This test case verify Display Section.

Display Section

4 Min 35 Sec

2 Min 8 Sec

1 Min 52 Sec

AT-10

This test case verify Display modes.

Display Modes

17 Min

45 Sec

43 Sec

AT-11

This Test Case activates HD3D and representation status with tags.

HD3D

1 Min 37 Sec

47 Sec

47 Sec

AT-12

This Test Case activates Face Analysis and verifies displays with reflection

Face Analysis

52 Min

41 Min

40 Min 33 Sec

AT-13

This test will rotate views in sync

Synchronize View

18 Sec

16 Sec

15 Sec

6 Azure Cost

Note: For azure cost calculation, we have neglected the time to Installation NX on the Virtual Machine and only considered the total time taken to run the Automatic test suites. The Hourly rates reported are subject to change. For the current rate please refer the link “https://azure.microsoft.com/en-in/pricing/calculator/

VM Name

# GPUs on VM

Azure VM hourly cost ($)

Wall clock time

Total Azure cost

NV12s_v3

1

$2.14

1 hrs 23 min 10 sec

$2.97

NV24s_v3

2

$4.29

50 min 25 sec

$3.60

NC16as_T4_v3

1

$2.30

49 min 18 sec

$1.89

7 Summary

  1. NX Application is successfully deployed and tested on NV_v3 & NCas_T4 series Azure Virtual Machines.
  2. All test cases (both ATS and Cert) are successfully run on 1GPU VM (Standard_NV12s_v3), 2GPU VM (Standard_NV24s_v3) and 1GPU VM (Standard_NC16as_T4_v3) configurations.