Question: Problems trying to run simple_test in linux binary distribution
gravatar for rsharris
23 months ago by
United States
rsharris20 wrote:

I am new to DSK. The following may be the result of me failing to find some docs somewhere, so if that's the case please point me at them.

I've downloaded the linux binaries for 2.0.6 and found so I thought I would try running it to see if the binaries will work on my machine. But I've run into a couple problems that appear to be problems with the test script itself.

The first is that the shebang line in the script uses $bindir, which I didn't have defined. Is that something linux users typically have defined? In any case, that was easy enough to get past.

The second problem, which has me stumped, is that most of the tests want to use a file "dsk/histogram".  I can't find this file in the binaries distribution.  I've also looked in the source code distribution and I don't see it there either.

Thanks in advance for any help,

Bob H


dsk minia • 584 views
ADD COMMENTlink modified 23 months ago by Rayan Chikhi1.2k • written 23 months ago by rsharris20
gravatar for Rayan Chikhi
23 months ago by
Rayan Chikhi1.2k
France, Lille, CNRS
Rayan Chikhi1.2k wrote:

Hi Bob!

Thanks for this post! you've found two problems with

1) $bindir is not a typical variable. The "#!/$bindir/bash" line was a mistake that went unnoticed (it arised when globally replacing "bin" to "$bindir" in the whole file).

2) "dsk/histogram" is actually not a file, but a reference of a section within the results file of DSK (which is in the HDF5 format). This reference used to be "dsk/histogram" in old versions, but we recently updated the GATB library to make reference "histogram/histogram". wasn't updated so that's why it complained.

I've just pushed an update (DSK 2.0.7) that fixes those issues. Please let me know if you see other problems!


ADD COMMENTlink written 23 months ago by Rayan Chikhi1.2k

Thanks Rayan,

I've made that change in my copy of the 2.0.6, and the tests all pass now.

I wasn't able to find 2.0.7 (and that's OK). I'd gotten 2.0.6 from and the update hasn't made it there yet. I then tried to find a DSK repository online but gave up fairly quickly because I wasn't sure if what I found was up to date, and it appeared to be source code only (I'd tried to build from source yesterday but failed because my version of cmake is too old).

Anyway, I'm up and running, thanks!

Bob H

ADD REPLYlink written 23 months ago by rsharris20

Oh, had forgotten to update DSK website, it's there now.

Glad to know you got it to work on your own!

Indeed, our release locations of DSK are a bit scattered. There's no public source code repo, and I update the DSK web site manually. There's the GATB web site which automatically gathers new versions, although the script has issues with recent versions of Chrome (

ADD REPLYlink written 23 months ago by Rayan Chikhi1.2k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1247 users visited in the last hour