5. Projects & the workspace
Everything LatticeMind does lives in a project — a self-contained folder holding the inputs it generated, the results it produced, the plots and report, and a complete log of what happened. Projects are portable and reproducible: you can archive one, share it, or resume it later.
5.1. Where projects are stored
By default, projects are created under a latticemind_outputs/ folder in your
current working directory, each in its own timestamped subfolder. Override the
root with:
export LATTICEMIND_ARTIFACTS_DIR=/path/to/outputs
On shared machines, HPC, and cloud, set this to persistent storage so projects survive restarts.
5.2. Managed vs. attached projects
Mode |
Behaviour |
|---|---|
Managed |
LatticeMind creates a new project folder under |
Attached |
LatticeMind works in place inside a folder you choose. Use
|
Use /workspace to inspect a folder before deciding, and /whereami to see
which project is active.
5.3. Anatomy of a project folder
A completed RESCU project typically contains:
my_project/
├── inputs/ # generated solver input decks
│ ├── scf_main.input
│ ├── dos_main.input
│ └── bs_main.input
├── results/ # solver output
│ ├── scf_main.mat # raw results (.mat / .h5)
│ ├── figures/ # band structure & DOS plots (.png)
│ └── analysis_summary.json # extracted quantities (band gap, …)
├── scripts/ # generated structure & post-processing helpers
├── report.html # the human-readable report
└── (status & log files) # bookkeeping LatticeMind manages for you
File / folder |
What it is for |
|---|---|
|
The solver input decks LatticeMind generated. These are exactly what is executed. |
|
Raw solver output ( |
|
Generated structure-building and post-processing helper scripts. |
|
The readable summary of the project: what was run, key results, and
figures. (Set |
status & log files |
LatticeMind also keeps a set of status, event-log, and diagnostics files in the project so it can resume, track progress, and self-heal. You do not need to open or edit these. |
5.4. Resuming and organizing work
/resume last # continue the most recent project
/title "Si phonons" # give the active project a readable display title
/whereami # show active project, backend, execution, next action
Because a project is just a folder, you can copy it to another machine and resume it there — the generated inputs and (for NanoDCAL) the basis files travel with the project.
Note
LatticeMind preserves input_filename and info.savepath when you
continue an interrupted calculation, so a restart reuses the same inputs and
result paths. If you change an input, downstream steps are marked stale and
recomputed.