Installation & Setup
The installation of Shardian solvers is fully automated through a console-based interactive installer compatible with Linux, WSL (Windows Subsystem for Linux), and HPC clusters.
System Prerequisites
Before running the installer, ensure that the following commands are available on your system:
* curl (required for package downloads).
* singularity or apptainer (required if installing Shardian Atmos).
* An active OpenFOAM environment (recommended versions: v2406, v2312, or v2412 if installing Shardian Aero).
1. Obtain your License Key
To download packages and run simulations, you need an active API Key (license key).
* Evaluation and demo keys have the format: sk_live_shardian_cfd_atmos_2026_eval.
* Production keys have the format: sk_live_shardian_aero_prod_XXXXXX or sk_live_shardian_atmos_prod_XXXXXX.
Save this key, as the installer will request it during setup.
2. Execute the Installer
Run the following command in your terminal to start the interactive installer:
Installation Steps:
- License Verification: Enter your API key when prompted. The installer will securely validate the key against
api.shardian.com/v1/verifyover HTTPS. - Product Selection:
- Enter
1to install Shardian Aero (libShardianAero.so). - Enter
2to install Shardian Atmos (shardian_atmos.sif). - Enter
3to install Both.
- Enter
- Secure Download: The script downloads the corresponding pre-compiled binary and places it in your system:
- Aero: Installed in
/usr/local/lib/(or~/.shardian/lib/if you lack root write privileges). - Atmos: Installed in
/usr/local/bin/(or~/bin/), creating a global command wrappershardian_atmos.
- Aero: Installed in
- Environment Configuration: The installer modifies your
~/.bashrcautomatically to inject these environment variables:
3. Verify the Installation
After the installer finishes, restart your shell or run:
Verify that the environment variables are active:
You can manually test connectivity to the licensing server using curl:
You should receive a successful verification response: