Skip to content

Commit

Permalink
Add instructions using Conda (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
certik authored Apr 18, 2024
1 parent ca219cd commit cf47114
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ HDF5 install.
The `-fno-frontend-optimize` disables some optimizations that may be harmful
when building neural-fortran.

If you use Conda, the following instructions work:

```
conda create -n nf hdf5
conda activate nf
fpm build --profile release --flag "-fno-frontend-optimize -I$CONDA_PREFIX/include -L$CONDA_PREFIX/lib -Wl,-rpath -Wl,$CONDA_PREFIX/lib"
fpm test --profile release --flag "-fno-frontend-optimize -I$CONDA_PREFIX/include -L$CONDA_PREFIX/lib -Wl,-rpath -Wl,$CONDA_PREFIX/lib"
```

#### Building in parallel mode

If you use GFortran and want to run neural-fortran in parallel,
Expand Down

0 comments on commit cf47114

Please sign in to comment.