Skip to content

Commit

Permalink
Changed working directory slurm
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshuman Raina committed Nov 12, 2024
1 parent 54c52cd commit 0fb0f9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- feature/ci-cd-pipeline

jobs:
test-hpc:
Benchmarking-pipeline:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
- name: Fetch Output
run: |
scp raina.ans@login-00.discovery.neu.edu:/work/VitekLab/Projects/Benchmarking/job_output/job_output.txt job_output.txt
scp raina.ans@login-00.discovery.neu.edu:/work/VitekLab/Projects/Benchmarking/job_output/job_error.txt job_error.txt
scp raina.ans@login-00.discovery.neu.edu:/work/VitekLab/Projects/Benchmarking/job_output.txt job_output.txt
scp raina.ans@login-00.discovery.neu.edu:/work/VitekLab/Projects/Benchmarking/job_error.txt job_error.txt
- name: Upload Output as Artifact
uses: actions/upload-artifact@v4
Expand Down
5 changes: 3 additions & 2 deletions benchmark/config.slurm
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
#SBATCH --job-name=msstats_benchmark_job
#SBATCH --output=/work/VitekLab/Projects/Benchmarking/job_output/job_output.txt
#SBATCH --error=/work/VitekLab/Projects/Benchmarking/job_output/job_error.txt
#SBATCH --chdir=/work/VitekLab/Projects/Benchmarking/
#SBATCH --output=job_output.txt
#SBATCH --error=job_error.txt
#SBATCH --time=01:00:00 # Set the maximum run time
#SBATCH --ntasks=1 # Number of tasks (one process)
#SBATCH --cpus-per-task=8 # Use 8 CPU cores for the task
Expand Down

0 comments on commit 0fb0f9c

Please sign in to comment.