Installation¶
Package¶
External binaries¶
microsolvator requires CREST and xTB. Use the built-in installers or provide your own paths.
Binaries are stored in microsolvator/_bin/ and resolved automatically.
Binary resolution order¶
For both CREST and xTB, the resolver checks in this order:
- Explicit path in
MicrosolvatorConfig CREST_BIN/XTB_BINenvironment variablesmicrosolvator/_bin/(installed viainstall_crest/install_xtb)- System
PATH
Workflow dependencies¶
The microsolvator.workflow subpackage additionally requires:
- Packmol — for box solvation (Step 2)
- An ASE calculator — for MD equilibration and relaxation (Steps 3–4)
apt-get update && apt-get install -y build-essential gfortran cmake
wget https://github.com/m3g/packmol/archive/refs/tags/v20.15.3.tar.gz
tar -xzf v20.15.3.tar.gz
cd packmol-20.15.3
./configure
make
cd ..
chmod +x ./packmol-20.15.3/packmol
rm -rf ./v20.15.3.tar.gz
Then either add the directory to PATH or pass the absolute path:
ASE calculator (for MD equilibration and relaxation, Steps 3–4):
Packmol is resolved from PackmolConfig.packmol_executable or system PATH.