MATLAB Parallel Computing Toolbox Demo
function benchmarkpct(ncpus) | |
sched= findResource('scheduler', 'type', 'mpiexec') ; | |
set(sched, 'EnvironmentSetMethod', 'setenv') | |
set(sched, 'MpiexecFileName', '/home/software/rhel6/mpiexec/bin/mpiexec') | |
sched | |
%get current mpi library | |
mpiLibConf | |
matlabpool (sched, ncpus) | |
paralleldemo_backslash_bench(1.25) | |
matlabpool close; | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment