You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,18 +36,26 @@ To build the library and for it to work properly, please make sure that the foll
36
36
37
37
38
38
## Building
39
-
To build the library, it is recommended to use the provided Makefile:
39
+
To build the C library, it is recommended to use the provided Makefile:
40
40
```sh
41
41
make
42
42
```
43
+
To build the Fortran library, it is recommended to use the provided Makefile:
44
+
```sh
45
+
make buildf
46
+
```
43
47
Optionnaly, you can install/uninstall it from your computer (in `/usr/lib/` by default):
44
48
```sh
45
49
sudo make install
46
50
sudo make uninstall
47
51
```
48
52
This will first call `cargo` to build the Rust back-end in release mode (automatically exported to the `LD_LIBRARY_PATH` environment variable).
49
53
Then, it will compile the interposition library into a single `.so` file.
50
-
54
+
For the Fortran library use
55
+
```sh
56
+
sudo make installf
57
+
sudo make uninstallf
58
+
```
51
59
52
60
## Usage
53
61
**IMPORTANT NOTE:** It is mandatory that you compile both the Interpol library and the MPI application that you want to trace using the _same_`mpicc` compiler. This is because the MPI standard does not enforce any particular ABI, therefore, if the library and your program are not compiled with the same MPI implementation, conflicts may cause the traced program or the library to crash or generate incorrect traces.
@@ -56,6 +64,11 @@ If you've installed the library, the command to preload it when running your MPI
0 commit comments