Skip to content

Commit

Permalink
add database process on slurm
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKlug committed Aug 2, 2024
1 parent a6ff6a0 commit acd3f48
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions prediction/short_term_outcome_prediction/cluster/db_process.sbatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
#SBATCH --job-name=opsum_db # Job name
#SBATCH --partition=public-cpu
#SBATCH --ntasks=1
#SBATCH --mem=100G # Job memory request
#SBATCH --cpus-per-task=1
#SBATCH --time=2-00:00:00 # Time limit hrs:min:sec
#SBATCH --output=/home/users/k/klug/logs/short_term_opsum/opsum_db_%j.log # Standard output and error log

cd
echo $SLURM_NODELIST
./tools/redis/bin/redis-server ./tools/redis/redis.conf --port 6380
sleep 5m

# name available from other nodes as:
#squeue -n opsum_db -o "%R" -h

0 comments on commit acd3f48

Please sign in to comment.