You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the configuration step, PETSc must be built. This is
69
-
accomplished with the command provided at the end of the configure
70
-
script. It will look something like below::
71
-
72
-
$ make PETSC_DIR=/home/gaetan/Downloads/petsc-3.4.1 PETSC_ARCH=real-debug all
73
-
74
-
The last step is to add PETSC_DIR and PETSC_ARCH entries to your
75
-
.bashrc file. This is essential. It should look something like
76
-
this: (Make sure the CORRECT directory is used!)::
77
-
78
-
export PETSC_ARCH=real-debug
79
-
export PETSC_DIR=/home/user/packages/petsc-3.4.1
80
-
81
-
Make sure the .bashrc file is sourced before pyHyp is compiled using::
82
-
83
-
$ source ~/.bashrc
84
-
85
-
Or simply open a new terminal before compiling pyHyp.
86
-
87
-
See the documentation of each of these packages for further
88
-
information.
16
+
See the MDO Lab installation guide `here <http://mdolab.engin.umich.edu/docs/installInstructions/install3rdPartyPackages.html>`_ for the supported versions and installation instructions.
89
17
90
18
.. NOTE:: A working MPI is not strictly required. However, in most
91
19
cases PETSc should be configured with MPI.
92
20
93
21
Compilation
94
22
------------
23
+
``pyHyp`` follows the standard MDO Lab build procedure.
24
+
To start, first clone the repo. For stability we recommend checking out a tagged release.
95
25
96
-
`pyHyp` follows the standard MDO Lab build procedure.
97
-
To start, find a configuration file close to your current setup in::
26
+
Next, find a configuration file close to your current setup in::
98
27
99
28
$ config/defaults
100
29
101
30
and copy it to ''config/config.mk''. For example::
@@ -136,4 +65,4 @@ After you run some of the files, you will get a message like this::
136
65
*** Your MPI job will now abort.
137
66
[MDO-John:7977] Local abort after MPI_FINALIZE completed successfully; not able to aggregate error messages, and not able to guarantee that all other processes were killed!
138
67
139
-
Despite its scary look, this is a non-issue and means that the script successfully finished.
68
+
Despite its scary look, this is a non-issue and means that the script successfully finished.
0 commit comments