SCFChem 0.0.1
|
SCFChem is a C++ tool for calculating nuclear energy, force, and other properties of molecules using the Self-Consistent Field (SCF) method. This package is designed for use in quantum chemistry and computational materials science, and allows users to easily compute and analyze the electronic structure of molecules.
Clone the repository using the following command:
Navigate to the directory where you cloned the repository:
Compile the code using the provided makefile:
SCFChem requires the armadillo library to be installed on your system. Armadillo can be downloaded from https://arma.sourceforge.net/download.html. You should be able to find installation instructions there as well.
If your armadillo header and library files are installed in a location other than /usr/local/include
and /usr/local/lib
respectively be sure to set the environment variable LOCAL_PATHS
using one of the methods described below.
If you have direnv set up on your system you can set the environment variable by creating a .envrc file and adding the following line to it: LOCAL_PATHS="-I/path/to/armadillo/headers -L/path/to/armadillo/libraries"
and then running direnv allow. Alternatively the following line will also complete these steps for you echo LOCAL_PATHS="-I/path/to/armadillo/headers -L/path/to/armadillo/libraries"
.
Add export LOCAL_PATHS="-I/path/to/armadillo/headers -L/path/to/armadillo/libraries"
to the profile file for your shell of choice. For example, if you use zsh add the line to your ~/.zshrc
file.
Run export LOCAL_PATHS="-I/path/to/armadillo/headers -L/path/to/armadillo/libraries"
in the terminal prior to running make commands. note that the environment variable will only be set for that session and you will need to re run the command each time you start a new session.
path/to/armadillo/headers
and /path/to/armadillo/libraries
should be the parent directories where these items are stored. For example if your armadillo installation has the header files at /usr/share/include/armadillo
and /usr/share/include/armadillo_bits
and library files at /usr/share/lib/libarmadillo.dylib
then your LOCAL_PATHS
environment variable should be "-I/usr/share/include -L/usr/share/lib"
To use SCFChem, run the following command:
Where molecule
is a file (molecule.txt
) in the molecule_files
directory containing the input data for the calculation . The input data should include the atomic coordinates and other necessary information for the calculation. The output will be written to a file in the output
directory called molecule.out
. Some example molecules are already included in the molecule_files directory for convenience.
SCFChem was developed and is maintained by Anna Weber.
I hope this readme is helpful! Let me know if you have any questions or need further assistance.