PPM core is installed in 3 simple steps:
Step 1: Configuring PPM core
Run the ./configure script to allow the build system to determine the correct options to compile PPM core.
It is very important to give `configure` the correct settings to make sure PPM core is compiled correctly. To find out which settings are supported type
$ ./configure --help
Following options are especially important:
Here two examples on how you could run the configure command
./configure on Linux cluster using OpenMPI (and intel compilers, wrapped)
$ ./configure --enable-mpi=openmpi LDFLAGS=-L../../metis/lib --enable-linux
./configure on Mac OS X workstation with the MacPorts gcc compilers
$ ./configure FC=gfortran-mp-4.4 LDFLAGS=-L/Users/omar/sw/metis/gcc/lib
./configure on a computer with OpenMPI installed in a non-standard location
$ ./configure --enable-mpi=openmpi FC=/opt/openmpi/1.5/bin/mpif90 LDFLAGS=-L/Users/omar/sw/metis/gcc/lib
(The CC and CXX flags are not needed)
Step 2: Compiling PPM core
If the configure process finished successfully you should see on your screen a message that the Makefile has been generated (and you can now find this Makefile in this directory).
Now you can simply run make to compile PPM core:
If you encounter problems in the compilation process (compile errors) please, first check if you have set everything correctly in your environment. If the error persists, please send us a bug-report detailing the previous steps you have performed. Also, please include the config.log file and the output of export. Finally, if yu are using MPI, please include which MPI library you are using.
Step 3: Installing PPM core (optional)
If you wish to install PPM core you can now use the `make install` command to do so:
$ make install
If the target directory is part of the system, you will most probably get a message that you have insufficient rights. If you have a root account you can use in this case the sudo command to override this security setting.
$ sudo make install
Your PPM core distribution is installed.
Compiling PPM client code against PPM core
When compiling your PPM client code you need to first include the PPM core modules:
Enjoy the PPM experience!