File: CheckAll

package info (click to toggle)
freefem++ 3.61.1+dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,108 kB
  • sloc: cpp: 141,214; ansic: 28,664; sh: 4,925; makefile: 3,142; fortran: 1,171; perl: 844; awk: 290; php: 199; pascal: 41; f90: 32
file content (28 lines) | stat: -rwxr-xr-x 836 bytes parent folder | download | duplicates (2)
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
test -x ./src/nw/FreeFem++-nw && ff=../src/nw/FreeFem++ || ff=`which FreeFem++`
test -x ./src/mpi/ff-mpirun && ffmpi=../src/mpi/ff-mpirun || ffmpi=`which ff-mpirun` 

if [ -x ./src/bin/FreeFem++-nw.exe ] ; then ff=../src/bin/FreeFem++-nw.exe; fi
if [ -x ./src/bin-win32/FreeFem++-nw.exe ] ; then ff=../src/bin-win32/FreeFem++-nw.exe; fi
if [ -x ./src/mpi/ff-mpirun ] ; then ffmpi=../src/mpi/ff-mpirun; fi
rm CheckAll-out
for i in examples++*/.; do 
    cd $i;
    case $i in 
	*mpi/.|*hpddm/.)  ;;
	*)      echo  ----  $i  ---
     ../CheckAllEdp "$ff -nw" *.edp | tee -a ../CheckAll-out ;;
    esac;
    cd ..;
done

if [ -n "$ffmpi" ] ; then 
    for i in examples++*/.; do
	cd $i;
	case $i in
	    *mpi/.|*hpddm/.) 
		echo  MPI ----  $i  ---
		../CheckAllEdp "$ffmpi -np 4" *.edp | tee -a ../CheckAll-out;;
	esac;
	cd ..;
    done
fi