Closed alejoe91 closed 4 years ago
The issue is that your GPU hardware is not supported by CUDA9.1. You should run "irc2 install" instead of "irc install" which is now deprecated. The new version (5.5.13) will compile for CUDA compute capability 3.5 by default which supports a wide range of GPUs. The code performance was similar when I compiled for cuda 3.5 when compared with later versions. The compute capability is set by cuda_arch='sm_35'
in default.cfg
.
I used irc2 install
and the installation runs fine. However I still get this error when running it:
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018b (9.5.0.944444) 64-bit (glnxa64)
August 28, 2018
To get started, type doc.
For product information, visit www.mathworks.com.
===================================================
IronClust Version: 2
===================================================
irc2: cleared all
Running irc2.m (v5.5.12)
nTime_batch = 15 (batch_sec_drift = 300.0 s)
nTime_drift = 6 (step_sec_drift = 20.0 s)
Created /home/torkel/apps/spikeinterface/tmp_ironclust/tmp/raw_geom.prm
Read /home/torkel/apps/spikeinterface/tmp_ironclust/ironclust_dataset/raw.mda (1/1), took 0.4s (1146.1 MB/s, 460.8 MB)
get_prinvec_: took 0.1s
Detecting 1/1: 4266 spikes found (1246.8 spikes/s, 134.7 MB/s, took 3.4 s)
Detection took 3.5s and used 0.651 GiB (fParfor=0, fGpu=1)
Saving a struct to /home/torkel/apps/spikeinterface/tmp_ironclust/tmp/raw_geom_irc.mat...
took 0.0s.
Clustering
Calculating drift similarity...
took 0.0s
get_pc_sort_: feature trimmed 48->45
sort_page_: calculating Rho...
Page 1/1 ----------------------------------------Array indices must be positive integers or logical values.
This is with a fresh clone and install of ironclust. Any idea? I haven't encountered this error with previous versions of ironclust. And I get the same error even if I don't run irc2 install
.
Could you please pull the latest version (5.5.13)? If you still experience the same problem, could you please share the dataset with me?
-James
On Fri, Jan 24, 2020 at 12:10 PM Alessio Buccino notifications@github.com wrote:
I used irc2 install and the installation runs fine. However I still get this error when running it:
< M A T L A B (R) > Copyright 1984-2018 The MathWorks, Inc. R2018b (9.5.0.944444) 64-bit (glnxa64) August 28, 2018
To get started, type doc. For product information, visit www.mathworks.com.
=================================================== IronClust Version: 2
irc2: cleared all Running irc2.m (v5.5.12) nTime_batch = 15 (batch_sec_drift = 300.0 s) nTime_drift = 6 (step_sec_drift = 20.0 s) Created /home/torkel/apps/spikeinterface/tmp_ironclust/tmp/raw_geom.prm Read /home/torkel/apps/spikeinterface/tmp_ironclust/ironclust_dataset/raw.mda (1/1), took 0.4s (1146.1 MB/s, 460.8 MB) getprinvec: took 0.1s Detecting 1/1: 4266 spikes found (1246.8 spikes/s, 134.7 MB/s, took 3.4 s) Detection took 3.5s and used 0.651 GiB (fParfor=0, fGpu=1) Saving a struct to /home/torkel/apps/spikeinterface/tmp_ironclust/tmp/raw_geom_irc.mat... took 0.0s. Clustering Calculating drift similarity... took 0.0s get_pcsort: feature trimmed 48->45 sortpage: calculating Rho... Page 1/1 ----------------------------------------Array indices must be positive integers or logical values.
This is with a fresh clone and install of ironclust. Any idea? I haven't encountered this error with previous versions of ironclust. And I get the same error even if I don't run irc2 install.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/flatironinstitute/ironclust/issues/37?email_source=notifications&email_token=ACEHBOAVSIHKBCCF5R3RL5TQ7MOIHA5CNFSM4KLF4EEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ3ORFY#issuecomment-578218135, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEHBOHVVW7GNR4EQNOGKUTQ7MOIHANCNFSM4KLF4EEA .
I used the latest master commit 5.5.14 and it works now :) Both with and without GPU. Thanks!
Hi @jamesjun
I get an error when running IC (through spikeinterface):
This is even before running
irc install
. When I runirc install
I get the follwoing:I'm running on a Ubuntu 18.04, Matlab2018b, CUDA 9.1, GeForce RTX 2080Ti.
Thanks for the help! Alessio