Versions Compared

Key

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

...

Example of use on Garrawarla

Wiki Markupcode
languagebash
titleoffline_correlator_example.sh
collapsetrue
#!/bin/bash -l

#SBATCH --nodes=1
#SBATCH --mem=370gb
#SBATCH --partition=gpuq
#SBATCH --gres=gpu:1
#SBATCH --time=00:10:00
#SBATCH --account=mwavcs
#SBATCH --export=NONE

module use /pawsey/mwa/software/python3/modulefiles
module load vcsbeam/correlator

INPUT_DATA_FILE=/path/to/recombined/data/file/1313388760_1313388762_ch144.dat
START_SECOND=1313388762
DUMPS_PER_SECOND=20 # This sets the output time resolution
                    # (e.g. 20 --> 1/20 = 0.05s = 50 ms)
                    # Minimum allowed resolution is 2 ms
CHANS_TO_AVERAGE=4 # This sets the output frequency resolution
                   # (e.g. 4 --> 4x10 kHz = 40 kHz)
GPUBOX_CHANNEL_NUMBER=20 # This should be chosen to "match" the input channel
                         # This is not easy! (mwalib handles this, but at the
                         # moment, offline_correlator is not using mwalib)
OUTPUT_PREFIX=1313388760 # Output files begin with this

srun -N 1 -n 1 offline_correlator \
    -d $\{INPUT_DATA_FILE} \
    -s $\{START_SECOND} \
    -r $\{DUMPS_PER_SECOND} \
    -n $\{CHANS_TO_AVERAGE} \
    -c $\{GPUBOX_CHANNEL_NUMBER} \
    -o $\{OUTPUT_PREFIX}


Beamformer

VCSBeam provides two binaries for beamforming:

...