mrh is research code of Matthew R. Hermes intended to work with PySCF (ac Chemistry simulation framework).
Description of installation uses pip the use of which is strongly discouraged on Archlinux.
Here is a short setup to build the requires packages for Archlinux recommended installation method: pacman.
The following instructions allow to build ans install the packages in the proper order. Note that this procedure has to be redone each time python is upgraded to a newer major version (e.g. 3.13 to 3.14...)
cd split
cd python-pyscf
makepkg -si -con success:
cd python-pyscf-forge
makepkg -si -con success:
cd python-mrh
makepkg -si -c!!! They must be built in this specific order. !!!
pyscf and pyscf-forge are specifically tagged to work with the version of mrh. In case of any change:
- verify the tags of the pyscf and pyscf-forge to be cloned from github and change the "
_commit" values accordingly in the respectivePKGBUILDfiles. - build pyscf
- change the "
depends=(...." inpython-pyscf-forge/PKGBUILDto match the new package version number - build pyscf-forge
- change the "
depends=(...." inpython-mrh/PKGBUILDto match the new packages version number
To test proper installation, run:
python test_imports.py
python c2h4n4_rdm.py I'm not a computational chemist, so don't blame mer if the results are wrong.
Good luck
In case of any failure ask a guru :-)