CASA is the premier software for reducing radio data coming off of a variety of telescopes around the world, including the Jansky Very Large Array (VLA) and Atacama Large Millimeter Array (ALMA).
Going to use the new Archive. Find something small and have them download it manually, like a few GB at most.
First off get some nodes
srun --partition singleGPU --nodes 2 --tasks-per-node 2 --pty bash
Do we want singleGPU? Can request more nodes obviously. tasks-per-node we don't need to set unless CASA demands slots
Might want to create aliases for casa and mpi casa, just to make things quick
alias casa='/users/sbruzew/xena-scratch/casa-blah-blah/bin/casa'
alias mpicasa='/users/sbruzew/xena-scratch/casa-blah-blah/bin/mpicasa'
Actually it doesn't like the alias when you run the command
-
It will create a nodefile for us at $PBS_NODEFILE If CASA doesn't need slots, we can use this, and all the nodes If CASA does need slots, we'll need to make a script that can reference $PBS_NUM_PPN and add slots
-
Run something like 'path_to_casa_bin/mpicasa -hostfile $PBS_NODEFILE path_to_casa_bin/casa ' Probably want to do --nogui and --log2term Puts us into a CASA environment
-
Run python script that does all the fun stuff Could run mpicasa call with '-c myscript.py' Can also do 'exec(open('./filename').read())' Shortcut as execfile 'filename.py'