[pragatheeswaran@prairiefire ~]$ mpic++ -I bin/boostpath/include main.cpp -L bin/boostpath/lib/ -lboost_mpi -lboost_serialization
[pragatheeswaran@prairiefire ~]$ ldd a.out
libboost_mpi.so.1.41.0 => not found
libboost_serialization.so.1.41.0 => not found
libmpi_cxx.so.0 => not found
libmpi.so.0 => not found
libopen-rte.so.0 => not found
libopen-pal.so.0 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x0000003b54200000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003b57200000)
libutil.so.1 => /lib64/libutil.so.1 (0x0000003b64400000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003c63800000)
libm.so.6 => /lib64/libm.so.6 (0x0000003b54600000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003c66600000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003b54a00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003b53e00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003b53a00000)
[pragatheeswaran@prairiefire ~]$ mpirun -np 4 a.out
a.out: error while loading shared libraries: libboost_mpi.so.1.41.0: cannot open shared object file: No such file or directory
a.out: error while loading shared libraries: libboost_mpi.so.1.41.0: cannot open shared object file: No such file or directory
a.out: error while loading shared libraries: libboost_mpi.so.1.41.0: cannot open shared object file: No such file or directory
a.out: error while loading shared libraries: libboost_mpi.so.1.41.0: cannot open shared object file: No such file or directory
[pragatheeswaran@prairiefire ~]$