Skip to content

Commit 36d989f

Browse files
authored
Update getting-started.md (#378)
1 parent bebf7bf commit 36d989f

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,26 @@ Another example is the high-Mach flow over an airfoil, shown below.
5050

5151
You can navigate [to this webpage](https://mflowcode.github.io/documentation/md_getting-started.html) to get started using MFC!
5252
It's rather straightforward.
53-
5453
We'll give a brief intro. here for MacOS.
5554
Using [brew](https://brew.sh), install MFC's modest set of dependencies:
5655
```console
57-
brew install wget make python make cmake coreutils gcc mpich
56+
brew install wget python cmake gcc@13 mpich
5857
```
5958
You're now ready to build and test MFC!
60-
Clone it to a convenient directory via
59+
Put it to a convenient directory via
6160
```console
6261
git clone https://github.com/mflowcode/MFC.git
6362
cd MFC
6463
```
65-
then build and test!
64+
and make sure MFC knows what compilers to use by putting the following in your `~/.profile`
65+
```console
66+
export CC=gcc-13
67+
export CXX=g++-13
68+
export FC=gfortran-13
69+
```
70+
and source that file, build, and test!
6671
```console
72+
source ~/.profile
6773
./mfc.sh build -j 8
6874
./mfc.sh test -j 8
6975
```

docs/documentation/getting-started.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ sudo apt update
3030
sudo apt upgrade
3131
sudo apt install tar wget make cmake gcc g++ \
3232
python3 python3-dev \
33-
"openmpi-*" libopenmpi-dev
33+
"openmpi-*" libopenmpi-dev \
34+
python3-venv
3435
```
3536

3637
- **Via [Pacman](https://wiki.archlinux.org/title/pacman):**
@@ -120,7 +121,7 @@ export FC=gfortran-$MFC_GCC_VER
120121
**Close the open editor and terminal window**. Open a **new terminal** window before executing the commands below.
121122

122123
```console
123-
brew install wget make python make cmake coreutils gcc@$MFC_GCC_VER mpich
124+
brew install wget python cmake gcc@$MFC_GCC_VER mpich
124125
```
125126

126127
They will download the dependencies MFC requires to build itself.

0 commit comments

Comments
 (0)