Skip to content

Commit 7d60afe

Browse files
authored
Merge pull request #31 from su2code/feature_python_version
Updated required python version
2 parents b9e5469 + 0926d73 commit 7d60afe

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

_docs_v7/Build-SU2-Linux-MacOS.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ If you want to use the python wrapper capabilities, also `swig` and `mpi4py` are
8080

8181
On **Mac OS X**, you can use the [Homebrew](http://brew.sh/) package manager. Once it is installed on your system, you can install Swig by running:
8282

83-
$ sudo brew install swig
83+
$ brew install swig
8484

8585
Install mpi4py with Python pip using easy install:
8686

87-
$ sudo easy_install pip
88-
$ sudo pip install mpi4py
87+
$ easy_install pip
88+
$ pip install mpi4py
8989

9090
---
9191

@@ -198,4 +198,9 @@ Meson looks for an MPI installation using [pkg-config](https://en.wikipedia.org/
198198
### mpi4py library is not found ###
199199
Meson imports the mpi4py module and searches for the include path. If it is installed in a custom location, make sure to add this path to the `PYTHONPATH` environment variable prior calling `meson.py`.
200200

201-
201+
### Ninja compiles but fails to install ###
202+
If building on a cluster that uses a NFS filesystem, ninja may finish the compilation but fail to install with an error such as:
203+
```
204+
OSError: [Errno 22] Invalid argument: 'SU2_CFD/src/SU2_CFD'
205+
```
206+
This is a known bug in earlier versions of Python 3. Try upgrading to Python >= 3.7 then rerun ninja.

0 commit comments

Comments
 (0)