Skip to content

Commit

Permalink
Merge pull request #1 from UppASD/manual2
Browse files Browse the repository at this point in the history
corrected paths in tutorial
  • Loading branch information
arkslobodkins authored Jan 30, 2024
2 parents d71a42e + 490ee82 commit 2be3ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ In this walkthrough we will use Monte Carlo simulations to determine the magneti
For this step-by-step walkthrough, we will use the input files for Fe as example that is found in the example directory.
First of all, standing in the root directory, navigate to the input files of Fe::

cd examples/Fe
cd examples/SimpleSystems/bccFe

The program works in such a way that we need to repeat simulations for different temperatures. For the purpose, it is recommended to use a script that does simplify a lot of things but first we need to prepare the input files for that. We will create a "Base" directory where the raw input files are stored::

mkdir Base ; mv * Base/

Next, we need to copy two run-scripts (``runme.sh`` and ``printM.sh``) that will run a set of simulations at different temperatures from the scripts-directory::

cp ../scripts/runme.sh . ; cp ../scripts/printM.sh .
cp ../../scripts/runme.sh . ; cp ../../scripts/printM.sh .

Before starting the run-scripts, the inpsd.dat file needs to be prepared in such a way that the temperature in both initial and measurement phase are set to *TEMP*. Using any editor of choice, change temperature from *300* to *TEMP* of lines 25 and 28. With that, everything is prepared to run the simulations using the run-script::

Expand Down

0 comments on commit 2be3ec9

Please sign in to comment.