File: mumps-examples-serial

package info (click to toggle)
mumps 5.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,632 kB
  • sloc: fortran: 455,990; ansic: 14,541; makefile: 684; xml: 527; f90: 181; sh: 130
file content (30 lines) | stat: -rwxr-xr-x 1,022 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
#!/bin/sh -e

# serial tests, but still compile against MPI libraries
DEFAULT_MPI=$( grep ARCH_DEFAULT_MPI_IMPL /usr/share/mpi-default-dev/debian_defaults | sed "s/ARCH_DEFAULT_MPI_IMPL=//" )

cd examples

cp ../debian/tests/Makefile.inc ..
make clean
make MUMPS_MPI=${DEFAULT_MPI} all

echo "\n=== running c_example (serial) ==="
./c_example
./c_example_save_restore

echo "\n\n=== running simple test: real, single precision, serial ==="
./ssimpletest < input_simpletest_real
./ssimpletest_save_restore < input_simpletest_real

echo "\n\n=== running simple test: real, double precision, serial ==="
./dsimpletest < input_simpletest_real
./dsimpletest_save_restore < input_simpletest_real

echo "\n\n=== running simple test: complex, single precision, serial ==="
./csimpletest < input_simpletest_cmplx
./csimpletest_save_restore < input_simpletest_cmplx

echo "\n\n=== running simple test: complex, double precision, serial ==="
./zsimpletest < input_simpletest_cmplx
./zsimpletest_save_restore < input_simpletest_cmplx