Hi, I want to use parallel GPU-Computing for MatConvNet (code for multiple GPUs already exists). But I get a Matlab error in the Parallel Computing Toolbox.
At the command SPMD this error occurcs: "The parallel pool that SPMD was using has been shut down."
Code from MatConvNet:
function prepareGPUs(opts, cold)numGpus = numel(opts.gpus) ;if numGpus > 1 % check parallel pool integrity as it could have timed out
pool = gcp('nocreate') ; if ~isempty(pool) && pool.NumWorkers ~= numGpus delete(pool) ; end pool = gcp('nocreate') ; if isempty(pool) parpool('local', numGpus) ; cold = true ; endendif numGpus >= 1 && cold fprintf('%s: resetting GPU\n', mfilename) clearMex() ; if numGpus == 1 gpuDevice(opts.gpus) else spmd clearMex() ; gpuDevice(opts.gpus(labindex)) end endend
That is why I try to test the parallel toolbox itself and get the same error. See attached image…
A out of ERROR-LOG-FILE (complete Log-FILE in the appendix)
job aborted: rank: node: exit code[: error message] 0: 127.0.0.1: -2 1: 127.0.0.1: 0: process 1 exited without calling finalize 2: 127.0.0.1: -2 3: 127.0.0.1: -2
I am using Ubuntu 14.4 and 4 TITAN Xp
Any ideas, what I can do? Thanks for help! Regards, André
Best Answer