mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-12-21 11:53:31 +01:00
Broadcasts
This commit is contained in:
parent
ee52c024e4
commit
937d75c752
24
INSTALL.md
24
INSTALL.md
@ -21,6 +21,14 @@ export LACAML_LIBS="-L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_rt -lpthr
|
||||
opam install lacaml
|
||||
```
|
||||
|
||||
# MPI
|
||||
|
||||
MPI is the Message Passing Interface, required for distributed parallelism.
|
||||
|
||||
```bash
|
||||
opam install mpi
|
||||
```
|
||||
|
||||
To use Intel MPI
|
||||
|
||||
```bash
|
||||
@ -42,3 +50,19 @@ cd odoc-ltxhtml
|
||||
make install
|
||||
```
|
||||
|
||||
# Alcotest
|
||||
|
||||
Lightweight and colourful test framework
|
||||
|
||||
```bash
|
||||
opam install alcotest
|
||||
```
|
||||
|
||||
# Zarith
|
||||
|
||||
Implements arithmetic and logical operations over arbitrary-precision integer
|
||||
|
||||
```bash
|
||||
opam install zarith
|
||||
```
|
||||
|
||||
|
@ -32,7 +32,8 @@ let broadcast_int x =
|
||||
|
||||
|
||||
let broadcast_int_array x =
|
||||
Mpi.broadcast_int_array x 0 Mpi.comm_world
|
||||
Mpi.broadcast_int_array x 0 Mpi.comm_world;
|
||||
x
|
||||
|
||||
|
||||
let broadcast_float x =
|
||||
@ -40,7 +41,8 @@ let broadcast_float x =
|
||||
|
||||
|
||||
let broadcast_float_array x =
|
||||
Mpi.broadcast_float_array x 0 Mpi.comm_world
|
||||
Mpi.broadcast_float_array x 0 Mpi.comm_world;
|
||||
x
|
||||
|
||||
|
||||
let broadcast_vec x =
|
||||
|
Loading…
Reference in New Issue
Block a user