slorado

Building CUDA version of slorado on x84_64

  1. To build for the NVIDIA GPU, you need to have the CUDA toolkit installed. We have tested with CUDA 10, 11 and 12.

  2. A minimum g++ version of 5.4 (available on Ubuntu 16.04 or higher) is required as of slorado 0.2.0 due to libtorch v2.0.0.

  3. Install zlib development files needed for slow5lib:

     On Debian/Ubuntu : sudo apt-get install zlib1g-dev
     On Fedora/CentOS : sudo dnf/yum install zlib-devel
    
  4. Clone the slorado repository recursively

     git clone --recursive https://github.com/BonsonW/slorado
     cd slorado
    
  5. Run the script that downloads and extracts torchlib.

     scripts/install-torch2.sh cuda
    
  6. Invoke make

     make cuda=1 -j
    
  7. See the slorado version

     ./slorado --version
    

Advanced building options