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
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Michael Wimmer
kwant
Commits
f06ede15
Commit
f06ede15
authored
11 years ago
by
Michael Wimmer
Committed by
Christoph Groth
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
capitalize kwant
parent
76459aa4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL
+10
-10
10 additions, 10 deletions
INSTALL
with
10 additions
and
10 deletions
INSTALL
+
10
−
10
View file @
f06ede15
...
...
@@ -20,7 +20,7 @@ Mac OSX
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
k
want and its dependencies both via the `MacPorts
split, we provide
K
want and its dependencies both via the `MacPorts
<http://www.macports.org>`_ and `homebrew <http://brew.sh>`_ systems.
MacPorts
...
...
@@ -28,9 +28,9 @@ MacPorts
MacPorts is a full-fledged package manager that recreates a whole Linux-like
environment on your Mac. It requires little choices to be made by the user,
and allows for the simplest way to install
k
want.
and allows for the simplest way to install
K
want.
In order to install
k
want, you have to
In order to install
K
want, you have to
1. Install a recent version of MacPorts, as explained in the
`installation instructions of MacPorts
...
...
@@ -54,7 +54,7 @@ In order to install kwant, you have to
echo http://dl.dropboxusercontent.com/u/769003/ports.tar | sudo tee -a /opt/local/etc/macports/sources.conf >/dev/null
(this adds the
k
want MacPorts download link
(this adds the
K
want MacPorts download link
`<http://dl.dropboxusercontent.com/u/769003/ports.tar>`_ at the end of the
``sources.conf`` file.)
...
...
@@ -62,7 +62,7 @@ In order to install kwant, you have to
sudo port selfupdate
4. Now, install
k
want and its prerequisites ::
4. Now, install
K
want and its prerequisites ::
sudo port install py27-kwant
...
...
@@ -136,7 +136,7 @@ you are safe.
brew tap samueljohn/python
brew tap michaelwimmer/kwant
6. Install
k
want and its prerequisites ::
6. Install
K
want and its prerequisites ::
pip install nose
brew install numpy scipy matplotlib
...
...
@@ -151,7 +151,7 @@ Notes
if you are an expert, you don't need necessarily to install
numpy/scipy/matplotlib from homebrew, but can use your own installation.
The only prerequisite is that they are importable from python. (the
k
want installation will in any case complain if they are not)
K
want installation will in any case complain if they are not)
- In principle, you need not install the homebrew python, but could use
Apple's already installed python. Homebrew's python is more up-to-date,
though.
...
...
@@ -281,7 +281,7 @@ and select the "libblas.so.3gf" alternative when prompted by the second command.
Mac OS X
--------
The required dependencies of
k
want are best installed with one of the packaging
The required dependencies of
K
want are best installed with one of the packaging
systems. Here we only consider the case of `MacPorts
<http://www.macports.org>`_ in detail. Some remarks for homebrew are given
below.
...
...
@@ -313,7 +313,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
k
want on Mac OSX is somewhat more involved than
You might note that installing
K
want on Mac OSX 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
...
...
@@ -323,7 +323,7 @@ with the environment variables ``CC`` and ``LDSHARED`` as shown above.
Notes on homebrew
.................
It is also possible to build
k
want using homebrew. The dependencies can be
It is also possible to build
K
want using homebrew. The dependencies can be
installed as ::
brew install gfortran python
...
...
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