Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
987c6f2e
Verified
Commit
987c6f2e
authored
1 year ago
by
Willi Mutschler
Browse files
Options
Downloads
Patches
Plain Diff
macOS installer: improve reference manual
parent
a3b05f6d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/manual/source/installation-and-configuration.rst
+21
-15
21 additions, 15 deletions
doc/manual/source/installation-and-configuration.rst
with
21 additions
and
15 deletions
doc/manual/source/installation-and-configuration.rst
+
21
−
15
View file @
987c6f2e
...
@@ -95,14 +95,20 @@ With MATLAB
...
@@ -95,14 +95,20 @@ With MATLAB
^^^^^^^^^^^
^^^^^^^^^^^
To install Dynare for use with MATLAB, execute the automated installer called
To install Dynare for use with MATLAB, execute the automated installer called
``dynare-x.y.pkg`` (where *x.y* is the version number), and follow the
``dynare-x.y-arch.pkg`` (where *x.y* is the version number and *arch* is either arm64 for Apple Silicon or x86_64 for Intel architectures),
instructions. The default installation directory is
and follow the instructions.
``/Applications/Dynare/x.y``. After installation, this directory will contain
This installation does not require administrative privileges.
several sub-directories, among which are ``matlab``, ``mex``, and ``doc``.
If for some reason admin rights are requested, use *Change Install Location* and select *Install for me only*.
The default installation directory is ``/Applications/Dynare/x.y-arch``.
Installing into ``/Applications/dynare`` might fail if you have older versions of Dynare already installed in ``/Applications/Dynare``.
To fix this, modify the ownership by executing the following command in Terminal.app::
Note that several versions of Dynare can coexist (by default in
sudo chown -R "$USER":staff /Applications/Dynare
``/Applications/Dynare``), as long as you correctly adjust your path
settings (see :ref:`words-warning`).
Alternatively, you can modify the installation path in the automated installed using *Customize* and *Location*.
After installation, the folder will contain several sub-directories, among which are ``matlab``, ``mex``, and ``doc``.
Several versions of Dynare can coexist (by default in ``/Applications/Dynare``),
as long as you correctly adjust your path settings (see :ref:`words-warning`).
It is recommended to install the Xcode Command Line Tools (this is an Apple product)
It is recommended to install the Xcode Command Line Tools (this is an Apple product)
and GCC via Homebrew_ (see :ref:`prerequisites-macos`).
and GCC via Homebrew_ (see :ref:`prerequisites-macos`).
...
@@ -189,17 +195,17 @@ Additionally, to make MATLAB aware that you agree to the terms of Xcode, run the
...
@@ -189,17 +195,17 @@ Additionally, to make MATLAB aware that you agree to the terms of Xcode, run the
defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense
defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense
Otherwise you will see a warning that Xcode is installed, but its license has not been accepted.
Otherwise you will see a warning that Xcode is installed, but its license has not been accepted.
You can check this e.g. by running the following command in the MATLAB command window::
We recommend making use of optimized compilation flags when using :opt:`use_dll` and for this you need to install GCC via Homebrew_::
mex -setup
brew install gcc
If you already have installed GCC, Dynare will automatically prefer it for :opt:`use_dll` if the binaries are in /usr/local/bin.
Moreover, we recommend making use of optimized compilation flags when using :opt:`use_dll` and for this you need to install GCC via Homebrew_::
Otherwise, it will fall back to Clang in /usr/bin/clang.
brew install gcc
In versions prior to 5.5, the macOS pkg installer required administrative rights to install Dynare, this is no longer the case.
If you already have installed GCC, Dynare will automatically prefer it for :opt:`use_dll`
However, if you aim to install Dynare in ``/Applications/Dynare``, you will need to modify the ownership of this folder.
if the binaries are either in ``/opt/homebrew/bin`` on Apple Silicon (arm64) or in ``/usr/local/bin`` on Intel (x86_64) systems.
To do this, execute the following command::
Otherwise, it will fall back to Clang in ``/usr/bin/clang``, which works both on arm64 and x86_64 systems.
sudo chown -R $USER:staff /Applications/Dynare
With Octave
With Octave
^^^^^^^^^^^
^^^^^^^^^^^
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment