#!/bin/sh #CLUED0 -l cput=36:00:00 #CLUED0 -l pvmem=1000mb #CLUED0 -l mem=512mb echo "***** This JOB has landed in the CLUED0 node *****" uname -a echo "**************************************************" # This gets the environment . /etc/bashrc # Sets the current directory to the work directory # as specified by the batch system WORKDIR='NONE' pbssetup='/usr/local/etc/pbssetup.sh' if [ -r $pbssetup ]; then . $pbssetup if [ "$WORKDIR" == 'NONE' ] || [ "$WORKDIR" == "$HOME" ]; then echo "ERROR: WORKDIR is not set correctly, there is a problem with batch system!" exit 1 fi echo "INFO: Workdir is now $WORKDIR" else echo "ERROR: Could not find $pbssetup" exit 1 fi # Go to working directory on executing machine # this directory exists only in the executing machine #cd $WORKDIR # This is cluster wide. # path de trabajo donde estara el resultado (work,dest) #cd /rooms/salon/bcasey/MC/ setup D0RunII p17.09.01 setup mc_runjob # copy your macro to your current working area cp /work/cbpf-clued0/carolina/mc_170901/btojpsi.macro . # execute it mc_runjob -macro=btojpsi.macro # Copyback output #cp -a * /rooms/salon/bcasey/lm_mc/p170400/.