NanoMagMC  v0.2
Monte Carlo Simulation Software for Atomistic Models of Magnetic Materials
NanoMagMC: Monte Carlo Simulation Software for Atomistic Models of Nano-Scale Magnetic Materials

Requirements

Compiling the Code

There is a makefile in the root folder. Typing "make" will correctly compile the code. CC can be set within this makefile or with environment variables.

Running the Code and the Input File

After compilation an executable file will be placed in the root folder named "run". This can be executed by typing "./run INPUT_FILE" where "INPUT_FILE" is the name of the input file which takes a number of arguments. An example input file is provided called "INPUT.dat".

To run in parallel, run with "mpirun -n N ./run INPUT_FILE", where N is the number of processors to run with.

Compulsory Settings

Optional/Situational Settings

Viewing the Output

The output file will be placed in the "Output" folder as ".h5" binary file. This can be viewed using HDFView or the data extracted and manipulated using packages such as Python's h5py.