|
2 Dimensional Ising Model
Simulate the change in energy and magnetization in a ferro magnet
|
Compiling is as easy as running this command while being inside the src directory:
To run main or test_suite, just run this command while being inside src:
Before running the scripts, make sure that all libraries are installed. Using pip, you can install all requirements like this:
This recursively install all the packages that are listed in requirements.txt.
For the Python scripts, run them from the src directory like this:
If you have any problems running the scripts, you might have to run this instead:
For the phase_transition_mpi program, there are scripts in the src/jobs directory that come along with it. This is to be able to run it on a batch system using Slurm if you have access to one. This is the recommended way to use this program as it takes approximately 90 minutes to complete when using 8 processes where each process has 10 threads.
If you happen to have such a system available to you, then you should clone this repo on that system, then compile it by running:
You might have to load the Armadillo library using the module system before compiling.
After compiling, you can schedule it by running:
This section aims to give an idea to the time it takes for the program to run so that you know a bit what to expect if you decide to run it for yourself.
The times mentioned here are times achieved on a computer with these specifications:
The Doxygen theme used here is doxygen-awesome-css.