sg-s/crabsort

error running crabsort

Closed this issue · 10 comments

Getting this error when trying to start crabsort:
Screen Shot 2020-10-15 at 9 53 53 AM (1)

All the packages have been newly downloaded, so is this a problem with the new MATLAB compatibility?

Thanks!

sg-s commented

crabsort works on my computer on R2018a, so I don't think it's a compatibility issue

Running

 parallel.FevalFuture

ans = 

 FevalFuture with properties: 

                   ID: -1
             Function: []
       CreateDateTime: 
        StartDateTime: 
     Running Duration: 0 days 0h 0m 0s
                State: unavailable
                Error: 

so it looks like your parallel pool is broken in some way. can you start one using parpool?

sg-s commented

Run this to check if parallel computing toolbox is installed:

v = ver;
pc_toolbox = any(~cellfun(@isempty, cellfun(@(x) strfind(x, 'Parallel Computing'), {v.Name},'UniformOutput', false)));
            assert(pc_toolbox, 'Parallel computing toolbox not installed!')
sg-s commented

based on the errors you showed me, it looks like you haven't installed the parallel toolbox.

can you run this:

v = ver;
pc_toolbox = any(~cellfun(@isempty, cellfun(@(x) strfind(x, 'Parallel Computing'), {v.Name},'UniformOutput', false)));
            assert(pc_toolbox, 'Parallel computing toolbox not installed!')
sg-s commented

update: it works on R2019b for me, so i'm pretty sure you just don't have the parallel toolbox

sg-s commented

the pref file will be generated when you first run crabsort...so if you're having other issues that prevent it from starting up, then you won't see the pref file

sg-s commented

also heads up: there is no release for crabsort anymore. you'll have to manually download it and necessary packages

see this

sg-s commented

Assuming everything works now, re-open if this is not the case