slorado

Building ROCM version of slorado on x84_64

  1. To build for the AMD GPU, you need to have the ROCM SDK installed. As of slorado v0.3.0, as we are using libtorch v2.2.0 with rocm 5.7, you will need rocm 5.7.x.

  2. A minimum g++ version of 9 (available on Ubuntu 20.04 or higher) is required as of slorado v0.3.0 due to libtorch v2.2.0 we use.

  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 rocm
    
  6. Call make

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

     ./slorado --version
    

Advanced building options