Quick Start Guide for Intel FPGA Development Tools on the Nimbix Cloud
Quick Start Guide for Intel FPGA Development Tools on the Nimbix Cloud
You can learn about the available licensing models, how to create an account, how to transfer files to and from your account, and how to manage the lifecycle of your bare metal machines. The last sections of this user guide show examples of using Intel® Quartus® Prime Design Space Explorer II, and Intel® FPGA SDK for OpenCL™ .
Creating a Nimbix Account
Licensing Intel FPGA Software for Cloud
Pay-As-You-Go Licensing Model
Bring your Own License (BYOL) Licensing Model
Use the BYOL licensing model when you prefer to use your existing Intel® Quartus® Prime Pro Edition license.
The BYOL licensing model requires you to host the license on a server. You can use your own server, or let Nimbix host the license server for you.
Hosting your License Server on the Nimbix Cloud
To setup a license server for your account:
-
Contact Nimbix customer service.
Nimbix can launch a server, and provide you with the MAC address.
-
Regenerate your
Intel®
Quartus® Prime
license for the Nimbix license server from the Self Service Licensing
Server.
- You must log on your My Intel account.
- For details on using the Self-Service Licensing Server, refer to Using the Self-Service Licensing Center in Intel FPGA Software Installation and Licensing.
Licensing IP Cores
-
Contact Nimbix customer service.
Nimbix can launch a server and provide you with the MAC address.
- With the MAC address, contact your IP vendor to regenerate license.
Managing Intel FPGA Software on the Nimbix Cloud
A session of Intel FPGA software on the Nimbix Cloud follows a distinct sequence:
Signing In the Nimbix Web Portal
- Visit the Nimbix platform page at:
-
Sign into your account.
A successful sign in takes you to the Dashboard page.
Selecting Intel FPGA Software
-
In your account's Dashboard page, click Nimbix > Compute to access the application catalog.
You can also filter the results by entering text in the search bar.Figure 1. Intel FPGA Software Available on the Nimbix Cloud
-
Select the type of image to launch. The options are:
Option Description If you use the Pay-As-You-Go licensing model Select the image specifying computation price plus license price If you use the BYOL licensing model Select the image specifying only the computation hourly price After you select the application, the workflow selection dialog box opens.
Specifying Workflow
| Option | Description |
|---|---|
| Batch Mode | Launches a session that can only handle batch commands using /bin/bash. You can monitor the output using your account's Dashboard. |
| Desktop Mode | Launches a session that emulates a desktop computer, and allows you to work through an interactively. The Dashboard displays the connection address and credentials, once available. |
Specifying Job Parameters
After selecting your workflow, you specify hardware settings, launch time settings, and other optional parameters.
For information on uploading data to your account, refer to Persistent Storage and Data Transference.
Specifying Hardware Settings
- To edit your design without compiling, any small instance is enough.
- To compile a design that uses a larger device family, select a server size that meets the physical memory requirements for the family. For example, an Intel® Arria® 10 device can use a 8 core, 64GB RAM instance for Intel® Quartus® Prime Pro Edition software version 17.0.1. For information about other devices, refer to Intel® Quartus® Prime Pro Edition Software and Device Support Release Notes .
(Batch Workflow Only) Specifying Running Command
Submitting your Job
(Desktop Workflow Only) Launching the Intel Quartus Prime Pro Edition Software
-
In your account's Dashboard, click the window to open the
virtual desktop in a new browser tab.
Figure 5. Link to Virtual Desktop
-
In your virtual desktop, open the terminal by clicking Start > Terminal Emulator.
Figure 6. Open Terminal EmulatorThis action launches a terminal.
-
In the terminal, enter:
quartus&
Terminating the Job
After finishing your Intel® Quartus® Prime session, you can terminate the job. This action stops the billing, helping you keep costs low.
You can terminate your job in two ways:
Terminating a Job from the Nimbix Dashboard
- Click the Power button from
the jobs list.Figure 8. Terminating a Job from the Dashboard
Terminating a Job from the Virtual Desktop
- Click Start > Log Out. A menu with three buttons appears.Figure 9. Terminating a Job from the Virtual Desktop
- Click Shut down.Note: Clicking Log Out only suspends the machine; charges continue to accrue.
Persistent Storage and Data Transference
Nimbix provides each account with 1 TB of storage mounted on the /data directory. Files that you save in other directories are not persistent. All machines from the same account share the /data directory. Contact Nimbix to share the /data directory across multiple accounts.
You can access data from the /data directory in several ways:
| Access Mode | Description |
|---|---|
| /data directory | Works for jobs launched from the same account |
| Nimbix File Manager | Launches a new job, and incurs cost |
| SSH File Transfer Protocol (SFTP) | Use:stfp drop.jarvice.comUsername is your user name on Nimbix, password is the Account API key. Obtain this password from your account's Dashboard |
| Secure Copy Protocol (scp) on a running job | Use:scp <local file> nimbix@<hostname>:/data/ Obtain the hostname and password from your account's Dashboard. For more details, refer to Obtaining Hostname and Password of a Nimbix Job |
Intel FPGA Software Installation Path
In your machine, the installation of Intel FPGA software is in:
/opt/intelFPGA_pro/<release>
Example: Running Intel Quartus Prime Design Space Explorer II
The Intel FPGA applications that you can use on the Nimbix Cloud include the Intel® Quartus® Prime Design Space Explorer II tool. This tool increases performance by automatically iterating through combinations of Intel® Quartus® Prime software settings to find optimal design results.
Intel® Quartus® Prime Design Space Explorer II maximizes performance on machines with many cores.
Starting Intel Quartus Prime Design Space Explorer II
To start Intel® Quartus® Prime Design Space Explorer II, select a large instance with multiple CPU cores. The compilations run on the same machine and share the memory.
-
Select an instance type with enough memory for the desired
parallelism.
An Intel® Arria® 10 design requires about 50GB of RAM. To perform ten compilations in parallel, select the Nimbix n5 machine type. This machine has 512GB RAM and 16 CPU cores.
- Launch job.
-
In the virtual desktop, open a terminal and enter:
quartus_dsew&
Setting Up an Intel Quartus Prime Project
-
On the Project tab, click
Open Project, and select an
Intel®
Quartus® Prime project.
If you don't have an example at hand, copy an example from the $QUARTUS_ROOTDIR/qdesigns directory in your local folder.
-
Click the Setup tab. In
Compilation Type, select Local.
Figure 11. Setup Tab
-
On the Exploration tab,
click to display Exploration Points.
Specify the following settings:
Option Description Explore Select Design Exploration Skip base exploration point Enable to avoid performing a base compile with no seed or assignment changes Exploration Mode Select Seed Sweep Only Seeds Select Specify, and enter a range of seeds to test out Figure 12. Exploration Points in Exploration Tab -
To configure parallelism, click Advanced. Specify the following settings:
Option Description Maximum parallel compilations In the example with Intel® Arria® 10 and n5 machine type, enter 10. Maximum number of CPUs Number of CPUs each compiler must use.
Since the CPUs are shared among the 10 compilers, divide the number of CPU cores by the number of compilers.
Since the n5 machine has 16 cores and 512 GB of physical RAM, for the Intel® Arria® 10 example you use one CPU per compiler.
Figure 13. Advanced Settings in Exploration TabOn warning about performing more than one compilation simultaneously, click OK.
Your project is ready for compilation.
-
To compile, click Start.
Figure 14. Start Compilation
Example: Running "Hello World" Using the Intel FPGA SDK for OpenCL
If you are new to the Intel® FPGA SDK for OpenCL™ , use the "Hello World" example included in the Intel® FPGA software installation as a starting point.
To set up the "Hello World" example:
-
In your virtual desktop, open the terminal by clicking Start > Terminal Emulator.
Figure 15. Open Terminal EmulatorThis action launches a terminal.
-
Copy the example folder from the Intel FPGA software installation to the /data directory. In the terminal, enter:
cp -r $INTELFPGA_ROOTDIR/examples/opencl /data
The example files are now in the /data/opencl folder.Figure 16. Contents of opencl Folder - With a web browser, open the README.html file. Follow the instructions to run the "Hello World" example.
Document Revision History for Quick Start Guide for Intel FPGA Development Tools on the Nimbix Cloud
| Date | Version | Changes |
|---|---|---|
|
2017.10.13 |
17.0.1 |
Initial release of the document. |
Appendix: About Setting Up Secure Shell (SSH) Connections to your Nimbix Machine
This section demonstrates how to obtain your Nimbix job's hostname and password, and how to upload a public key file to your Nimbix account.
Obtaining the Hostname and Password of a Nimbix Job
- In the Nimbix Web Portal, the Dashboard displays information about all jobs. Running jobs appear with a Processing status.
- The hostname is the Address field
-
The password appears after you click (click to show).
Figure 18. Dashboard Display of a Job in Processing Status
Installing SSH Public Key in a Nimbix Account
- Go to Nimbix Web Portal.
-
In the upper right corner, click Nimbix, and then click
Account.
The Account page displays the SSH keys uploaded into your account.
Figure 19. List of Uploaded SSH Keys in a Nimbix Account (Empty)
-
Under SSH Keys, click
Edit, and then click Add.
Figure 20. Add New SSH Public Key
- In the Paste New Public Key or Add From File dialog box, click Load From File.
-
Upload your public key file with .pub extension. Click Add.
This action redirects you to the Account page.
- Click Save.