Start here¶
Use this page to choose which independently installed products your workflow needs:
vibe-qc is the calculation engine. It has a compiled C++ core and needs the native build prerequisites described in Installation.
vibe-view reads
.qvfcalculation archives. It can be installed by itself and does not need the vibe-qc C++ core.vibe-queue schedules commands on compute hosts. Its CLI and import package are
vq; it can run other codes without installing vibe-qc.
Choose your route¶
I want to… |
Install |
First destination |
|---|---|---|
Run molecular or periodic calculations |
vibe-qc |
|
Open a |
vibe-view only |
|
Calculate and inspect results on one machine |
vibe-qc and vibe-view |
|
Learn molecular quantum chemistry |
vibe-qc |
|
Model crystals, slabs, or wires |
vibe-qc |
|
Read results over SSH without graphics |
vibe-view core or TUI |
|
Submit and monitor remote work |
|
Each product currently requires access to its own private GitLab project. If you do not already have access, follow Request repository access. A downloaded vibe-view wheel can be installed without cloning the repository.
Install the calculation engine¶
The recommended installer owns the entire bootstrap: it checks the host,
builds the pinned native libraries, creates .venv, installs the Python
package, and prints a verification banner.
git clone https://gitlab.peintinger.com/mpei/vibe-qc.git
cd vibe-qc
./scripts/install.sh --dev
The example above selects development main. The flag-free installer targets
release, the stable core snapshot advanced from a tag on main. Use
--dev for ongoing development. Each companion has its own releases; a core
tag does not update the viewer or queue. All four repositories currently
require private access.
The first native build normally takes 15 to 40 minutes. Later runs reuse the finished dependency trees. Choose a different source line explicitly when needed:
./scripts/install.sh --current # retain this checkout revision
./scripts/install.sh --dev # rolling main development branch
./scripts/install.sh --branch <tag-or-branch>
Do not reuse .venv from another checkout. An editable installation records
the checkout and native-library paths it was built against.
Verify the engine¶
Run the interpreter from the environment you just created:
.venv/bin/python -c "from vibeqc import print_banner; print_banner()"
.venv/bin/python -c "import vibeqc; print(vibeqc.__file__)"
The first command should print the vibe-qc version and the linked libint, libxc, spglib, libecpint, FFTW, and BLAS versions. The second path should point into this checkout. If it points elsewhere, stop and repair the environment before running calculations.
The complete platform package lists, manual build, BLAS choices, cluster notes, and failure messages live in Installation.
Install only the viewer¶
The companion’s installation guide and quickstart cover its current release, optional profiles, and first rendered molecule.
vibe-view needs no local compiler or native build. Its Python package installs compiled VTK as a prebuilt wheel; CMake, libint, and the vibe-qc engine are not required.
Release downloads¶
Get viewer artifacts from the vibe-view releases. The wheel retained under this documentation site’s downloads is a legacy monorepo artifact, not a verified current companion release. Use the source route below until the companion release provides a suitable artifact.
From a source checkout¶
git clone https://gitlab.peintinger.com/mpei/vibe-view.git
cd vibe-view
./scripts/install.sh
source .venv/bin/activate
vibe-view --version
Add --with-electron to download the reviewed Electron runtime during
installation instead of at first desktop launch. The standalone viewer
installer does not build or install vibe-qc.
Install both¶
Two environments are the easiest arrangement to understand and update:
<vibe-qc-checkout>/.venv/ calculation engine
<vibe-view-checkout>/.venv/ viewer (separate repository)
Install each with its own script, then activate the one needed for the
current command. The .qvf file is the interface between them, so the two
processes do not need to share a Python environment.
If one combined environment is important, activate the vibe-qc environment and install the local viewer package into it:
source .venv/bin/activate
python -m pip install -e '../vibe-view[viewer,tui]'
vibe-view --version
python -c "import vibeqc; print('vibe-qc import: ok')"
This example assumes independent vibe-qc and vibe-view clones next to
each other and is run from vibe-qc. Use the actual viewer checkout path if
you chose another layout. There is no viewer source directory in vibe-qc;
viewer-gpu alone cannot obtain the private companion from PyPI.
Run the first calculation¶
Keep calculations outside the source checkout. This separates source files
from output archives and makes git status meaningful.
mkdir -p ~/vibeqc-runs/water
cd ~/vibeqc-runs/water
Save this as water.py:
from vibeqc import Atom, Molecule, run_job
mol = Molecule([
Atom(8, [0.0, 0.00, 0.00]),
Atom(1, [0.0, 1.43, -0.98]),
Atom(1, [0.0, -1.43, -0.98]),
])
result = run_job(
mol,
basis="6-31g*",
method="rhf",
output="water",
output_qvf=True,
)
print(f"converged = {result.converged}")
print(f"energy = {result.energy:.10f} Ha")
Run it with the engine environment’s interpreter:
<vibe-qc-checkout>/.venv/bin/python water.py
Check three things before moving on:
converged = Trueappears.water.outcontains the version banner, SCF trace, and final energy.water.qvfexists and passesvibe-view info water.qvfwhen the viewer is installed.
Then follow Quickstart for open-shell, periodic, and orbital examples, or Planning a calculation before choosing a production method and basis.
A result is ready to use when¶
Installation success and scientific success are different checks. Before using a number in a report or paper, verify:
the SCF and any post-SCF method converged;
the charge, multiplicity, geometry units, basis, and method are the ones intended;
the basis and numerical grid are converged for the quantity being compared;
the memory estimate fits the actual job allocation;
the
.system,.references, and.bibtexprovenance files are retained;energy differences compare like with like, including dispersion, solvation, frozen-core, smearing, and reference-state choices.
Good practices turns this checklist into a repeatable working convention. Troubleshooting starts from the exact error or numerical symptom when a check fails.
Where to go next¶
Goal |
Continue with |
|---|---|
Learn what the first script does |
|
Choose a method, basis, and resource budget |
|
Browse runnable inputs by task |
|
Understand every output file |
|
Explore a QVF visually |
|
Use the API as a reference |
User guide and API |