-
Make sure you have an MPI installation available on your system, preferably a thread-safe one
-
./configure CC=mpicc F77=mpif77
-
make
-
cd demo; make
Installation:
-
./configure --prefix=<installation_directory> CC=mpicc F77=mpif77
-
make; make install
-
Add <installation_directory>/bin to your PATH. This will allow direct access to the torc_cflags and torc_libs flags
-
Compile your code with CFLAGS=
torc_cflags
and LDFLAGS=torc_libs
, e.g. mpicctorc_cflags
-o mytest mytest.ctorc_libs