Install and Ten-Minute Quickstart¶
简体中文 · Previous: Introduction · Next: Interface and settings
This chapter opens a bundled project without network access, then shows where to connect an
Engine. The Studio 1.1 release record covers native packages for macOS arm64, Linux x86_64, and
Windows x86_64; actual downloads depend on the release channel. Before opening an artifact,
verify it against dist/SHA256SUMS from the same release. A matching checksum proves byte
identity, not code-signing, notarization, or site-policy approval.
1. Install a release package or build Studio¶
Studio 1.1 has the following native output formats; packages are built on their target OS rather than cross-compiled:
| Platform | Release outputs |
|---|---|
| macOS arm64 | ZIP; a publisher may also produce a DMG |
| Linux x86_64 | tar.gz, DEB, AppImage |
| Windows x86_64 | Portable ZIP, MSI, NSIS installer |
If the release channel does not provide an artifact for the current platform, build from source. On macOS or Linux:
The driver checks the compiler, CMake, Ninja, Qt 6, and Protobuf, runs tests, and performs an
offline smoke launch. Automatic installation on macOS requires Homebrew. Linux supports common
apt-get, dnf, pacman, and zypper systems.
On Windows x64, from PowerShell:
To check the environment before building:
See CLI and build reference for dependencies and variants. Building Studio does not install or start the Engine.
2. Start with an explicit offline policy and open a sample¶
macOS:
./build/dev/vm-accelerator-studio.app/Contents/MacOS/vm-accelerator-studio \
--offline --language en \
protocol/v0_1/fixtures/minimum-electron-ring.canonical.studio-project.json
Linux:
./build/dev/vm-accelerator-studio --offline --language en \
protocol/v0_1/fixtures/minimum-electron-ring.canonical.studio-project.json
Windows:
.\build\windows-msvc-debug\vm-accelerator-studio.exe --offline --language en `
protocol\v0_1\fixtures\minimum-electron-ring.canonical.studio-project.json
The sample has 86 ordered occurrences. Normal startup is already network-idle: Studio does not
authenticate, recover pending work, or reconcile remote registries at launch. --offline records
the explicit offline intent for this review. Do not invoke a later Test, calculation, Reconnect,
Recover, or remote-refresh action if the whole session must remain network-free.
3. Complete your first review¶
- Open Design → Lattice and inspect the dimensioned line and sequence table.
- Select a Quadrupole and inspect its complete SI parameter table in Properties. Length and
k1are visible together and changed cells are applied as one revision. - Zoom with the mouse wheel; use Fit to restore the full line.
- Open Lattice Geometry. It reconstructs the 2D reference path from lengths and bend angles, reports any closure gap, and is explicitly not surveyed tunnel geometry.
- Select two adjacent occurrences and try Define Cell. A Cell is a Studio organization feature; Engine still receives the fully expanded sequence.
- Use Undo to revert the change.
- Use Save As to create
my-first-ring.vmaproj. Saving an imported JSON never overwrites the source JSON.
4. Create a project and understand “saveable but not ready”¶
Choose Project → New and enter:
| Field | Example |
|---|---|
| Project name | My 3 GeV ring |
| Stable project ID | my-3gev-ring |
| Electron reference energy | 3 GeV total |
The project contains only a START marker. RF is off and beam, aperture, momentum acceptance, and
a closed lattice are absent. This is intentional. Save the .vmaproj, then build the line with
Add Element. Canonical Engine JSON, optics, and tracking become available only when the current
draft passes the structure and closure gates.
5. Run a first remote calculation¶
Ask the Engine operator for an SSH alias and Engine executable path, then:
- Open Settings → Execution targets.
- Add a target such as
Accepted Engine, hostubuntu-big, executable/opt/vm-accelerator/bin/vm-accelerator-engine, and keep the recommended managed-tunnel mode. - Reopen the bundled v0.1 sample and choose Calculate → Evaluate Optics. Studio first opens Choose computation source; merely opening or cancelling it performs no network work.
- Select
Accepted Engineand accept Check source. Only now does Studio inspect the SSH route, request any password, host-key confirmation, or Authenticator code in an in-application dialog, establish the private tunnel, and check Engine readiness. No terminal command is required. - After the checks and route-specific validation succeed, Studio starts the calculation. Inspect
Qx/Qy, chromaticity, beta/dispersion, Qualification, and revision identity.
Test SSH, Connect, and Test Engine remain available in Settings as separate explicit diagnostics; they are not required at startup and are not started by selecting a target.
For the equilibrium-to-local-acceptance chain, open:
Then use Calculate → Screening Study and follow the equilibrium chain guide. Bundled fixtures are learning and regression material, not buildable machine designs.
Where to go next¶
- Designing a lattice: Projects, lattices, and revisions.
- Disabled buttons: Physics inputs and Troubleshooting.
- v0.8–v0.18 specialized routes: read the exact Engine capability boundaries first.