Scripts for CPMD: Difference between revisions

From Wiki
Jump to navigation Jump to search
Hnguyen (talk | contribs)
No edit summary
Rgarcia (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
go back to [[Main Page]], [[Group Pages]], [[Núria López and Group]], [[Scripts_for_VASP]]
To submit to CSUC pirineus
To submit to CSUC pirineus
<pre>
<pre>
Line 9: Line 11:
# BSUB -R pirineus
# BSUB -R pirineus
# BSUB -n 2
# BSUB -n 2
# BSUS -N -u YOUREMAIL@iciq.es
# BSUB -N -u YOUREMAIL@iciq.es
. /opt/modules/init/bash
. /opt/modules/init/bash
module load cpmd/4.1
module load cpmd/4.1

Latest revision as of 12:48, 17 November 2017

go back to Main Page, Group Pages, Núria López and Group, Scripts_for_VASP

To submit to CSUC pirineus

#!/bin/bash

# BSUB -J cpmd
# BSUB -e cpmd.err
# BSUB -o cpmd.log
# BSUB -q short
# BSUB -R pirineus
# BSUB -n 2
# BSUB -N -u YOUREMAIL@iciq.es
. /opt/modules/init/bash
module load cpmd/4.1

cp 1-h2-wave.inp $TMPDIR  #Input file
cp *.psp $TMPDIR  #Pseudopotentials

cd $TMPDIR

mpirun -np 2 /prod/CPMD/CPMD-4.1/bin/cpmd.x 1-h2-wave.inp > cpmd.out

mkdir -p $SCRATCH/$LSB_JOBID
cp * $SCRATCH/$LSB_JOBID

# move to HOME and delete in scratch
mv $SCRATCH/$LSB_JOBID $HOME/.


Jobs are sent to CSUC queue with the command

bsub< jobname.lsf

Do not forget the "<" or you will see the message that your job was submitted to the default "short" queue but in reality nothing happened.