Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Anton Akhmerov
kwant
Commits
db933bc0
Commit
db933bc0
authored
10 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
OSX -> OS X
parent
da30f443
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL
+11
-11
11 additions, 11 deletions
INSTALL
with
11 additions
and
11 deletions
INSTALL
+
11
−
11
View file @
db933bc0
...
...
@@ -101,11 +101,11 @@ provided by Christoph Gohlke. To install Kwant on Windows
want to run this software?". Select "Run".
Mac OSX
=======
Mac OS
X
=======
=
There is a number of different package managers for bringing software from the
Unix/Linux world to Mac OSX. Since the community is quite split, we provide
Unix/Linux world to Mac OS
X. Since the community is quite split, we provide
Kwant and its dependencies both via the `homebrew <http://brew.sh>`_ and the
`MacPorts <http://www.macports.org>`_ systems.
...
...
@@ -113,7 +113,7 @@ Kwant and its dependencies both via the `homebrew <http://brew.sh>`_ and the
Mac OS X: homebrew
==================
homebrew is a recent addition to the package managers on Mac OSX. It is
homebrew is a recent addition to the package managers on Mac OS
X. It is
lightweight, tries to be as minimalistic as possible and give the user
freedom than Macports. We recommend this option if you have no preferences.
...
...
@@ -128,7 +128,7 @@ freedom than Macports. We recommend this option if you have no preferences.
and follow its directions. It will ask for a few prerequisites to be
installed, in particular
* the Xcode developer tools (compiler suite for Mac OSX) from
* the Xcode developer tools (compiler suite for Mac OS
X) from
`<http://developer.apple.com/downloads>`_. You will need an Apple ID to
download. Note that if you have one already from using the App store on the
Mac/Ipad/Iphone/... you can use that one. Downloading the command line
...
...
@@ -139,7 +139,7 @@ freedom than Macports. We recommend this option if you have no preferences.
click on `Install`.
* although `brew doctor` might not complain about it right away, while we're
at it, you should also install the X11 server from the `XQuartz project
<http://xquartz.macosforge.org>`_ if you have Mac OSX 10.8 or higher.
<http://xquartz.macosforge.org>`_ if you have Mac OS
X 10.8 or higher.
3. Add permanently ``/usr/local/bin`` before ``/usr/bin/`` in the ``$PATH$``
environment variable of your shell, for example by adding ::
...
...
@@ -179,8 +179,8 @@ Notes:
though.
Mac OSX: MacPorts
=================
Mac OS
X: MacPorts
=================
=
MacPorts is a full-fledged package manager that recreates a whole Linux-like
environment on your Mac.
...
...
@@ -193,7 +193,7 @@ In order to install Kwant using MacPorts, you have to
In particular, as explained there, you will have to install also a
few prerequisites, namely
* the Xcode developer tools (compiler suite for Mac OSX) from
* the Xcode developer tools (compiler suite for Mac OS
X) from
`<http://developer.apple.com/downloads>`_. You will need an Apple ID to
download. Note that if you have one already from using the App store
on the Mac/Ipad/Iphone/... you can use that one. You will also need the
...
...
@@ -202,7 +202,7 @@ In order to install Kwant using MacPorts, you have to
select `Command Line Tools` and click on `Install`. Alternatively, you can
also directly download the command line tools from the
Apple developer website.
* if you have MacOSX 10.8 or higher, the X11 server from the
* if you have Mac
OS
X 10.8 or higher, the X11 server from the
`XQuartz project <http://xquartz.macosforge.org>`_.
2. After the installation, open a terminal and execute ::
...
...
@@ -374,7 +374,7 @@ below.
CC=gcc-mp-4.7 LDSHARED='gcc-mp-4.7 -shared -undefined dynamic_lookup' python setup.py build
sudo python setup.py install
You might note that installing Kwant on Mac OSX is somewhat more involved than
You might note that installing Kwant on Mac OS
X is somewhat more involved than
installing on Linux. Part of the reason is that we need to mix Fortran and C
code in Kwant: While C code is usually compiled using Apple compilers,
Fortran code must be compiled with the Gnu Fortran compiler (there is
...
...
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