Difference between revisions of "CD task8 protocol"

From Bioinformatikpedia
(Preparation)
 
(3 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
rename Scwrl4 to scwrl
 
rename Scwrl4 to scwrl
   
*Job script: job.sh
+
*Job script for testing: job.sh
  +
 
#!/bin/bash
 
#!/bin/bash
 
#SBATCH -o /home/hpc/pr58ni/di34fog/jobs/wt/wt_md.out
 
#SBATCH -o /home/hpc/pr58ni/di34fog/jobs/wt/wt_md.out
Line 33: Line 34:
 
export PATH="$HOME/software/scwrl/:$PATH"
 
export PATH="$HOME/software/scwrl/:$PATH"
 
AGroS 2O4H_chainA.pdb --scwrlPATH /home/hpc/pr58ni/di34fog/software/scwrl -dir /home/hpc/pr58ni/di34fog/jobs/wt -threads 32
 
AGroS 2O4H_chainA.pdb --scwrlPATH /home/hpc/pr58ni/di34fog/software/scwrl -dir /home/hpc/pr58ni/di34fog/jobs/wt -threads 32
  +
  +
for real run:
  +
--time 32:00:00
  +
--partitition=mpp1
  +
**Watch out, --partition is not the same as --clusters. Maybe check the sbatch manual again. I'm not completely sure what might happen either, but since you will probably also be waiting quite some time until your job finally starts, maybe you shouldn't take any chances and change it to --clusters=mpp1? -jonas
   
   
Line 40: Line 46:
   
 
*Status:
 
*Status:
squeue -u di34fog
+
squeue -u di34fog --cluster mpp1
  +
squeue --cluster mpp1

Latest revision as of 09:56, 29 June 2012

Preparation

  • Load LRZ tools:
module load lrztools
  • Load git
module load git
  • clone git repository:
git clone git://github.com/offmarc/AGroS.git
  • SetPath
export PATH=$PATH:$HOME/AGroS/
export PATH=$PATH:$HOME/software/scwrl/
rename Scwrl4 to scwrl
  • Job script for testing: job.sh
#!/bin/bash
#SBATCH -o /home/hpc/pr58ni/di34fog/jobs/wt/wt_md.out
#SBATCH -D /home/hpc/pr58ni/di34fog/jobs/wt
#SBATCH -J wt_MD
#SBATCH --partition=mpp1_inter
#SBATCH --get-user-env
#SBATCH --ntasks=32
#SBATCH --mail-type=end
#SBATCH --mail-user=susann.vorberg@cmapus.lmu.de
#SBATCH --export=NONE
#SBATCH --time=02:00:00
source /etc/profile.d/modules.sh
module load gromacs
export PATH="$HOME/AGroS:$PATH"
export PATH="$HOME/apps/bin/:$PATH"
export PATH="$HOME/software/scwrl/:$PATH"
AGroS 2O4H_chainA.pdb --scwrlPATH /home/hpc/pr58ni/di34fog/software/scwrl -dir /home/hpc/pr58ni/di34fog/jobs/wt -threads 32

for real run:

--time 32:00:00
--partitition=mpp1
    • Watch out, --partition is not the same as --clusters. Maybe check the sbatch manual again. I'm not completely sure what might happen either, but since you will probably also be waiting quite some time until your job finally starts, maybe you shouldn't take any chances and change it to --clusters=mpp1? -jonas


  • Log in and submit job
ssh -X lxia4-1
sbatch job.sh
  • Status:
squeue -u di34fog --cluster mpp1
squeue --cluster mpp1