Run-vasp-tekla.s: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
  #!/bin/bash
   
The running version in [[Tekla]] is [[VASP-Current | current version]]


#$ -N NAME
Make a script like the script bellow this lines an change:
#
            $JOBNAME as your job name
# pe request
            $QUEUE_NAME as the corresponding queue name
#$ -pe q0 8
                    -allowed values are (c0 | q0)
            $N_PROCESSORS as the number of processors requested
            $WORKING_DIRECTORY directory where the inputs have been placed
           


 
script.sub
cd WORK DIRECTORY
            #!/bin/bash
 
            #$ -N $JOBNAME
/usr/bin/mpirun -np -machinefile $TMPDIR/machines /usr/local/bin/vasp
            #
 
            # pe request
rm CHG* WAVE*
            #$ -pe $QUEUE_NAME $N_PROCESSORS
            cd WORKING_DIRECTORY
            /usr/bin/mpirun -np $N_PROCESSORS -machinefile $TMPDIR/machines /usr/local/bin/vasp
            rm CHG* WAVE*

Latest revision as of 11:09, 21 May 2010

The running version in Tekla is current version

Make a script like the script bellow this lines an change:

            $JOBNAME as your job name
            $QUEUE_NAME as the corresponding queue name
                    -allowed values are (c0 | q0)
            $N_PROCESSORS as the number of processors requested
            $WORKING_DIRECTORY directory where the inputs have been placed
            

script.sub

            #!/bin/bash
            #$ -N $JOBNAME
            #
            # pe request
            #$ -pe $QUEUE_NAME $N_PROCESSORS
            cd WORKING_DIRECTORY
            /usr/bin/mpirun -np $N_PROCESSORS -machinefile $TMPDIR/machines /usr/local/bin/vasp
            rm CHG* WAVE*