|
14 | 14 | from azure.cli.core.util import b64encode |
15 | 15 | from azure.identity import DefaultAzureCredential |
16 | 16 | from azure.mgmt.compute import ComputeManagementClient |
17 | | -from azure.mgmt.compute.models import (DiskCreateOption, LinuxConfiguration, |
18 | | - OSProfile, SshConfiguration, |
19 | | - SshPublicKey, VirtualMachine, |
20 | | - VirtualMachineImage) |
| 17 | +from azure.mgmt.compute.models import ( |
| 18 | + DiskCreateOption, |
| 19 | + LinuxConfiguration, |
| 20 | + OSProfile, |
| 21 | + SshConfiguration, |
| 22 | + SshPublicKey, |
| 23 | + VirtualMachine, |
| 24 | + VirtualMachineImage, |
| 25 | +) |
21 | 26 | from azure.mgmt.monitor import MonitorManagementClient |
22 | 27 | from azure.mgmt.netapp import NetAppManagementClient |
23 | 28 | from azure.mgmt.netapp.models import NetAppAccount |
24 | 29 | from azure.mgmt.network import NetworkManagementClient |
25 | 30 | from azure.mgmt.resource import ResourceManagementClient, SubscriptionClient |
26 | 31 |
|
27 | 32 | from hpcadvisor import dataset_handler, logger, taskset_handler, utils |
28 | | -from hpcadvisor.azure_identity_credential_adapter import \ |
29 | | - AzureIdentityCredentialAdapter |
| 33 | +from hpcadvisor.azure_identity_credential_adapter import AzureIdentityCredentialAdapter |
30 | 34 |
|
31 | 35 | batch_supported_images = "batch_supported_images.txt" |
32 | 36 | VMIMAGE = "almalinux:almalinux-hpc:8-hpc-gen2:latest" |
@@ -615,6 +619,7 @@ def create_pool(sku, number_of_nodes): |
615 | 619 | ), |
616 | 620 | node_agent_sku_id=env["NODEAGENTSKU"], |
617 | 621 | ), |
| 622 | + storage_account_type="Premium_LRS", |
618 | 623 | vm_size=sku, |
619 | 624 | target_dedicated_nodes=number_of_nodes, |
620 | 625 | enable_inter_node_communication=True, |
|
0 commit comments