Skip to content

How to build somalier? #144

@kpalin

Description

@kpalin

I've tried hard to build somalier but all attempts have failed.

My best attempt has been using a container apptainer shell --home /scratch/kpalin/tmp --bind /home/kpalin/software/somalier brentp/musl-hts-nim:latest running

/usr/local/bin/nsb -n somalier.nimble -s src/somalier.nim .

That fails with Error: Cannot satisfy the dependency on zip 0.3.1 and zip 0.2.1 .

Tinkering somalier.nimble I managed to get past that but then it requires cuda:

/home/kpalin/software/somalier/src/somalierpkg/findsites.nim(273, 9) Hint: 'x' is declared but not used [XDeclaredButNotUsed]
.......
/scratch/kpalin/tmp/.nimble/pkgs/nimblas-0.3.1/nimblas/private/common.nim(41, 12) Warning:     The flag -d:openblas is deprecated since NimBLAS 0.2
Use -d:blas=LIBNAME instead
   [User]
/scratch/kpalin/tmp/.nimble/pkgs/nimblas-0.3.1/nimblas/private/common.nim(52, 7) Hint: Using BLAS library matching pattern: libopenblas.so(|.3|.2|.1|.0) [User]
...................
/scratch/kpalin/tmp/.nimble/pkgs/nimcuda-0.2.2/nimcuda/cuda12_5/libpaths.nim(146, 10) Error: Could not find the cuda source headers! Please specify the location of the cuda includes directory by passing `-d:CudaIncludes="YOUR_PATH"` to the nim compiler.
error compiling code

Any hints how to do it? I'd like to edit the code, e.g. stripping out the html output and adjusting the tsv ones. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions