Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mpiLibConf.m
function [lib, extras] = mpiLibConf
%MATLAB MPI Library overloading for Infiniband and Ethernet Networks
%
%USAGE
% place in ~/matlab/mpiLibConf.m
% Update to point to your MPICH / Intel MPI etc location
% mvapich has two extra libraries libmpl.so and libopa.so
% use # ldd /home/software/rhel6/mvapich2/1.8/lib/libmpich.so
% Any libraries from the mpich/mvapich install location need to be included in extras
lib = '/home/software/rhel6/mvapich2/1.8/lib/libmpich.so';
extras = {'/home/software/rhel6/mvapich2/1.8/lib/libmpl.so',
'/home/software/rhel6/mvapich2/1.8/lib/libopa.so'};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment