#!/bin/bash #SBATCH --job-name=compile #SBATCH --output=%x.o%j #SBATCH --time=01:00:00 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=20 #SBATCH --mem=80G #SBATCH --partition=cpu_short # (see available partitions) # To clean and to load the same modules at the compilation phases module purge module load anaconda2/2019.10/gcc-9.2.0 module load gcc/9.2.0/gcc-4.8.5 module load boost/1.70.0/intel-19.0.3.199 module load boost/1.72.0/gcc-9.2.0 module load numactl/2.0.12/gcc-9.2.0 module load sqlite/3.30.1/intel-19.0.3.199 #export CC=icc #export CXX=icpc export CC=gcc export CXX=g++ export MERCURIUM=/gpfs/users/massimof/mcxx/install # echo of commands set -x # To compute in the submission directory cd ${SLURM_SUBMIT_DIR} autoreconf -fiv ./configure --prefix=$MERCURIUM --enable-ompss-2 --with-nanos6=/gpfs/users/massimof/nanos6/install make -j 20 make install