You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/laptops-and-desktops/dgx_spark_isaac_robotics/2_isaac_installation.md
+56-29Lines changed: 56 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,19 @@ layout: learningpathall
8
8
9
9
## Set up your development environment
10
10
11
-
Before running robotic simulations and reinforcement learning tasks, you need to build Isaac Sim and Isaac Lab from source on your DGX Spark system. This section walks you through verifying your system, installing dependencies, building Isaac Sim, and then setting up Isaac Lab on top of it.
11
+
Before running robotic simulations and reinforcement learning workloads, you need to prepare your DGX Spark development environment and install the dependencies required for Isaac Sim and Isaac Lab.
12
12
13
-
The build process takes approximately 15-20 minutes on the Grace CPU and requires around 50 GB of available disk space.
13
+
In this section you will:
14
+
* Verify the DGX Spark system configuration
15
+
* Install required build dependencies
16
+
* Build and configure Isaac Sim
17
+
* Set up Isaac Lab on top of the Isaac Sim environment
18
+
19
+
The full setup typically takes 15–20 minutes on a DGX Spark system and requires approximately 50 GB of available disk space.
14
20
15
21
## Step 1: Verify your system
16
22
17
-
Start by confirming that your DGX Spark system has the required hardware and software configuration.
23
+
Begin by confirming that the DGX Spark system has the expected hardware and software configuration.
18
24
19
25
Check the CPU architecture:
20
26
@@ -31,8 +37,9 @@ Architecture: aarch64
31
37
CPU(s): 20
32
38
On-line CPU(s) list: 0-19
33
39
```
40
+
The Architecture field should report aarch64, indicating that the system is running on Arm.
34
41
35
-
Verify the Blackwell GPU is recognized:
42
+
Check that the Blackwell GPU is detected by the NVIDIA driver:
The GPU name should appear as NVIDIA GB10, confirming that the Grace–Blackwell GPU is available.
52
60
53
61
Confirm the CUDA toolkit is installed:
54
62
@@ -68,115 +76,135 @@ Isaac Sim requires GCC/G++ 11, Git LFS, and CUDA 13.0 or later. If any of these
68
76
69
77
## Step 2: Install GCC 11 and Git LFS
70
78
71
-
Isaac Sim requires GCC/G++ version 11 for compilation. Install it and set it as the default compiler:
79
+
Isaac Sim requires GCC/G++ version 11 when building components from source. Install the required compiler version and configure it as the system default.
80
+
Update the package index and install the GCC 11 toolchain:
Register GCC 11 as the default compiler using update-alternatives. This allows multiple compiler versions to coexist while prioritizing GCC 11 for builds:
Install Git LFS, which is needed to pull large binary assets from the Isaac Sim repository:
91
+
Next, install Git LFS (Large File Storage). Isaac Sim repositories use Git LFS to manage large binary assets such as models and simulation data.
80
92
81
93
```bash
82
94
sudo apt install -y git-lfs
83
95
```
84
96
85
-
Verify both installations:
97
+
After installation, verify that the compiler and Git LFS are available:
86
98
87
99
```bash
88
100
gcc --version
89
101
g++ --version
90
102
git lfs version
91
103
```
92
104
93
-
The GCC output should show version 11.x. Git LFS should report a version number confirming it is installed.
105
+
The gcc and g++ commands should report version 11.x, and git lfs version should display the installed Git LFS version.
94
106
95
107
## Step 3: Clone and build Isaac Sim
96
108
97
-
Clone the Isaac Sim repository from GitHub. The `--depth=1` flag creates a shallow clone to reduce download time, and `--recursive` fetches all submodules:
109
+
Next, download the Isaac Sim source repository and its required assets.
98
110
111
+
Start by cloning the repository. The --depth=1 option performs a shallow clone to reduce download size, and --recursive ensures all required submodules are fetched.
Isaac Sim stores large simulation assets (such as USD environments, textures, and prebuilt components) using Git Large File Storage (LFS). Initialize Git LFS and download the required assets:
118
+
```bash
103
119
git lfs install
104
120
git lfs pull
105
121
```
106
122
107
123
{{% notice Note %}}
108
-
The Git LFS pull downloads several gigabytes of simulation assets (USD files, textures, and pre-built libraries). Ensure you have a stable network connection.
124
+
The Git LFS download retrieves several gigabytes of simulation assets. Ensure you have a stable internet connection and sufficient disk space before running this step.
109
125
{{% /notice %}}
110
126
111
-
Build Isaac Sim by running the build script. This compiles the simulation engine and all its components:
127
+
Once the repository and assets are downloaded, build Isaac Sim using the provided build script:
112
128
113
129
```bash
114
130
./build.sh
115
131
```
132
+
By default, the build uses all available CPU cores on the Grace processor. On DGX Spark, compilation typically takes 10-15 minutes.
116
133
117
-
The build uses all available CPU cores on the Grace processor. On DGX Spark, compilation typically takes 10-15 minutes.
118
-
119
-
When the build succeeds, you will see output similar to:
134
+
When the build finishes successfully, you will see output similar to:
120
135
121
136
```output
122
137
BUILD (RELEASE) SUCCEEDED (Took 674.39 seconds)
123
138
```
124
139
125
140
## Step 4: Set Isaac Sim environment variables
126
141
127
-
After the build completes, configure your shell to recognize the Isaac Sim installation. Run the following commands from inside the `IsaacSim` directory:
142
+
After the build completes, configure environment variables so that your shell can locate the Isaac Sim binaries and Python runtime.
128
143
144
+
Navigate to the IsaacSim directory if you are not already there, then export the following variables:
After this step, the variables will be available automatically whenever you open a new terminal.
166
+
149
167
{{% /notice %}}
150
168
151
169
## Step 5: Validate the Isaac Sim build
152
170
153
-
Launch Isaac Sim to verify the build was successful. The `LD_PRELOAD` setting resolves a library compatibility issue on aarch64:
171
+
Launch Isaac Sim to verify the build was successful. On some aarch64 systems, Isaac Sim may require preloading the GNU OpenMP runtime (libgomp) to avoid library compatibility issues. Setting the LD_PRELOAD environment variable ensures the correct library is loaded before Isaac Sim starts.
If the build is correct, Isaac Sim opens its viewer window (or starts in headless mode if no display is available). You should see initialization messages confirming that the Blackwell GPU is detected and the physics engine is ready.
179
+
If the installation is correct, Isaac Sim opens its viewer window (or starts in headless mode if no display is available). During startup, the console output should report initialization of the Blackwell GPU and the physics simulation engine.
180
+
181
+
Once you confirm that Isaac Sim starts successfully, stop the application by pressing:
182
+
`Ctrl + C`
161
183
162
-
Press `Ctrl+C` in the terminal to close Isaac Sim after verifying it starts successfully.
184
+
This returns you to the terminal and confirms that the build and runtime environment are functioning correctly.
163
185
164
186
## Step 6: Clone and install Isaac Lab
165
187
166
-
With Isaac Sim successfully built and validated, you can now set up Isaac Lab to enable RL training workflows. Clone the repository into your home directory:
188
+
After confirming that Isaac Sim runs correctly, you can install Isaac Lab, which provides the reinforcement learning environments and training pipelines used in this learning path.
189
+
Start by cloning the Isaac Lab repository into your home directory:
Isaac Lab expects to locate an Isaac Sim installation in a directory named `_isaac_sim` inside the repository. Instead of copying files, create a symbolic link pointing to the Isaac Sim build directory that you configured earlier.
173
197
174
-
Create a symbolic link so Isaac Lab can find your Isaac Sim installation:
198
+
First confirm that the ISAACSIM_PATH variable is set:
175
199
176
200
```bash
177
201
echo"ISAACSIM_PATH=$ISAACSIM_PATH"
202
+
```
203
+
Then create the symbolic link
204
+
```bash
178
205
ln -sfn "${ISAACSIM_PATH}""${PWD}/_isaac_sim"
179
206
```
207
+
This links the Isaac Lab repository to the Isaac Sim installation that was built in the previous steps.
180
208
181
209
Verify the symbolic link is correct:
182
210
@@ -186,7 +214,7 @@ ls -l "${PWD}/_isaac_sim/python.sh"
186
214
187
215
You should see the symlink pointing to your Isaac Sim build directory.
188
216
189
-
Install Isaac Lab and all its dependencies:
217
+
Next, install Isaac Lab and its Python dependencies:
190
218
191
219
```bash
192
220
./isaaclab.sh --install
@@ -196,14 +224,13 @@ This command installs the Isaac Lab Python packages, RL libraries (RSL-RL, rl_ga
196
224
197
225
## Step 7: Validate the Isaac Lab installation
198
226
199
-
Verify that Isaac Lab is installed correctly by listing the available RL environments:
227
+
Confirm that Isaac Lab is installed correctly by listing the available RL environments:
You should see a list of available environments, including entries such as:
233
+
If the installation is successful, the command prints a list of available environments. The output will include entries similar to:
207
234
208
235
```output
209
236
Isaac-Cartpole-v0
@@ -225,9 +252,9 @@ In this section you have:
225
252
226
253
- Verified your DGX Spark system has the required Grace CPU, Blackwell GPU, and CUDA 13 environment
227
254
- Installed GCC 11 and Git LFS as build prerequisites
228
-
- Cloned and built Isaac Sim from source, producing aarch64-optimized binaries for the Grace-Blackwell platform
255
+
- Cloned and built Isaac Sim, producing binaries for the aarch64 Grace–Blackwell platform
229
256
- Configured environment variables so Isaac Lab can locate the Isaac Sim installation
230
257
- Cloned and installed Isaac Lab with all RL library dependencies
231
258
- Validated both installations by launching Isaac Sim and listing available environments
232
259
233
-
Your development environment is now fully configured for robot simulation and RL workflows. In the next module, you will run your first robot simulation and begin interacting with Isaac Sim through Python scripts.
260
+
Your development environment is now fully configured for robot simulation and RL workflows. In the next section, you will run your first robot simulation and begin interacting with Isaac Sim through Python scripts.
0 commit comments