-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_on_hpc_cpu.sh
25 lines (21 loc) · 913 Bytes
/
run_on_hpc_cpu.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
#!/usr/bin/bash
#SBATCH --job-name=MPOCtrL # Job name
#SBATCH --partition=batch # Use the GPU partition (modify as needed)
#SBATCH --ntasks=1 # Number of tasks
#SBATCH --cpus-per-task=8 # Number of CPU cores per task (adjust as needed)
#SBATCH --mem=128G # Request xGB of memory
#SBATCH --time=02:00:00 # Set a x-hour time limit
# Read the input arguments
input_dir_path=$1
network_dir_path=$2
output_dir_path=$3
gene_expression_file_name=$4
compounds_reactions_file_name=$5
reactions_genes_file_name=$6
python3 src/main.py \
--input_dir_path ${input_dir_path} \
--network_dir_path ${network_dir_path} \
--output_dir_path ${output_dir_path} \
--gene_expression_file_name ${gene_expression_file_name} \
--compounds_reactions_file_name ${compounds_reactions_file_name} \
--reactions_genes_file_name ${reactions_genes_file_name}