Skip to content

Commit fa7f079

Browse files
committed
Updated basics
1 parent 0672f11 commit fa7f079

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

content/basics/basics.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ to use Python venv or virtualenv and install with pip.
6666
pip install numpy matplotlib pyyaml pandas pyqt6==6.4.2 pyqt6-qt6==6.4.2 vtk
6767
cd ASD_GUI
6868
pip install .
69-
ml PDC/21.11
7069
7170
UppASD can be run on nodes allocated for interactive use, or as batch jobs.
7271
To request 4 cores on the shared partition of Dardel for one hour, use the command
@@ -192,7 +191,26 @@ In this first exercise you will build UppASD, run a first simulation, and visual
192191

193192
* Run a simulation for the two-dimensional system in ``examples/SimpleSystems/fcc001``.
194193

195-
* Inspect the spin configuration for ``fcc001`` with the GUI. Work with either the *restart* file or the *moments* file.
194+
.. code-block:: bash
195+
196+
# Work on own computer or in interactive session on a supercomputer
197+
198+
# Go to the fcc directory
199+
cd examples/SimpleSystems/fcc001
200+
201+
# Set number of OpenMP threads.
202+
export OMP_NUM_THREADS=8 # value depending on hardware and on use case
203+
204+
# Launch the calculation with the sd executable. From the fcc001 directory
205+
# the relative path is
206+
../../../bin/sd
207+
208+
* Inspect the spin configuration for ``fcc001`` with the GUI. Work with either the *restart.MLfcc001.out* file or the *moments.MLfcc001.out* file.
209+
210+
.. code-block:: bash
211+
212+
# Start the GUI by typing
213+
asd_gui
196214
197215
Exercise 2: Phase diagram for bcc Fe
198216
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)