Skip to content

Instantly share code, notes, and snippets.

@brockpalen
Created February 3, 2015 01:51
Show Gist options
  • Save brockpalen/10243b1d9d211f0200e9 to your computer and use it in GitHub Desktop.
Save brockpalen/10243b1d9d211f0200e9 to your computer and use it in GitHub Desktop.
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