File: makefile.html

package info (click to toggle)
petsc 3.7.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,864 kB
  • ctags: 618,438
  • sloc: ansic: 515,133; python: 29,793; makefile: 20,458; fortran: 18,998; cpp: 6,515; f90: 3,914; sh: 1,012; xml: 621; objc: 445; csh: 240; java: 13
file content (71 lines) | stat: -rw-r--r-- 3,070 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

<html>
<head> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/tutorials/python/makefile.html" />
<title></title>
<meta name="generator" content="c2html 0.9.4">
<meta name="date" content="2017-01-01T16:37:10+00:00">
</head>

<body bgcolor="#FFFFFF">
   <div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
   <div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 tutorials/python/makefile.html "><small>Report Typos and Errors</small></a></div>
<pre width="80">
CFLAGS           =
FFLAGS		 =
CPPFLAGS         =
FPPFLAGS         =
LOCDIR		 = tutorials/python/
MANSEC           =
EXAMPLESC	 = ex1.c
EXAMPLESF	 =
EXAMPLESCH	 =
EXAMPLESFH       =
EXAMPLESMATLAB   =
DIRS		 =
CLEANFILES       =

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

<font color="#A020F0">#--------------------------------------------------------------------------</font>

<strong><font color="#FF0000">ex1:</font></strong> ex1.o  chkopts
	-${CLINKER} -o ex1 ex1.o  ${PETSC_KSP_LIB}
	${RM} ex1.o

<strong><font color="#FF0000">ex1f:</font></strong> ex1f.o  chkopts
	-${FLINKER} -o ex1f ex1f.o  ${PETSC_KSP_LIB}
	${RM} ex1f.o

<font color="#A020F0">#--------------------------------------------------------------------------</font>

PYTHON = python

<strong><font color="#FF0000">runex1:</font></strong>
	-@${MPIEXEC} -n 1 ./ex1 -ksp_monitor_short -ksp_view &gt; ex1_1.tmp 2&gt;&amp;1;   \
	   <font color="#4169E1">if</font> (${DIFF} output/ex1_1.out ex1_1.tmp) then true; \
	   <font color="#4169E1">else</font> printf <font color="#666666">"${PWD}\nPossible problem with ex1_1, diffs above\n=========================================\n"</font>; fi; \
	   ${RM} -f ex1_1.tmp example1.py[co]

<strong><font color="#FF0000">runex1f:</font></strong>
	-@${MPIEXEC} -n 1 ./ex1f -ksp_monitor_short -ksp_view &gt; ex1f_1.tmp 2&gt;&amp;1;   \
	   <font color="#4169E1">if</font> (${DIFF} output/ex1f_1.out ex1f_1.tmp) then true; \
	   <font color="#4169E1">else</font> printf <font color="#666666">"${PWD}\nPossible problem with ex1f_1, diffs above\n=========================================\n"</font>; fi; \
	   ${RM} -f ex1f_1.tmp

<strong><font color="#FF0000">runex1py:</font></strong>
	-@${MPIEXEC} -n 1 python ./ex1.py -ksp_monitor_short -ksp_view &gt; ex1py_1.tmp 2&gt;&amp;1;   \
	   <font color="#4169E1">if</font> (${DIFF} output/ex1py_1.out ex1py_1.tmp) then true; \
	   <font color="#4169E1">else</font> printf <font color="#666666">"${PWD}\nPossible problem with ex1py_1, diffs above\n=========================================\n"</font>; fi; \
	   ${RM} -f ex1py_1.tmp example1.py[co]

TESTEXAMPLES_C_PYTHON       = ex1.PETSc runex1 runex1py ex1.rm
TESTEXAMPLES_FORTRAN_PYTHON = ex1f.PETSc runex1f ex1f.rm

<font color="#A020F0">#--------------------------------------------------------------------------</font>

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

</html>