Installation#
Preferred Method#
Under the
architecture/directory, create or modify an architecture file by following an existing example.
In the top-level directory (
MuST/), run:
make <architecture-file-name>
make install
Example:
make linux-intel-nogpu
make install
Note
make clean: Removes object, library, and executable files underlsmsandMST.make distclean: Removes object, library, executable, andarchitecture.hfiles underlsmsandMST, and also deletes executables underbin/.
—
Alternative Method#
The MST (under MST/) and LSMS/WL-LSMS (under lsms/) components
can be built separately.
Executables will be located under MST/bin and lsms/bin, respectively.
This method requires creating a symbolic link to architecture.h.
Build MST:
Change directory:
cd MST
Set
SystemNamein theMakefile(line 6), or create a symbolic link:ln -s arch/<architecture_file> architecture.h
Compile:
make
Build LSMS / WL-LSMS:
Change directory:
cd lsms
Create symbolic link:
ln -s arch/<architecture_file> architecture.h
Compile:
make
—
Notes for Fedora Systems#
MST may require the External Data Representation (XDR) library to store
potential and charge density data.
On newer Fedora systems, this library may not be located in standard paths. Ensure the following directories exist:
/usr/include/tirpc/usr/include/tirpc/rpc
If they are missing, ask your system administrator to install the required packages, or run the following command (with administrative privileges):
sudo dnf install libtirpc libtirpc-devel