-
Notifications
You must be signed in to change notification settings - Fork 0
/
msglm_fit_chunk_phospho.lrz.sh
52 lines (43 loc) · 1.39 KB
/
msglm_fit_chunk_phospho.lrz.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#! /bin/sh
#SBATCH -o /gpfs/scratch/pn69ha/ge54heq2/logs/mpxv/%x_%j.log
#SBATCH -J msglm_mpxv_phospho
#SBATCH --get-user-env
#SBATCH --clusters=cm2_tiny
#SBATCH --nodes=1-4
##SBATCH --clusters=cm2
##SBATCH --partition=cm2_std
##SBATCH --qos=cm2_std
##SBATCH --nodes=3-24
##SBATCH --clusters=cm2
##SBATCH --partition=cm2_large
##SBATCH --qos=cm2_large
##SBATCH --nodes=25-32
#SBATCH --ntasks-per-node=4
#SBATCH --mincpus=7
##SBATCH --mem-per-cpu=2GB
##SBATCH --exclusive=user
#SBATCH --cpus-per-task=7
##SBATCH --ntasks-per-socket=1
#SBATCH --mail-type=end
#SBATCH [email protected]
#SBATCH --export=NONE
#SBATCH --time=48:00:00
module load slurm_setup
module load charliecloud
IMAGES_PATH=$(realpath $HOME)
CHUDIS_PATH=$HOME/projects/cool_chunk_dispatcher
PROJECT_ID=mpxv
DATA_VERSION=20220811
FIT_VERSION=20220813
srun --wait=0 --no-kill --distribution=block --exclusive=user \
-o $SCRATCH/logs/$PROJECT_ID/%x_%j_%t.log \
${CHUDIS_PATH}/slurmstep_process_chunks.sh "${PROJECT_ID}_phospho_${FIT_VERSION}" $USER \
"ch-run $IMAGES_PATH/archpc.msglm \
-t --no-home --unset-env='*PATH' \
--set-env=$HOME/projects/adhoc/$PROJECT_ID/archpc.env \
-b $HOME/projects/adhoc:/projects/adhoc \
-b $HOME/data:/data \
-b $HOME/analysis:/analysis \
-b $SCRATCH:/scratch \
-- Rscript /projects/adhoc/$PROJECT_ID/msglm_fit_chunk_phospho.R \
$PROJECT_ID $SLURM_JOB_NAME $DATA_VERSION $FIT_VERSION"