Debian Codegraph @

macOS/conclusion_template.html

raw
1 <html lang="en">
2 <head>
3 <meta charset="UTF-8">
4 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <title>Recommendations</title>
6 <style>
7 .center-text {
8 text-align: center;
9 }
10 .bold-text {
11 font-weight: bold;
12 }
13 code {
14 font-family: "Courier New", Courier, monospace;
15 }
16 </style>
17 </head>
18
19 <body>
20 <header class="center-text">
21 <h1>Recommendations</h1>
22 </header>
23
24 <main>
25 <p class="bold-text">Xcode Command Line Tools</p>
26 <p>Dynare highly benefits from installing Xcode Command Line Tools (an Apple product). To install the Xcode Command Line Tools type the following into Terminal.app:</p>
27 <code>
28 xcode-select --install
29 </code>
30
31 <p class="bold-text">Compilation Environment for use_dll option</p>
32 <p>Dynare ships a compilation environment that can be used with the use_dll option. To install this environment correctly, the Xcode Command Line Tools are sufficient. Check this by running the following command in the MATLAB command window:</p>
33 <code>
34 mex -setup
35 </code>
36 <p>If you get a warning in MATLAB, that Xcode is installed, but its license has not been accepted, please refer to the <a href="https://www.dynare.org/manual/installation-and-configuration.html#prerequisites-on-macos" target="_blank" rel="noopener noreferrer">manual</a> for a workaround.</p>
37 <p>Moreover, we recommend making use of optimized compilation flags and for this you need to install GCC via Homebrew.
38 Follow <a href="https://brew.sh" target="_blank" rel="noopener noreferrer">https://brew.sh</a> to install Homebrew and then type the following into Terminal.app:</p>
39 <code>
40 brew install gcc@GCC_VERSION
41 </code>
42 <p>If you already have installed GCC, Dynare will automatically prefer it for use_dll if the binaries are either in /opt/homebrew/bin/gcc-GCC_VERSION (arm64) or in /usr/local/bin/gcc-GCC_VERSION (x86_64). Otherwise, it will fall back to Clang in /usr/bin/clang (for both arm64 and x86_64).</p>
43 </main>
44 </body>
45 </html>