@@ -10,8 +10,8 @@ download and unpack a release
10
10
11
11
.. code-block :: bash
12
12
13
- wget https://github.com/UppASD/UppASD/archive/refs/tags/v6.0.1 .tar.gz
14
- tar xvzf v6.0.1 .tar.gz
13
+ wget https://github.com/UppASD/UppASD/archive/refs/tags/v6.0.2 .tar.gz
14
+ tar xvzf v6.0.2 .tar.gz
15
15
cd UppASD
16
16
17
17
or clone the git repository
@@ -36,34 +36,37 @@ UppASD on Dardel
36
36
UppASD is available on the HPE Cray EX supercomputer
37
37
`Dardel <https://www.pdc.kth.se/hpc-services/computing-systems/about-dardel-1.1053338 >`_
38
38
as a centrally installed software
39
- `UppASD <https://www .pdc.kth.se/software/software/UppASD/index_general.html >`_.
39
+ `UppASD <https://support .pdc.kth.se/doc/applications/uppasd/ >`_.
40
40
41
41
To build UppASD on Dardel with a Gnu toolchain and the Cray compiler wrappers
42
42
43
43
.. code-block :: bash
44
44
45
- ml PrgEnv-gnu/8.2.0
46
- make deps
47
- make gfortran-ftn
45
+ ml PrgEnv-gnu/8.6.0
46
+ ml cmake/4.0.1
47
+ mkdir buildGnu
48
+ cd buildGnu
49
+ cmake ..
50
+ make -j 8
48
51
49
- Run one of the testsuites, for instance *asd-tests *
52
+ Run one of the testsuites, for instance *test *
50
53
51
54
.. code-block :: bash
52
55
53
- make asd-tests
56
+ make test
54
57
55
- To set up a Python environment for the graphical user interface, the first step
56
- is to follow instructions on how to
57
- `load and activate Anaconda on Dardel. <https://www.pdc.kth.se/software/software/python/cpe21.11/3.8.8/index_using.html >`_.
58
- A conda environment can then be built with
58
+ To set up a Python environment for the graphical user interface, the preferred route is
59
+ to use Python venv or virtualenv and install with pip.
59
60
60
61
.. code-block :: bash
61
62
63
+ ml cray-python/3.11.7
64
+ python -m venv asd_gui_env
65
+ . asd_gui_env/bin/activate
66
+ pip install numpy matplotlib pyyaml pandas pyqt6==6.4.2 pyqt6-qt6==6.4.2 vtk
67
+ cd ASD_GUI
68
+ pip install .
62
69
ml PDC/21.11
63
- ml Anaconda3/2021.05
64
- source ~ /conda.init.sh
65
- conda create --name ASD_GUI_env python=3.6 vtk=8.1.0 numpy scipy matplotlib yaml pyyaml pandas jsoncpp=1.8.3 tbb=2020.2
66
- conda activate ASD_GUI_env
67
70
68
71
UppASD can be run on nodes allocated for interactive use, or as batch jobs.
69
72
To request 4 cores on the shared partition of Dardel for one hour, use the command
@@ -74,15 +77,6 @@ To request 4 cores on the shared partition of Dardel for one hour, use the comma
74
77
75
78
where ``project name `` needs to be replaced with the name of an active compute project.
76
79
77
- At the UppASD Autumn School 20222, reservations have been set up for dedicated nodes.
78
- To request 8 cores on the reserved nodes for one hour, use the command
79
-
80
- .. code-block :: bash
81
-
82
- salloc -n 8 -t 1:00:00 -p shared -A edu22.uppasd --reservation=uppasd-2022-10-11
83
-
84
- where in the name of the reservation, the date needs to be set to *today *.
85
-
86
80
A typical output will look like
87
81
88
82
.. code-block :: bash
@@ -103,9 +97,7 @@ you can use the template jobscript
103
97
104
98
.. code-block :: bash
105
99
106
- #! /bin/bash -l
107
- # The -l above is required to get the full environment with modules
108
-
100
+ #! /bin/bash
109
101
# SBATCH -A <project name> # Set the allocation to be charged for this job
110
102
# SBATCH -J myjob # The name of the script is myjob
111
103
# SBATCH -t 02:00:00 # 2 hours wall-clock time
@@ -135,25 +127,26 @@ To build UppASD on Tetralith with an Intel toolchain
135
127
136
128
.. code-block :: bash
137
129
138
- ml buildenv-intel/2018a-eb
139
- make deps
140
- make ifort
130
+ ml buildenv-intel/2023a-eb
131
+ mkdir buildGnu
132
+ cd buildGnu
133
+ cmake ..
134
+ make -j 8
141
135
142
- Run one of the testsuites, for instance *asd-tests *
136
+ Run one of the testsuites, for instance *test *
143
137
144
138
.. code-block :: bash
145
139
146
- make asd-tests
140
+ make test
147
141
148
142
To set up a Python environment for the graphical user interface
149
143
150
144
.. code-block :: bash
151
145
152
- ml Anaconda/2020.07-nsc1
153
- conda create --name ASD_GUI_env python=3.6 vtk=8.1.0 numpy scipy matplotlib yaml pyyaml pandas jsoncpp=1.8.3 tbb=2020.2
154
- conda activate ASD_GUI_env
155
- # Set the environment variable
156
- export MESA_GL_VERSION_OVERRIDE=3.3
146
+ ml Python/3.11.5-env-hpc1-gcc-2023b-eb
147
+ python -m venv asd_gui_env
148
+ . asd_gui_env/bin/activate
149
+ pip install asd_gui
157
150
158
151
UppASD can be run on nodes allocated for interactive use, or as batch jobs.
159
152
To request 1 node on Tetralith for 1 hour, use the command
0 commit comments