Skip to content

Commit cf47114

Browse files
authored
Add instructions using Conda (#172)
1 parent ca219cd commit cf47114

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ HDF5 install.
9090
The `-fno-frontend-optimize` disables some optimizations that may be harmful
9191
when building neural-fortran.
9292

93+
If you use Conda, the following instructions work:
94+
95+
```
96+
conda create -n nf hdf5
97+
conda activate nf
98+
fpm build --profile release --flag "-fno-frontend-optimize -I$CONDA_PREFIX/include -L$CONDA_PREFIX/lib -Wl,-rpath -Wl,$CONDA_PREFIX/lib"
99+
fpm test --profile release --flag "-fno-frontend-optimize -I$CONDA_PREFIX/include -L$CONDA_PREFIX/lib -Wl,-rpath -Wl,$CONDA_PREFIX/lib"
100+
```
101+
93102
#### Building in parallel mode
94103

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

0 commit comments

Comments
 (0)