Description: Decrease the numberslots required in the unit tests calling mpirun
 Hopefully, this will fix the hanging problem in those tests. 
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: no
Last-Update: 2019-01-10

--- a/testsuite/mpi/mpi_highdimcrossprop.xmds
+++ b/testsuite/mpi/mpi_highdimcrossprop.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./mpi_highdimcrossprop</command_line>
+    <command_line>mpirun -n 1 ./mpi_highdimcrossprop</command_line>
     <xsil_file name="mpi_highdimcrossprop.xsil" expected="../operators/highdimcrossprop_expected.xsil" absolute_tolerance="1e-5" relative_tolerance="1e-4" />
   </testing>
   <name>mpi_highdimcrossprop</name>
--- a/testsuite/mpi/vibstring_dst_mpi.xmds
+++ b/testsuite/mpi/vibstring_dst_mpi.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 4 ./vibstring_dst_mpi</command_line>
+    <command_line>mpirun -n 1 ./vibstring_dst_mpi</command_line>
     <xsil_file name="vibstring_dst_mpi.xsil" expected="vibstring_dst_mpi_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
   </testing>
   
--- a/testsuite/mpi/vibstring_dst_mpi_chunked.xmds
+++ b/testsuite/mpi/vibstring_dst_mpi_chunked.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 4 ./vibstring_dst_mpi_chunked</command_line>
+    <command_line>mpirun -n 1 ./vibstring_dst_mpi_chunked</command_line>
     <xsil_file name="vibstring_dst_mpi_chunked.xsil" expected="vibstring_dst_mpi_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
   </testing>
   
--- a/testsuite/fast/RbGSdipoles.xmds
+++ b/testsuite/fast/RbGSdipoles.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 4 ./RbGS</command_line>
+    <command_line>mpirun -n 1 ./RbGS</command_line>
     <xsil_file name="RbGS.xsil" expected="RbGS_expected.xsil" absolute_tolerance="1e-4" relative_tolerance="1e-4" />
     <xsil_file name="potential.xsil" expected="potential_expected.xsil" absolute_tolerance="1e-4" relative_tolerance="1e-4" />
     <xsil_file name="RbGSa.xsil" expected="RbGSa_expected.xsil" absolute_tolerance="1e-4" relative_tolerance="1e-4" />
--- a/testsuite/fast/anharmonic_oscillator_wigner_mpi.xmds
+++ b/testsuite/fast/anharmonic_oscillator_wigner_mpi.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./anharmonic_oscillator_wigner_mpi</command_line>
+    <command_line>mpirun -n 1 ./anharmonic_oscillator_wigner_mpi</command_line>
     <input_xsil_file name="anharmonic_oscillator_wigner_mpi_initial_even.xsil" />
     <input_xsil_file name="anharmonic_oscillator_wigner_mpi_initial_odd.xsil" />
     <xsil_file name="anharmonic_oscillator_wigner_mpi.xsil" expected="anharmonic_oscillator_wigner_mpi_expected.xsil" absolute_tolerance="1e-5" relative_tolerance="1e-5" />
--- a/testsuite/fast/anharmonic_oscillator_wigner_mpi_parsing.xmds
+++ b/testsuite/fast/anharmonic_oscillator_wigner_mpi_parsing.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./anharmonic_oscillator_wigner_mpi_parsing</command_line>
+    <command_line>mpirun -n 1 ./anharmonic_oscillator_wigner_mpi_parsing</command_line>
     <input_xsil_file name="anharmonic_oscillator_wigner_mpi_initial_even.xsil" />
     <input_xsil_file name="anharmonic_oscillator_wigner_mpi_initial_odd.xsil" />
     <xsil_file name="anharmonic_oscillator_wigner_mpi_parsing.xsil" expected="anharmonic_oscillator_wigner_mpi_expected.xsil" absolute_tolerance="1e-5" relative_tolerance="1e-5" />
--- a/testsuite/fast/cpc_example4.xmds
+++ b/testsuite/fast/cpc_example4.xmds
@@ -1,6 +1,6 @@
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 4 ./cpc_example4</command_line>
+    <command_line>mpirun -n 1 ./cpc_example4</command_line>
     <xsil_file name="cpc_example4.xsil" expected="cpc_example4_expected.xsil" absolute_tolerance="1e-5" relative_tolerance="1e-5" />
   </testing>
 
--- a/testsuite/io/mpi_xsilloading.xmds
+++ b/testsuite/io/mpi_xsilloading.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_xsilloading</command_line>
+    <command_line>mpirun -n 1 ./mpi_xsilloading</command_line>
     <input_xsil_file name="breakpoints_kspace_expected.xsil" />
     <input_xsil_file name="breakpoints_mixed_space2_expected.xsil" />
     <xsil_file name="mpi_xsilloading.xsil" expected="xsilloading_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/io/mpi_xsilloading_hdf5.xmds
