Subversion Repositories slepc-dev

Rev

Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2356 jroman 1
#
2
#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3
#  SLEPc - Scalable Library for Eigenvalue Problem Computations
4
#  Copyright (c) 2002-2010, Universidad Politecnica de Valencia, Spain
5
#
6
#  This file is part of SLEPc.
7
#
8
#  SLEPc is free software: you can redistribute it and/or modify it under  the
9
#  terms of version 3 of the GNU Lesser General Public License as published by
10
#  the Free Software Foundation.
11
#
12
#  SLEPc  is  distributed in the hope that it will be useful, but WITHOUT  ANY
13
#  WARRANTY;  without even the implied warranty of MERCHANTABILITY or  FITNESS
14
#  FOR  A  PARTICULAR PURPOSE. See the GNU Lesser General Public  License  for
15
#  more details.
16
#
17
#  You  should have received a copy of the GNU Lesser General  Public  License
18
#  along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
19
#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20
#
21
 
2362 jroman 22
CFLAGS     =
2356 jroman 23
FFLAGS     =
24
CPPFLAGS   =
25
FPPFLAGS   =
26
LOCDIR     = src/qep/examples/tutorials/
27
EXAMPLESC  = ex16.c ex17.c
28
EXAMPLESF  = ex16f90.F90
29
MANSEC     = QEP
30
 
31
TESTEXAMPLES_C   = ex16.PETSc runex16_1 ex16.rm \
32
                   ex17.PETSc runex17_1 ex17.rm
2357 jroman 33
TESTEXAMPLES_F90 = ex16f90.PETSc runex16f90_1 ex16f90.rm
2356 jroman 34
 
35
include ${SLEPC_DIR}/conf/slepc_common
36
 
37
ex16: ex16.o chkopts
38
	-${CLINKER} -o ex16 ex16.o ${SLEPC_LIB}
39
	${RM} ex16.o
40
 
41
ex16f90: ex16f90.o chkopts
42
	-${FLINKER} -o ex16f90 ex16f90.o ${SLEPC_LIB}
43
	${RM} ex16f90.o
44
 
45
ex17: ex17.o chkopts
46
	-${CLINKER} -o ex17 ex17.o ${SLEPC_LIB}
47
	${RM} ex17.o
48
 
49
#------------------------------------------------------------------------------------
50
 
51
runex16_1:
2362 jroman 52
	-@${MPIEXEC} -np 1 ./ex16 > ex16_1.tmp 2>&1; \
2356 jroman 53
	   if (${DIFF} output/ex16_1.out ex16_1.tmp) then true; \
54
	   else echo "Possible problem with ex16_1, diffs above"; fi; \
55
	   ${RM} -f ex16_1.tmp
56
 
57
runex16f90_1:
2362 jroman 58
	-@${MPIEXEC} -np 1 ./ex16f90 > ex16f90_1.tmp 2>&1; \
2356 jroman 59
	   if (${DIFF} output/ex16f90_1.out ex16f90_1.tmp) then true; \
60
	   else echo "Possible problem with ex16f90_1, diffs above"; fi; \
61
	   ${RM} -f ex16f90_1.tmp
62
 
63
runex17_1:
2362 jroman 64
	-@${MPIEXEC} -np 1 ./ex17 -M ${SLEPC_DIR}/src/mat/examples/speaker107m.petsc -C ${SLEPC_DIR}/src/mat/examples/speaker107c.petsc -K ${SLEPC_DIR}/src/mat/examples/speaker107k.petsc -qep_linear_explicitmatrix > ex17_1.tmp 2>&1; \
2356 jroman 65
	   if (${DIFF} output/ex17_1.out ex17_1.tmp) then true; \
66
	   else echo "Possible problem with ex17_1, diffs above"; fi; \
67
	   ${RM} -f ex17_1.tmp
68