Skip to content

Commit 202e272

Browse files
committed
Add note about building with Intel and HDF5
1 parent 971f849 commit 202e272

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,21 @@ cafrun -n 4 bin/mnist # run MNIST example on 4 cores
143143
#### Building with a different compiler
144144

145145
If you want to build with a different compiler, such as Intel Fortran,
146-
specify `FC` when issuing `cmake`:
146+
set the `HDF5_ROOT` environment variable to the root path of your
147+
Intel HDF5 build, and specify `FC` when issuing `cmake`:
147148

148149
```
149150
FC=ifort cmake ..
150151
```
151152

153+
for a parallel build of neural-fortran, or
154+
155+
```
156+
FC=ifort cmake .. -DSERIAL=1
157+
```
158+
159+
for a serial build.
160+
152161
#### Building with BLAS or MKL
153162

154163
To use an external BLAS or MKL library for `matmul` calls,

0 commit comments

Comments
 (0)