+++ b/testsuite/io/mpi_xsilloading_hdf5.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_xsilloading_hdf5</command_line>
+    <command_line>mpirun -n 1 ./mpi_xsilloading_hdf5</command_line>
     <input_xsil_file name="breakpoints_hdf5_kspace_expected.xsil" />
     <input_xsil_file name="breakpoints_hdf5_mixed_space2_expected.xsil" />
     <xsil_file name="mpi_xsilloading_hdf5.xsil" expected="xsilloading_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/io/mpi_xsilloading_hdf5_loose.xmds
+++ b/testsuite/io/mpi_xsilloading_hdf5_loose.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_xsilloading_hdf5_loose</command_line>
+    <command_line>mpirun -n 1 ./mpi_xsilloading_hdf5_loose</command_line>
     <input_xsil_file name="breakpoints_hdf5_kspace_expected.xsil" />
     <input_xsil_file name="breakpoints_hdf5_mixed_space2_expected.xsil" />
     <xsil_file name="mpi_xsilloading_hdf5_loose.xsil" expected="xsilloading_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/io/mpi_xsilloading_hdf5_loose2.xmds
+++ b/testsuite/io/mpi_xsilloading_hdf5_loose2.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_xsilloading_hdf5_loose2</command_line>
+    <command_line>mpirun -n 1 ./mpi_xsilloading_hdf5_loose2</command_line>
     <input_xsil_file name="breakpoints_hdf5_kspace_expected.xsil" />
     <input_xsil_file name="breakpoints_hdf5_mixed_space2_expected.xsil" />
     <xsil_file name="mpi_xsilloading_hdf5_loose2.xsil" expected="xsilloading_expected2.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/io/mpi_xsilloading_loose.xmds
+++ b/testsuite/io/mpi_xsilloading_loose.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_xsilloading_loose</command_line>
+    <command_line>mpirun -n 1 ./mpi_xsilloading_loose</command_line>
     <input_xsil_file name="breakpoints_kspace_expected.xsil" />
     <input_xsil_file name="breakpoints_mixed_space2_expected.xsil" />
     <xsil_file name="mpi_xsilloading_loose.xsil" expected="xsilloading_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/io/mpi_xsilloading_loose2.xmds
+++ b/testsuite/io/mpi_xsilloading_loose2.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_xsilloading_loose2</command_line>
+    <command_line>mpirun -n 1 ./mpi_xsilloading_loose2</command_line>
     <input_xsil_file name="breakpoints_kspace_expected.xsil" />
     <input_xsil_file name="breakpoints_mixed_space2_expected.xsil" />
     <xsil_file name="mpi_xsilloading_loose2.xsil" expected="xsilloading_expected2.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/mpi/diffusion_mpi.xmds
+++ b/testsuite/mpi/diffusion_mpi.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./diffusion_mpi</command_line>
+    <command_line>mpirun -n 1 ./diffusion_mpi</command_line>
     <xsil_file name="diffusion_mpi.xsil" expected="diffusion_mpi_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
   </testing>
   
--- a/testsuite/mpi/diffusion_mpi_chunked.xmds
+++ b/testsuite/mpi/diffusion_mpi_chunked.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./diffusion_mpi_chunked</command_line>
+    <command_line>mpirun -n 1 ./diffusion_mpi_chunked</command_line>
     <xsil_file name="diffusion_mpi_chunked.xsil" expected="diffusion_mpi_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
   </testing>
   
--- a/testsuite/mpi/eigenvalues.xmds
+++ b/testsuite/mpi/eigenvalues.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./eigenvalues</command_line>
+    <command_line>mpirun -n 1 ./eigenvalues</command_line>
     <xsil_file name="eigenvalues_break.xsil" expected="../fast/eigenvalues_break_expected.xsil" absolute_tolerance="1e-6" relative_tolerance="1e-5" />
     <xsil_file name="eigenvalues.xsil" expected="../fast/eigenvalues_expected.xsil" absolute_tolerance="1e-6" relative_tolerance="1e-5" />
   </testing>
--- a/testsuite/mpi/hermitegauss_transform_2d_mpi.xmds
+++ b/testsuite/mpi/hermitegauss_transform_2d_mpi.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./hermitegauss_transform_2d_mpi</command_line>
+    <command_line>mpirun -n 1 ./hermitegauss_transform_2d_mpi</command_line>
     <xsil_file name="hermitegauss_transform_2d_mpi.xsil" expected="hermitegauss_transform_2d_mpi_expected.xsil" absolute_tolerance="1e-8" relative_tolerance="1e-5" />
   </testing>
 
--- a/testsuite/mpi/hermitegauss_transform_2d_mpi_small.xmds
+++ b/testsuite/mpi/hermitegauss_transform_2d_mpi_small.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 8 ./hermitegauss_transform_2d_mpi_small</command_line>
+    <command_line>mpirun -n 1 ./hermitegauss_transform_2d_mpi_small</command_line>
     <xsil_file name="hermitegauss_transform_2d_mpi_small.xsil" expected="hermitegauss_transform_2d_mpi_expected.xsil" absolute_tolerance="1e-8" relative_tolerance="1e-5" />
   </testing>
 
