Skip to content

Commit

Permalink
README: fix compile w/o git
Browse files Browse the repository at this point in the history
  • Loading branch information
barnex committed Nov 14, 2015
1 parent 7b31919 commit 0463d30
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ Consider downloading a pre-compiled binary. If you want to compile nevertheless:
- `go get github.com/mumax/3/cmd/mumax3`
* if you don't have git:
- seriously, no git?
- get and unzip the source from https://github.com/mumax/3/releases
- `cd path/to/mumax3/cmd/mumax3`
- `go build`
- get the source from https://github.com/mumax/3/releases
- unzip the source into $GOPATH/src/github.com/mumax/3
- `cd $GOPATH/src/github.com/mumax/3/cmd/mumax3`
- `go install`
* optional: install gnuplot if you want pretty graphs
- Ubuntu: `sudo apt-get install gnuplot`

Your binary is now at `$GOPATH/bin/mumax3`

To do all at once on Ubuntu:
```
sudo apt-get install git golang-go gcc nvidia-cuda-toolkit nvidia-cuda-dev nvidia-340 gnuplot
Expand Down

0 comments on commit 0463d30

Please sign in to comment.