|
MPI InstallationTo 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:
> su
Copy the debug library to the correct location (here we assume /usr/lib) > cp noinfiniband/liblldebugmpi.so.1.1 /usr/libGo to that location (here we assume /usr/lib) > cd /usr/libMake the two symlinks to properly install the library > ln -sf liblldebugmpi.so.1.1 liblldebugmpi.soNext choose if you want to install with infiniband support or not. Infiniband support requires installation of the ibverbs library to work. Copy the correct one to the lib directory. i.e. > cd <directory with right library>Make the two symlinks to properly install the library > ln -sf libllmpi.so.1.1 libllmpi.soRegenerate your library cache for the directory you are in (assuming /usr/lib) > ldconfig -n /usr/libOnce the libraries are installed, copy the executables into a binary directory in your PATH. /usr/local/bin or /opt/bin are good choices. > cd <download directory>Make the executables runnable: > chmod +x /usr/local/bin/mpiexecmpicc is a shell script. You may want to tweak it a bit to match your build system. By default it uses gcc as a compiler. Change the CC shell variable to another C compiler to use it instead. Copy the header files to an include directory: > cp mpi.h /usr/local/includeNow, 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) > cd /usr/local/share/manMake sure man1 and man3 subdirectories exist. If not, make them: > lsCopy man pages for MPI executables: > cp <download directory>/man/man1/* man1/Copy man pages for MPI library functions: > cp <download directory>/man/man3/* man3/Finally, update the man database: > mandbDone - all installed > exitTo uninstall Lockless MPI, simply remove the libraries from the lib directory, executables from the bin directory, and delete the man pages. |
|
| About Us | Returns Policy | Privacy Policy | Send us Feedback |
|
Company Info |
Product Index |
Category Index |
Help |
Terms of Use
Copyright © Lockless Inc All Rights Reserved. |