--- a/testsuite/mpi/kubo_adaptive_mpi_paths.xmds
+++ b/testsuite/mpi/kubo_adaptive_mpi_paths.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./kubo_adaptive_mpi_paths</command_line>
+    <command_line>mpirun -n 1 ./kubo_adaptive_mpi_paths</command_line>
     <xsil_file name="kubo_adaptive_mpi_paths.xsil" expected="kubo_mpi_paths_expected.xsil" absolute_tolerance="4e-2" relative_tolerance="4e-2" />
   </testing>
   
--- a/testsuite/mpi/kubo_mpi_paths.xmds
+++ b/testsuite/mpi/kubo_mpi_paths.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./kubo_mpi_paths</command_line>
+    <command_line>mpirun -n 1 ./kubo_mpi_paths</command_line>
     <xsil_file name="kubo_mpi_paths.xsil" expected="kubo_mpi_paths_expected.xsil" absolute_tolerance="4e-2" relative_tolerance="4e-2" />
   </testing>
   
--- a/testsuite/mpi/lorenz_mpi.xmds
+++ b/testsuite/mpi/lorenz_mpi.xmds
@@ -1,6 +1,6 @@
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 8 ./lorenz_mpi</command_line>
+    <command_line>mpirun -n 1 ./lorenz_mpi</command_line>
     <xsil_file name="lorenz_mpi.xsil" expected="lorenz_mpi_expected.xsil" absolute_tolerance="4e-2" relative_tolerance="4e-2" />
   </testing>
   
--- a/testsuite/mpi/mpi_dft.xmds
+++ b/testsuite/mpi/mpi_dft.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_dft</command_line>
+    <command_line>mpirun -n 1 ./mpi_dft</command_line>
     <xsil_file name="mpi_dft_xspace1.xsil" expected="mpi_dft_xspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="mpi_dft_kspace.xsil" expected="mpi_dft_kspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="mpi_dft_kspace2.xsil" expected="mpi_dft_kspace2_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/mpi/mpi_dft_hdf5.xmds
+++ b/testsuite/mpi/mpi_dft_hdf5.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 3 ./mpi_dft_hdf5</command_line>
+    <command_line>mpirun -n 1 ./mpi_dft_hdf5</command_line>
     <xsil_file name="mpi_dft_hdf5_xspace1.xsil" expected="mpi_dft_xspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="mpi_dft_hdf5_kspace.xsil" expected="mpi_dft_kspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="mpi_dft_hdf5_kspace2.xsil" expected="mpi_dft_kspace2_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/mpi/mpi_dft_small.xmds
+++ b/testsuite/mpi/mpi_dft_small.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 8 ./mpi_dft_small</command_line>
+    <command_line>mpirun -n 1 ./mpi_dft_small</command_line>
     <xsil_file name="mpi_dft_small_xspace1.xsil" expected="mpi_dft_small_xspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="mpi_dft_small_kspace.xsil"  expected="mpi_dft_small_kspace_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="mpi_dft_small_kspace2.xsil" expected="mpi_dft_small_kspace2_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
--- a/testsuite/mpi/partial_integration_computed_vector.xmds
+++ b/testsuite/mpi/partial_integration_computed_vector.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 2 ./partial_integration_computed_vector</command_line>
+    <command_line>mpirun -n 1 ./partial_integration_computed_vector</command_line>
     <xsil_file name="partial_integration_computed_vector.xsil" expected="../fast/bessel_cosine_groundstate_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="partial_integration_computed_vector_breakpoint.xsil" expected="../fast/bessel_cosine_groundstate_breakpoint_expected.xsil" absolute_tolerance="1e0" relative_tolerance="1e-5" />
   </testing>
--- a/testsuite/mpi/vibstring_mpi_aliases.xmds
+++ b/testsuite/mpi/vibstring_mpi_aliases.xmds
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <simulation xmds-version="2">
   <testing>
-    <command_line>mpirun -n 4 ./vibstring_mpi_aliases</command_line>
+    <command_line>mpirun -n 1 ./vibstring_mpi_aliases</command_line>
     <xsil_file name="vibstring_mpi_aliases.xsil" expected="vibstring_mpi_aliases_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
     <xsil_file name="nonlocal_access_test.xsil" expected="nonlocal_access_test_expected.xsil" absolute_tolerance="1e-7" relative_tolerance="1e-5" />
   </testing>
--- a/testsuite/runtime_lattice/runtime_lattice_mpi_dft_small.xmds
+++ b/testsuite/runtime_lattice/runtime_lattice_mpi_dft_small.xmds
@@ -2,7 +2,7 @@
 <simulation xmds-version="2">
 <testing>
     <arguments>--latticesize_x 10 --latticesize_y 10</arguments>
-    <command_line>mpirun -n 8 ./runtime_lattice_mpi_dft_small</command_line>
+    <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" />
