Documentation

Docs / Scripting API

Command line#

The installer puts te10 on your PATH. te10 <command> --help prints every option.

Projects and scripts#

Command Does
te10 Opens the app
te10 model.te10 Opens the app with a project
te10 run script.py [args...] Runs a Python script that uses te10_studio.api; args go to sys.argv
te10 version The version

te10 solve#

te10 solve model.te10 [--setup S1] [--backend local|<cluster>|here|skypilot] [--cores N]
                      [--no-wait] [--poll SECONDS] [--touchstone out.s2p] [--save]
Option
--setup The setup to solve (default: the active one)
--backend local (default), a cluster name, here (on this cluster's login node), or skypilot (AWS)
--cores Solver processes
--no-wait Submit and exit; check with te10 jobs
--poll Seconds between status checks while waiting (default 10)
--touchstone Write the S-parameters to this file
--save Save the project afterwards (remembers the job)
te10 solve filter.te10 --cores 8 --touchstone filter.s2p
te10 solve filter.te10 --backend mycluster --no-wait --save

te10 jobs#

te10 jobs model.te10 [--refresh] [--logs JOB [--lines N]] [--cancel JOB] [--fetch JOB]

Lists the project's jobs (from scripts and the app). --refresh asks each cluster or cloud machine for the job's state and says why a job waits. JOB is a job's name, scheduler id or key.

te10 cluster#

Command
te10 cluster add user@host [--name N] [--partition P] [--account A] [--scratch DIR] [--solver te10\|te10-image\|site] [--key FILE] [--jump HOST] [--key-login] [--no-test] Finds everything, runs the test solve, saves
te10 cluster add USER --from file.te10cluster Adds a shared cluster for your user name
te10 cluster list (or te10 profiles) The clusters you added
te10 cluster show NAME One cluster's settings
te10 cluster test NAME [--two-nodes] The test solve again
te10 cluster refresh NAME Reads the queues and limits again
te10 cluster export NAME --to file.te10cluster Writes a shareable file (nothing personal in it)
te10 cluster shared Files in the shared folder (TE10_CLUSTER_PROFILES)
te10 cluster remove NAME

te10 cloud#

Command
te10 cloud connect [--region R] Stores an AWS access key for TE10 (asked here; the secret isn't shown)
te10 cloud status Whether the key works, the account's limits and credits
te10 cloud leftovers [--delete] TE10 machines still running (they cost money); --delete deletes them

te10 account#

Command
te10 account / te10 account status The license and this computer's seat
te10 account activate KEY Enters the license key and takes a seat
te10 account refresh Checks the license online now
te10 account release Frees this computer's seat
te10 account remove Removes the key from this computer

te10 solver#

The local solver. On Windows it lives in TE10's own WSL distribution.

Command
te10 solver status [--check] Where the solver is and its version; --check starts it once
te10 solver setup [--install-wsl] [--force] Windows: installs or updates the WSL solver; --install-wsl also switches WSL on (asks for administrator rights, then a restart)
te10 solver test A small test solve
te10 solver remove Removes TE10's WSL solver