Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
slurm21 [2022/04/04 19:52] – nico | slurm21 [2022/04/04 19:59] (current) – nico |
---|
* MySQL | * MySQL |
| |
root@magi3:~# apt-get install munge gcc g++ wget bzip2 make python3 perl libhttp-parser-dev libjson-c-dev libmunge-dev hwloc-dev | root@magi3:~# apt-get install munge gcc g++ wget bzip2 make python3 perl libhttp-parser-dev libjson-c-dev libmunge-dev hwloc-dev mariadb-server libmariadb-dev |
| |
=== Install Mysql === | ===== Configure ===== |
| |
root@magi3:~# wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb | root@magi3:/store/sources/slurm-21.08.6# ./configure --prefix=/opt/slurm-21.08.6 --with-munge --enable-slurmrestd --enable-pam |
root@magi3:~# dpkg -i mysql-apt-config_0.8.22-1_all.deb | |
root@magi3:~# apt-get install mysql-community-server libmysqlclient-dev | |
| |
===== Configure ===== | ===== Make ===== |
| |
root@magi3:/softs/itensor-3# cp options.mk.sample options.mk | root@magi3:/store/sources/slurm-21.08.6# make && make install && make contrib && make install-contrib |
| root@magi3:/store/sources/slurm-21.08.6# cd ./contribs/pam_slurm_adopt/ |
| root@magi3:/store/sources/slurm-21.08.6# make && make install |
| |
In options.mk : | ===== Post Installation ===== |
| |
#PLATFORM=macos | root@magi3:/store/sources/slurm-21.08.6# useradd -d /var/slurm -r -u 600 -U slurm |
#BLAS_LAPACK_LIBFLAGS=-framework Accelerate | |
| |
PLATFORM=lapack | |
BLAS_LAPACK_LIBFLAGS=-L/path/to/lapack/lib -llapack -lblas | |
| |
===== Make ===== | |
| |
root@magi3:/softs/itensor-3# make | |
| |
===== Module file ===== | ===== Module file ===== |