Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titlemake a single final file using the cat command and copy to a useful work directory
collapsetrue
# remember that things after the # sign are ignored by bash 
cat *.out > first_job_submission.final.output  # Remember that the * wildcard will take things in alpha order, if you want you can list each file separately to control what order they go into the new file.
mkdir $WORK/BDIB_GVA_2015
mkdir $WORK/BDIB_GVA_2015/Day1
mkdir $WORK/BDIB_GVA_2015/Day1/first_tacc_job  # each directory must be made in order to avoid getting a no such file or directory error
cp first_job_submission.final.output $WORK/BDIB_GVA_2015/Day1/first_tacc_job
cp *.sge $WORK/BDIB_GVA_2015/Day1/first_tacc_job
cp *<job-ID> $WORK/BDIB_GVA_2015/Day1/first_tacc_job  #your job-id is the string of numbers following the .o and .e filenames

 

Moving beyond the preinstalled commands on TACC

...