Skip to content

Commit 04c1486

Browse files
committed
Merge branch 'inf-010' into development
Conflicts: jobs/provision_virtualmicromagnetics_full.yml jobs/provision_virtualmicromagnetics_lite.yml
2 parents 8660c31 + 475a2f6 commit 04c1486

File tree

22 files changed

+157
-82
lines changed

22 files changed

+157
-82
lines changed

jobs/provision_virtualmicromagnetics_full.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@
4242
roles:
4343
- other_dependencies
4444
- oommf
45+
- oommf_examples
4546
- magpar
47+
- magpar_examples
4648
- nmag
49+
- nmag_examples
4750
- fidimag
48-
- magpar_oommf_nmag_examples
4951
- xserver
5052
- { role: add_super_user, AUTOLOGIN: true }
5153
- { role: set_hostname, HOSTNAME: virtualmicromagnetics-full }

jobs/provision_virtualmicromagnetics_lite.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@
4040

4141
roles:
4242
- oommf
43+
- oommf_examples
4344
- magpar
45+
- magpar_examples
4446
- nmag
47+
- nmag_examples
4548
- fidimag
46-
- magpar_oommf_nmag_examples
4749
- xserver
4850
- { role: add_super_user, AUTOLOGIN: true }
4951
- { role: set_hostname, HOSTNAME: virtualmicromagnetics-lite }
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
dependencies:
3+
- { role: docutils }
4+
- { role: magpar }

roles/magpar_oommf_nmag_examples/tasks/build_documentation.yml renamed to roles/magpar_examples/tasks/build_documentation.yml

File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
# This Ansible role prepares Magpar examples and places some documentation on
3+
# the Desktop.
4+
5+
- include: magpar_examples.yml
6+
- include: build_documentation.yml
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Magpar Examples
2+
---------------
3+
4+
Examples of magpar are available in a seperate tarball to the one used for
5+
installing magpar itself. The examples are already prepared on this virtual
6+
machine (albeit slightly modified), but can be found at::
7+
8+
~/magpar-0_9_ex.tar.gz
9+
10+
To run one of these examples, simply navigate to the directory containing the
11+
example and execute the run command using bash, like so::
12+
13+
cd ~/magpar-examples/sphere_demag/
14+
bash run
15+
16+
This script will produce some output files visible in the directory.

roles/magpar_oommf_nmag_examples/vars/main.yml renamed to roles/magpar_examples/vars/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ MAGPAR_EXAMPLES_URL: http://www.magpar.net/static/magpar/download/{{ MAGPAR_EXAM
77
# Examples location
88
EXAMPLES_FOLDER: /etc/skel
99
MAGPAR_EXAMPLES_FOLDER: "{{ EXAMPLES_FOLDER }}/magpar-0.9/magpar-examples"
10-
OOMMF_EXAMPLES_FOLDER: "{{ EXAMPLES_FOLDER }}/oommf-oxs-examples"
11-
NMAG_EXAMPLES_FOLDER: "{{ EXAMPLES_FOLDER }}/nmag-examples"
1210

1311
# Name of the RST template to generate HTML examples from.
14-
EXAMPLES_RST_FILE: magpar_oommf_nmag_examples.rst
12+
EXAMPLES_RST_FILE: magpar_examples.rst
1513

1614
# Location to place the HTML documentation.
1715
EXAMPLES_DOC_FOLDER: "{{ EXAMPLES_FOLDER }}/Desktop"

roles/magpar_oommf_nmag_examples/tasks/main.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

roles/magpar_oommf_nmag_examples/templates/magpar_oommf_nmag_examples.rst

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)