epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
144 stars 59 forks source link

Update slurm version for ubuntu #3373

Closed tcibinan closed 10 months ago

tcibinan commented 11 months ago

Relates #3330.

The pull request brings support for slurm 22.05.5 on ubuntu.

Additionally, the pull request:

The following run parameters are introduced:

Click here to see Dockerfile which was used to build slurm 22.05.5 on ubuntu ```Dockerfile FROM ubuntu:18.04 RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y wget \ vim \ xterm \ pulseaudio \ cups \ curl \ libgconf2-4 \ libnss3-dev \ libxss1 \ xdg-utils \ libpango1.0-0 \ fonts-liberation \ g++ \ git \ python \ mesa-utils \ build-essential \ cmake \ csh \ evince \ ghostscript-x \ libfftw3-dev \ libtiff5-dev \ unzip \ xorg-dev \ xorg \ libgtk2.0-0 \ libfltk1.3-dev \ libx11-dev \ gfortran \ && rm -rf /var/lib/apt/lists/* RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y munge \ libmunge-dev \ && rm -rf /var/lib/apt/lists/* RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y rubygems \ && rm -rf /var/lib/apt/lists/* \ && gem install fpm RUN mkdir /workdir \ && cd /workdir \ && wget "https://cloud-pipeline-oss-builds.s3.us-east-1.amazonaws.com/tools/slurm/slurm-22.05.5.tar.bz2" \ && tar --bzip -x -f slurm-22.05.5.tar.bz2 \ && cd slurm-22.05.5 \ && ./configure --prefix=/usr/local/slurm \ --sysconfdir=/etc/slurm \ --without-shared-libslurm \ && make \ && make install \ && cd .. \ && fpm -s dir -t deb \ -n slurm -v 22.05.5 \ --prefix=/usr/local/slurm \ --chdir /usr/local/slurm \ -p slurm_22.05.5_amd64.deb ```