Thu Sep 14 22:30:06 2023, Jason Yao, How to profile a C++ program, Software 
|
This guide is modified from section (d) of the worksheet inside Module 10 of Phys 6810 Computational Physics (Spring 2023).
NOTE: gprof does not work on macOS. Please use a linux machine (such as OSC)
To use gprof, compile and link the relevant codes with the -pg option: |
Wed Jun 12 12:10:05 2024, Jacob Weiler, How to install AraSim on OSC, Software
|
# Installing AraSim on OSC
Readding this because I realized it was deleted when I went looking for it |
Thu Jul 25 16:50:43 2019, Dustin Nguyen, Advice (not mine) on writing HEP stuff , Other
|
PDF of advice by Andy Buckley (U Glasgow) on writing a HEP thesis (and presumably HEP papers too) that was forwarded by John Beacom to the
CCAPP mailing list a few months back. |
Mon Nov 20 08:31:48 2017, Brian Clark and Oindree Banerjee, Fit a Function in ROOT, Analysis  
|
Sometimes you need to fit a function to a histogram in ROOT. Attached is code for how to do that in the simple case of a power law fit.
To run the example, you should type "root fitSnr.C" in the command line. The code will access the source histogram (hstrip1nsr.root,
which is actually ANITA-2 satellite data). The result is stripe1snrfit.png. |
Wed Jun 6 08:54:44 2018, Brian Clark and Oindree Banerjee, How to Access Jacob's ROOT6 on Oakley,
|
| Source the attached env.sh file. Good to go! |
Fri Jul 28 17:57:06 2017, Brian Clark and Ian Best , ,
|
| |
Wed Mar 22 18:01:23 2017, Brian Clark, Advice for Using the Ray Trace Correlator, Analysis
|
If you are trying to use the Ray Trace Correlator with AraRoot, you will probably encounter some issues as you go. Here is some advice that Carl Pfendner
found, and Brian Clark compiled.
Please note that it is extremely important that your AntennaInfo.sqlite table in araROOT contain the ICRR versions of both Testbed |
Thu Oct 26 08:44:58 2017, Brian Clark, Find Other Users on OSC, Other
|
Okay, so our group has two "project" spaces on OSC (the Ohio Supercomputer). The first is for Amy's group, and is a project workspace called
"PAS0654". The second is the CCAPP Condo (literally, CCAPP has some pre-specified rental time, and hence "condo") on OSC, and this
is project PCON0003. |
Tue Dec 12 17:38:36 2017, Brian Clark, Data Analysis in R from day w/ Brian Connolly, Analysis 
|
On Nov 28 2017, Brian Connolly came and visited and taught us how to do basic data analysis in R.
He in particular showed us how to do a Linear Discriminant Analysis (LDA) and Principal Component Analysis (PCA).
Attached are three of the data files Carl Pfendner prepared for us to analyze (ARA data, including simulation, force triggers, and RF triggers). |
Mon Mar 19 12:27:59 2018, Brian Clark, How To Do an ARA Monitoring Report, Other
|
So, ARA has five stations down in the ice that are taking data. Weekly, a member of the collaboration checks on the detectors to make sure that they
are healthy.
This means things like making sure they are triggering at approximately the right rates, are taking cal pulsers, that the box isn't too hot, |
Tue Mar 20 09:24:37 2018, Brian Clark, Get Started with Making Plots for IceMC, Software
|
First, anyone not familiar with the command line should familiarize yourself with
it. It is the way we interact with computers through an interface called the terminal: https://www.codecademy.com/learn/learn-the-command-line
|
Fri Mar 30 12:06:11 2018, Brian Clark, Get icemc running on Kingbee and Unity, Software
|
So, icemc has some needs (like Mathmore) and preferably root 6 that aren't installed on kingbeen and unity.
Here's what I did to get icecmc running on kingbee.
Throughout, $HOME=/home/clark.2668 |
Sun Apr 29 21:44:15 2018, Brian Clark, Access Deep ARA Station Data, Analysis
|
Quick C++ program for pulling waveforms out of deep ARA station data. If you are using AraRoot, you would put this inside your "analysis" directory
and add it to your CMakeLists.txt. |
Sun Aug 26 19:23:57 2018, Brian Clark, Get a quick start with AraSim on OSC Oakley, Software
|
These are instructions I wrote for Rishabh Khandelwal to facilitate a "fast" start on Oakley at OSC. It was to help him run AraSim in batch
jobs on Oakley.
It basically has you use software dependencies that I pre-installed on my OSC account at /users/PAS0654/osu0673/PhasedArraySimulation. |
Mon Oct 1 19:06:59 2018, Brian Clark, Code to Compute Effective Volumes in AraSim, Analysis 
|
Here is some C++ code and an associated makefile to find effective volumes from AraSim output files.
It computes error bars on the effective volumes using the relevant AraSim function.
Compile like "make -f veff.mk" |
Fri Nov 9 00:44:09 2018, Brian Clark, Transfer files from IceCube Data Warehouse to OSC,
|
Brian had to move ~7 TB of data from the IceCube data warehouse to OSC.
To do this, he used the gridftp software. The advantage is that griftp is optimized for large file transfers, and will manage data transfer better
than something like scp or rsync. |
Tue Nov 27 09:43:37 2018, Brian Clark, Plot Two TH2Ds with Different Color Palettes, Analysis  
|
Say you want to plot two TH2Ds with on the same pad but different color paletettes?
This is possible, but requires a touch of fancy ROOT-ing. Actually, it's not that much, it just takes a lot of time to figure it out. So
here it is. |
Mon Dec 17 21:16:31 2018, Brian Clark, Run over many data files in parallel,   
|
To analyze data, we sometimes need to run over many thousands of runs at once. To do this in parallel, we can submit a job for every run we want to do.
This will proceed in several steps:
We need to prepare an analysis program.
This is demo.cxx.
The program will take an input data |
Mon Feb 11 21:58:26 2019, Brian Clark, Get a quick start with icemc on OSC, Software 7x
|
Follow the instructions in the attached "getting_started_with_anita.pdf" file to download icemc, compile it, generate results, and plot those
results. |
Wed May 15 00:38:54 2019, Brian Clark, Get a quick start with AraSim on osc, Software 8x
|
Follow the instructions in the attached "getting_started_with_ara.pdf" file to download AraSim, compile it, generate results, and plot those
results. |