File: makefile.html

package info (click to toggle)
petsc 3.1.dfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 131,360 kB
  • ctags: 491,710
  • sloc: ansic: 288,064; cpp: 66,909; python: 28,799; fortran: 19,153; makefile: 13,945; sh: 3,502; f90: 1,655; xml: 620; csh: 230; java: 13
file content (131 lines) | stat: -rw-r--r-- 7,577 bytes parent folder | download
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131

<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.5">
<meta name="date" content="2010-04-08T19:58:02+00:00">
</head>

<body bgcolor="#FFFFFF">
<pre width="80">
CFLAGS           =
FFLAGS                 = 
CPPFLAGS         =
FPPFLAGS         =
LOCDIR                 = tutorials/multiphysics/
MANSEC           = <A href="ROOT/docs/manualpages/SNES/SNES.html#SNES">SNES</A>
EXAMPLESC         = mp.c p1.c p2.c ff1.c ff2.c
EXAMPLESF         = 
EXAMPLESCH         = mp.h
EXAMPLESFH       = 
EXAMPLESMATLAB   = 
DIRS                 = 

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules

<strong><font color="#FF0000">p1:</font></strong> p1.o  ff1.o ff2.o chkopts
        -${CLINKER} -o p1 p1.o ff1.o ff2.o ${PETSC_SNES_LIB}
        ${RM} p1.o ff1.o ff2.o

<strong><font color="#FF0000">p2:</font></strong> p2.o  ff1.o ff2.o chkopts
        -${CLINKER} -o p2 p2.o ff1.o ff2.o ${PETSC_SNES_LIB}
        ${RM} p2.o ff1.o ff2.o

<strong><font color="#FF0000">mp:</font></strong> mp.o  ff1.o ff2.o chkopts
        -${CLINKER} -o mp mp.o ff1.o ff2.o ${PETSC_SNES_LIB}
        ${RM} mp.o ff1.o ff2.o
<font color="#A020F0">#--------------------------------------------------------------------------</font>
<strong><font color="#FF0000">runp1:</font></strong>
        -@${MPIEXEC} -n 1 ./p1 -snes_monitor_short &gt; p1_1.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/p1_1.out p1_1.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with p1_1, diffs above"</font>; fi; \
           ${RM} -f p1_1.tmp

<strong><font color="#FF0000">runp2:</font></strong>
        -@${MPIEXEC} -n 1 ./p2 -snes_monitor_short &gt; p2_1.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/p2_1.out p2_1.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with p2_1, diffs above"</font>; fi; \
           ${RM} -f p2_1.tmp

<strong><font color="#FF0000">runmp:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -grashof 1.0 -snes_monitor_short &gt; mp_1.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_1.out mp_1.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_1, diffs above"</font>; fi; \
           ${RM} -f mp_1.tmp

<strong><font color="#FF0000">runmp_2:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -grashof 1.0 -dmmg_jacobian_mf_fd_operator -snes_monitor_short &gt; mp_2.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_2.out mp_2.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_2, diffs above"</font>; fi; \
           ${RM} -f mp_2.tmp

<strong><font color="#FF0000">runmp_3:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -grashof 1.0 -dmmg_jacobian_mf_fd_operator -dmcomposite_dense_jacobian &gt; mp_3.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_3.out mp_3.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_3, diffs above"</font>; fi; \
           ${RM} -f mp_3.tmp

<font color="#A020F0"># this should have the same <A href="ROOT/docs/manualpages/SNES/SNES.html#SNES">SNES</A> convergence as _2 since they both are using the correct Jacobian</font>
<strong><font color="#FF0000">runmp_4:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -grashof 1.0 -couple -snes_monitor_short  &gt; mp_4.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_4.out mp_4.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_4, diffs above"</font>; fi; \
           ${RM} -f mp_4.tmp

<strong><font color="#FF0000">runmp_5:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -grashof 1.0 -couple -snes_monitor_short  -ksp_view -pc_type fieldsplit &gt; mp_5.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_5.out mp_5.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_5, diffs above"</font>; fi; \
           ${RM} -f mp_5.tmp

<strong><font color="#FF0000">runmp_6:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -grashof 1.0 -couple -snes_monitor_short  -ksp_view -pc_type fieldsplit -snes_mf_operator &gt; mp_6.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_6.out mp_6.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_6, diffs above"</font>; fi; \
           ${RM} -f mp_6.tmp

<strong><font color="#FF0000">runmp_7:</font></strong>
        -@${MPIEXEC} -n 3 ./mp -grashof 1.0 -couple -ksp_monitor_short  -pc_type fieldsplit &gt; mp_7.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_7.out mp_7.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_7, diffs above"</font>; fi; \
           ${RM} -f mp_7.tmp

<strong><font color="#FF0000">runmp_8:</font></strong>
        -@${MPIEXEC} -n 3 ./mp -grashof 1.0 -couple -ksp_monitor_short  -pc_type fieldsplit -snes_mf_operator &gt; mp_8.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_8.out mp_8.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_8, diffs above"</font>; fi; \
           ${RM} -f mp_8.tmp

<strong><font color="#FF0000">runmp_9:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -couple -snes_monitor_short -pc_type fieldsplit -ksp_monitor_short -pc_fieldsplit_type schur -fieldsplit_1_ksp_monitor_short -fieldsplit_1_ksp_type fgmres -fieldsplit_0_ksp_type gmres -fieldsplit_0_ksp_monitor_short -pc_fieldsplit_schur_precondition diag -snes_view &gt; mp_9.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_9.out mp_9.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_9, diffs above"</font>; fi; \
           ${RM} -f mp_9.tmp

<strong><font color="#FF0000">runmp_10:</font></strong>
        -@${MPIEXEC} -n 1 ./mp -couple -snes_monitor_short -pc_type fieldsplit -ksp_monitor_short -pc_fieldsplit_type schur -fieldsplit_ksp_monitor_short -fieldsplit_1_ksp_type fgmres -fieldsplit_0_ksp_type gmres -fieldsplit_0_ksp_monitor_short -pc_fieldsplit_schur_precondition self -snes_view &gt; mp_10.tmp 2&gt;&amp;1;   \
           <font color="#4169E1">if</font> (${DIFF} output/mp_10.out mp_10.tmp) then true; \
           <font color="#4169E1">else</font> echo <font color="#666666">"Possible problem with mp_10, diffs above"</font>; fi; \
           ${RM} -f mp_10.tmp

TESTEXAMPLES_C                       = p1.PETSc runp1 p1.rm p2.PETSc runp2 p2.rm mp.PETSc runmp runmp_2 runmp_3 runmp_4 runmp_5 runmp_6 runmp_7 runmp_8 runmp_9 runmp_10 mp.rm
TESTEXAMPLES_C_X11               = 
TESTEXAMPLES_FORTRAN               = 
TESTEXAMPLES_C_NOCOMPLEX       = 
TESTEXAMPLES_FORTRAN_NOCOMPLEX = 
TESTEXAMPLES_FORTRAN_MPIUNI    = 
TESTEXAMPLES_C_X11_MPIUNI      = 
                                 
TESTEXAMPLES_F90               = 
TESTEXAMPLES_13                       = 
TESTEXAMPLES_MATLAB_ENGINE     =
TESTEXAMPLES_AMS               = 
TESTEXAMPLES_ADIFOR               =
TESTEXAMPLES_MUMPS             =

include ${PETSC_DIR}/conf/test
</pre>
</body>

</html>