File: runtime_lattice_mpi_dft_small.xmds

package info (click to toggle)
xmds2 3.0.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 52,068 kB
  • sloc: python: 63,652; javascript: 9,230; cpp: 3,929; ansic: 1,463; makefile: 121; sh: 54
file content (80 lines) | stat: -rw-r--r-- 2,960 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<simulation xmds-version="2">
<testing>
    <arguments>--latticesize_x 10 --latticesize_y 10</arguments>
    <command_line>mpirun -n 1 ./runtime_lattice_mpi_dft_small</command_line>
    <xsil_file name="runtime_lattice_mpi_dft_small_xspace1.xsil" expected="../mpi/mpi_dft_small_xspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
    <xsil_file name="runtime_lattice_mpi_dft_small_kspace.xsil"  expected="../mpi/mpi_dft_small_kspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
    <xsil_file name="runtime_lattice_mpi_dft_small_kspace2.xsil" expected="../mpi/mpi_dft_small_kspace2_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
    <xsil_file name="runtime_lattice_mpi_dft_small_xspace2.xsil" expected="../mpi/mpi_dft_small_xspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
  </testing>

  
  <name>runtime_lattice_mpi_dft_small</name>
  <author>Graham Dennis</author>
  <description>
    Test of the fourier transforms using MPI.
    
    Checking that when the number of processors is of the same order as the number of grid points that things don't go awry
  </description>
  
  <features>
    <benchmark />
    <bing />
    <fftw plan="patient" />
    <globals>
      <![CDATA[
      const real T = 10.0;
      const real mass = 1e-3;
      const real length = 1.0;
      const real mu = mass/length;
      
      const real width = 0.1;
      const real absorb = 80.0;
      ]]>
    </globals>
    <validation kind="run-time"/>
    <arguments>
      <argument name="latticesize_x" type="integer" default_value="50"/>
      <argument name="latticesize_y" type="integer" default_value="70"/>
    </arguments>
  </features>
  
  <geometry>
    <propagation_dimension> t </propagation_dimension>
    <transverse_dimensions>
      <dimension name="x" lattice="latticesize_x"  domain="(-1, 1)" />
      <dimension name="y" lattice="latticesize_y"  domain="(-1, 1)" />
    </transverse_dimensions>
  </geometry>
  
  <driver name="distributed-mpi" />
  
  <vector name="main" initial_basis="x y" type="complex">
    <components>
      u
    </components>
    <initialisation>
      <![CDATA[
        u = exp(-100.0*((x-0.5)*(x-0.5) + y*y));
      ]]>
    </initialisation>
  </vector>
  
  <sequence>
    <breakpoint filename="runtime_lattice_mpi_dft_small_xspace1.xsil">
      <dependencies>main</dependencies>
    </breakpoint>
    <breakpoint filename="runtime_lattice_mpi_dft_small_kspace.xsil">
      <dependencies basis="ky kx">main</dependencies>
    </breakpoint>
    <breakpoint filename="runtime_lattice_mpi_dft_small_kspace2.xsil">
      <dependencies basis="ky x">main</dependencies>
    </breakpoint>
    <breakpoint filename="runtime_lattice_mpi_dft_small_xspace2.xsil">
      <dependencies basis="y x">main</dependencies>
    </breakpoint>
  </sequence>
  <output format="binary">
  </output>
</simulation>