-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
65 lines (52 loc) · 1.08 KB
/
README
File metadata and controls
65 lines (52 loc) · 1.08 KB
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
#
# PetraM_Base extension
#
C++ extension module for PetraM_Base package
#
#
#
make (or make all to clean everything and build including swig wrapper generation)
#
# build step-by-step
#
make extension
make install_extension
make cxx (or make parcxx + make sercxx)
make so (or make parso + make serso)
make build_py
#
# make commands
#
make extension
make install_extension
make parcxx
generate swig wrapper for parallel PyMFEM
make sercxx
generate swig wrapper for serial PyMFEM
make cxx
= make parcxx + make sercxx
make parso
compile/link parallel extension wrapper
make serso
compile/link serial extension wrapper
make so
= make par + make ser
make install_so
make clean_ext
clean library build directory
make clean_so
clean wrapper build files
make clean_build
clean extension build directory
make clean
do above three together
#
# make options
#
PREFIX : prefix
PETRAM : install location ofpython modules (${PETRAM}/lib/python2.7/site-packages/
PyMFEM_SRC : PyMFEM source directory
#
# my favorite...j
#
make all PREFIX=~/sandbox PYMFEM_SRC=~/src/PyMFEM