SHARE
TWEET

Untitled

a guest Jun 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. #SBATCH -o job-%A_task.out
  3. #SBATCH --job-name=paral_cor
  4. #SBATCH --partition=normal
  5. #SBATCH --time=1-00:00:00
  6. #SBATCH --mem=200G
  7. #SBATCH --cpus-per-task=16
  8. #SBATCH --array=1-10
  9.  
  10. #Set up whatever package we need to run with
  11.  
  12. module load gcc/8.1.0 openblas/0.3.3 R
  13.  
  14. # SET UP DIRECTORIES
  15.  
  16. OUTPUT="$HOME"/PROJET_M2/data/$(date +"%Y%m%d")_parallel_nodes_test
  17. mkdir -p "$OUTPUT"
  18.  
  19. export FILENAME="$HOME"/vipailler/PROJET_M2/bin/RHO_COR.R
  20.  
  21. subset=$((SLURM_ARRAY_TASK_ID))
  22. file="$HOME"/PROJET_M2/raw/truelength2.prok2.uniref2.rares.tsv
  23.  
  24. #Run the program
  25.  
  26. echo "Start job :"`date` >> "$OUTPUT"/"$SLURM_ARRAY_TASK_ID".txt
  27. echo "Start job :"`date`
  28.  
  29. echo PWD $PWD
  30.  
  31. Rscript $FILENAME --file $file --subset $subset   > "$OUTPUT"/"$SLURM_ARRAY_TASK_ID"
  32.  
  33. wait
  34.  
  35.  
  36. echo "Stop job : "`date` >> "$OUTPUT"/"$SLURM_ARRAY_TASK_ID".txt
  37. echo "Stop job : "`date`
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top