# Quickstart Use Quickstart to check the installation, run one {term}`project`, and inspect the returned result. ## Prerequisites Complete [Installation](installation.md) before you start. The companion [Quickstart Tutorial](tutorials/quickstart.md) supplies `mie2D.jcmp` and its {term}`project support files `: `layout.jcm`, `materials.jcm`, and `sources.jcm`. Run the files together from the tutorial root. ## Inspect The Installation Call {func}`info ` to inspect the JCMsuite installation and runtime details: ```python import jcmsuite jcmsuite.info() ``` ## Run A Project Pass a project path to {func}`solve `. By default, the call waits for the solve to finish and returns a {class}`SolveResult `. A {class}`SolveResult ` contains metadata and result data from the project: ```python import jcmsuite result = jcmsuite.solve("mie2D.jcmp") ``` ## Inspect The Result The result can include {attr}`costs `, {attr}`eigenvalues `, and {attr}`postprocesses `. A postprocess is result data declared by the project. Available properties depend on the project. For example, a scattering project does not populate {attr}`eigenvalues `. The supplied `mie2D.jcmp` project declares an energy-flux postprocess first. Select this postprocess through {attr}`result.postprocesses[0] ` before you inspect its data. Use {meth}`to_dict() ` to convert it to a dictionary: ```python postprocess = result.postprocesses[0] print(postprocess.to_dict()) ``` The quickstart succeeds when the solve completes and the command prints a dictionary for the `ElectromagneticFieldEnergyFlux` postprocess. The exact numerical values depend on the JCMsuite version and runtime settings. ## Troubleshoot The Quickstart - If `jcmsuite` cannot find JCMsuite, verify the configured installation path or `JCMROOT`. See [Installation](installation.md). - If the solve reports a license error, verify that the JCMsuite license is available to the process. Then run the command again. - If a project or project support file is missing, run the [Quickstart Tutorial](tutorials/quickstart.md) with its supplied files from the tutorial root. - If no postprocess is available, inspect {meth}`titles() ` on `result.postprocesses`. Then verify that the project contains the expected `PostProcess` declaration. The available export methods depend on the result data type. Continue to [Working With Results](results/index.md) for costs, eigenvalues, postprocesses, field exports, and export formats. ## Getting Started The Getting Started pages use one Mie-scattering project. The pages introduce fixed project inputs, {term}`project keys`, templates, scans, parallel execution, and persistent results. Run each example from the documentation tutorial root with the command on the page. ```{toctree} :maxdepth: 1 :titlesonly: getting_started/project_setup getting_started/keyword_substitution getting_started/parameter_scan getting_started/code_snippets getting_started/loops getting_started/parallel_parameter_scan getting_started/persistent_parameter_scan ``` See the complete [runnable Quickstart example](tutorials/quickstart.md) for the supplied project, project support files, and one runnable command. ## Next Steps - Run repeated project inputs with [Batched Solves](core/solve/batched.md). - Read detailed explanations on [Working With Results](results/index.md). - Store and reuse results with {class}`Resultbag ` in [the Resultbag guide](resultbag/index.md). - Select a runtime and execution backend with [Runtime and Execution](runtime/index.md).