To install the Lockless MPI libraries, you must first copy them to the correct location in your file system.
This location depends on which linux distribution you use.The correct location is:
Copy the debug library to the correct location (here we assume /usr/lib)
Go to that location (here we assume /usr/lib)
Make the two symlinks to properly install the library
If you want FORTRAN support, you'll want the wrapper library installed as well:
Make the two symlinks to properly install it
Once you have installed all the libraries you need, regenerate your library cache for the directory you are in (assuming /usr/lib)
Once the libraries are installed, copy the executables into a binary directory in your PATH. /usr/local/bin or /opt/bin are good choices.
Choose if you want to install with infiniband support or not. Infiniband support requires installation of the ibverbs library to work.
Make the executables runnable:
mpicc, mpicxx and mpif77 are shell scripts. You may want to tweak them a bit to match your build system. By default they use gcc, g++ and gfortran as compilers. Change the CC, CXX or F77 shell variables to other compilers to use those instead.
Copy the header files to an include directory:
Now, you may choose to install the man pages if you wish. To keep them separate from system man pages, using /usr/local/share/man is a good choice. (This directory should be one of the ones listed in /etc/manpath.config)
Make sure man1 and man3 subdirectories exist. If not, make them:
Copy man pages for MPI executables:
Copy man pages for MPI library functions:
Finally, update the man database:
Done - all installed
To uninstall Lockless MPI, simply remove the libraries from the lib directory, executables from the bin directory, and delete the man pages.
Company Info |
Product Index |
Category Index |
Copyright © Lockless Inc All Rights Reserved.