#!/bin/csh # Sets your shell #PSUB -s /bin/csh # Sets your shell in batch #PSUB -c "pbatch" # Select set of processors on which to run #PSUB -ln 210 # Number of nodes you want to use, here 210 #PSUB -g 420 # Number of tasks to use, 2 tasks per node #PSUB -eo # Send std error & std out to the same file #PSUB -me # Send mail at job termination. #PSUB -tM 24:00 # Select your time limit, here 2 h 00 min. # The default time limit # is only 30 minutes! Time can be HH:MM:SS or HH:MM ############################ ## # Put your commands here. Remember to 'cd' to the appropriate # directory, because the job will initially be in your home directory. # To run a parallel job, you need to use the POE. ## cd /p/ga1/calder/t1a_study/wd_def_121103 ## setenv FLASHLOG flashlog.420 ## echo " " > $FLASHLOG echo " " >> $FLASHLOG ## echo " New Run: damped model, 3-d full star, new constant fluff ">> $FLASHLOG echo " With AMR" >> $FLASHLOG echo " Evolution time < 3.0 s " >> $FLASHLOG echo " Checkpoints every 0.1 s" >> $FLASHLOG echo " or after 3.8 hours" >> $FLASHLOG echo " Other run paramenters or notes here" >> $FLASHLOG ## echo " " >> $FLASHLOG echo " ++++++++ time of execution +++++++++" >> $FLASHLOG date >> $FLASHLOG # Enter data in logfile echo " " >> $FLASHLOG echo " ++++++++ flash.par +++++++++" >> $FLASHLOG cat flash.par >> $FLASHLOG # Cat parameter file into logfile echo " " >> $FLASHLOG ## echo " ++++++++ run log +++++++++" >> $FLASHLOG pwd >> $FLASHLOG ls >> $FLASHLOG srun ./flash2 >> $FLASHLOG # Run the code echo " " >> $FLASHLOG echo " ++++++++ time of finish +++++++++" >> $FLASHLOG date >> $FLASHLOG # Enter data in logfile echo " " >> $FLASHLOG