Example job script for ABINIT on Blacklight

#!/bin/csh
#PBS -l ncpus=16
#PBS -l walltime=30:00
#PBS -o abinit.out
#PBS -j oe
#PBS -q debug
set echo
source /usr/share/modules/init/csh
module load ifort
# define abinit executable dir
set ABINIT_DIR = /usr/local/packages/Abinit/abinit-6.12.1/bin
# Create scratch abinit directory if none exists
set ABINIT_SCRATCH = $SCRATCH/ABINIT_$PBS_JOBID
if ( ! -d $ABINIT_SCRATCH ) then
      mkdir $ABINIT_SCRATCH
endif
# Move to scratch directory and copy over input files.
cd $ABINIT_SCRATCH
cp ~/abinit/t1x.files .
cp ~/abinit/t11.in  .
cp ~/abinit/01h.pspgth .

mpirun -np $PBS_NCPUS  $ABINIT_DIR/abinit < t1x.files > $HOME/abinit/log.8
cp -rf t11.out $HOME/abinit
cd $HOME/abinit
# delete the working directory from SCRATCH
rm -rf $ABINIT_SCRATCH
Last Updated on Friday, 29 June 2012 15:27  

User Information

PSC Passwords

Connect to PSC systems:

PSC Policies

For technical questions:
Call the PSC hotline: 412-268-6350 / 800-221-1641 or mail to remarks@psc.edu.

Other services PSC provides:

Advanced Networking: High-speed network design, testing and tuning

3ROX: High-speed network access

Biomedical Applications: Computational biomedical research and training