#!/bin/bash
#PBS -N au-meam
#PBS -j oe
#PBS -l nodes=1:ppn=1,walltime=48:00:00
#PBS -V

### ---------------------------------------
### BEGINNING OF EXECUTION
### ---------------------------------------

echo The master node of this job is `hostname`
echo The working directory is `echo $PBS_O_WORKDIR`
echo This job runs on the following nodes:
echo `cat $PBS_NODEFILE`

ncpu=`cat $PBS_NODEFILE | wc -w`
echo "Number of processors = $ncpu "
### end of information preamble

cd $PBS_O_WORKDIR

echo $PWD

#bin/meam-baskes_intel scripts/work/au/au_testmeam.tcl 6
bin/meam-baskes_intel scripts/work/au/au_testmeam.tcl 7

#lamboot $PBS_NODEFILE # starts lam on the specified nodes
#cmd="mpiexec -np $ncpu bin/meam-lammps_mpich scripts/work/si_ge/si-meam-lammps.tcl"
#time $cmd 
#wipe $PBS_NODEFILE
