Installing Intel Parallel Studio XE on Google Cloud Platform Linux Instances

Introduction

This article covers the installation steps with troubleshooting and tips for Intel® Parallel Studio XE on Google Cloud Platform (GCP). Note, some of the tools may have functional restrictions due to the cloud environment.  For system requirements, please see Release Notes for details. For further Intel related support, visit https://software.intel.com/support.

If your applications are built with Intel® Compilers or if you dynamically link to Intel® Performance Libraries*, you must make the respective runtime available on the VM instances. To learn how to access runtimes at no cost – see Installing Intel® Parallel Studio XE Runtime using Linux Package Manager.

Developers can also easily install Intel® Performance Libraries and Intel® Distribution for Python* via popular Linux package managers

Getting Started with Google Cloud Platform

This article assumes you are familiar with GCP environment. To learn more about working with GCP see: https://cloud.google.com/docs/

Specifically, this article assumes:

  • You have a GCP account
  • You are familiar with creating instances within the GCP environment.
  • To learn more about launching an instance see the documentation for creating an instance.
  • For maximum instance communication, create all your instances within the same Virtual Private Cloud (VPC) network.

Creating an Instance

  • Set the instance storage to a minimum of 25GB. For instructions on setting instance storage please refer to https://cloud.google.com/compute/docs/disks/add-persistent-disk#create_disk

Connecting to the GCP Instance

  • When connecting to the VM instance, you are likely to encounter an Unknown Publisher warning message. Click Connect to continue with the connection. Enter your password when prompted..
  • A security popup appears to alert you that the identity of the remote computer cannot be verified. Select Yes to continue.
  • For more information see the documentation for Connecting to Instances

Installing Intel® Software Development Products

Downloading

To download the product:

  • Open the registration email and click on the Download link.
  • OR go to Intel Registration Center and log into your account. In the product tab locate your software product and download it

When downloading you have a choice between using the online installer and an offline package.

  • Online Installer – You can choose to customize and install the product now OR
    You can choose to create and download a customized package for a later installation
  • Offline Package – This package includes all the components in the product and as such is larger than the customized package

You now need to move your download to the GCP instance.  You can use the gcloud tool to move files to the instance by running:

gcloud compute copy-files [LOCAL_FILE_PATH] [INSTANCE_NAME]:~/

Refer to Transferring Files to Instances for detailed instructions.

If you are working from a Windows* host the recommended way to transfer files to your Linux* Instance is through winscp. You can find the instructions here: https://cloud.google.com/compute/docs/instances/transfer-files#winscp

1.Before you begin you will want to make sure that you have an updated system and the following prerequisites installed. You can do that with the following command:

sudo yum update && sudo yum install wget lsb gcc-c++ expect
sudo apt-get upgrade && sudo apt-get install wget lsb g++ expect (Ubuntu)

2.Go to the directory where you transferred the package

3.Untar the archive tar

–xf <package_name>.tgz

4.Run the install.sh and follow the onscreen instructions to complete installation

For more details, see the Installation guide.

Installing with a Named-User License

During installation it is recommended to use the serial number to install the product. For alternative activation methods see the Installation Guide and the Product Licensing FAQ.
 
A named-user license is limited to n simultaneous activations as defined in our Software EULA.
 

Installing with a Floating License

Floating license installation has two parts: License Server installation and Product installation.

License Server Installation

  • Download the License Manager
    • Log into Intel Registration Center
    • In the Serial Numbers tab locate your serial number and click it
    • On the Manage License page scroll down and locate the license manager
    • Click on the Download button
  • Install the License Manager
    • When installing the License Manager select ‘I have a license file’. Browse to the file location and select it.
  • Once the License Manager had been installed it should start automatically. If you have to start it manually:
    • On the host system
    • Go to the directory where you installed the License Server.
    • Run the lmgrd daemon specifying the location of the license file with the –c flag
    • ./lmgrd –c /path/to/server.lic & 

Important: Make sure that the instance you install the License Manager on is protected against termination and is accessible from other instances.

Note: License server can serve both Windows and Linux OS however the license type should match the client OS. Please see Product Licensing FAQ for more information.

Product Installation

  • Use the link in the registration email or log into Intel Registration Center to download the product. See detailed information about downloading options in the Download section above. 
  • In the activation screen choose the ‘I have a serial number and I want to activate my product’ option. Enter the serial number for your floating license and proceed with the installation. 
  • For information on using Intel Parallel Studio XE please refer to our getting started guide (https://software.intel.com/en-us/get-started-with-parallel-studio-xe-for-linux).

Troubleshooting and Tips

Verifying Floating Licenses Checkout

On the client set the environment variable INTEL_LMD_DEBUG to 1 and run a tool such as the compiler. At the bottom of the information you should see where the license came from.

For floating license server you should see a note about successful checkout. 

Additional Resources

有关编译器优化的更完整信息,请参阅优化通知