Updates and Results Talks and Posters Advice Ideas Important Figures Write-Ups Outreach How-To Funding Opportunities GENETIS
  Place to document instructions for how to do things, Page 1 of 3  ELOG logo
New entries since:Wed Dec 31 19:00:00 1969
Entry  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 
Entry  Thu Sep 14 22:30:06 2023, Jason Yao, How to profile a C++ program, Software hello_world.cppmake_hello_world
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:
Entry  Thu Jun 8 16:29:45 2023, Alan Salcedo , Doing IceCube/ARA coincidence analysis,  IceCube_ARA_Coincidence_Analysis___Technical_Note.pdfICARA_Coincident_Events_Introduction.pptxICARA_Analysis_Template.ipynbIceCube_Relative_to_ARA_Stations.ipynb
These documents contain information on how to run IceCube/ARA coincidence simulations and analysis. All technical information of where codes are stored
and how to use them is detailed in the technical note. Other supportive information for physics understanding is in the powerpoint slides. The technical
note will direct you to other documents in this elog in the places where you may need supplemental information.
Entry  Mon Apr 24 11:51:42 2023, William Luszczak, PUEO simulation stack installation instructions, Software 
These are instructions I put together as I was first figuring out how to compile PueoSim/NiceMC. This was originally done on machines running CentOS
7, however has since been replicated on the OSC machines (running RedHat 7.9 I think?). I generally try to avoid any `module load` type prerequisites,
instead opting to compile any dependencies from source. You _might_ be able to get this to work by `module load`ing e.g. fftw, but try this at your own
Entry  Tue Aug 2 14:34:15 2022, Alex M, OSC License Request,  User_Software_Agreement.pdf
Some programs on OSC require authorized access to use in the form of a license. The license will be automatically read if it is available
whenever you open a program on OSC, provided you have access to the license. In order to have access to a license, you need to fill out the attached form
and send it to Amy to forward to OSC. Available programs (at least some of) which require a license can be found here: https://www.osc.edu/resources/available_software/software_list
Entry  Fri Feb 4 13:06:25 2022, William Luszczak, "Help! AnitaBuildTools/PueoBuilder can't seem to find FFTW!", Software 
Disclaimer: This might not be the best solution to this problem. I arrived here after a lot of googling and stumbling across this thread with a similar
problem for an unrelated project: https://github.com/xtensor-stack/xtensor-fftw/issues/52. If you're someone who actually knows cmake, maybe you have
a better solution.
Entry  Fri Feb 28 13:09:53 2020, Justin Flaherty, Installing anitaBuildTools on OSC-Owens (Revised 2/28/2020),  
 
Entry  Fri Jan 31 10:43:52 2020, Jorge Torres, Mounting ARA software on OSC through CernVM File System, Software 
OSC added ARA's CVMFS repository on Pitzer and Owens. This has been already done in UW's cluster thanks to Ben Hokanson-Fasig and Brian Clark. With CVMFS,
all the dependencies are compiled and stored in a single folder (container), meaning that the user can just source the paths to the used environmental
variables and not worry about installing them at all. This is very useful, since it usually takes a considerable amount of time to get those dependencies
Entry  Tue Nov 5 16:22:16 2019, Keith McBride, NASA Proposal fellowships, Other 
Here is a useful link for astroparticle grad students related proposals from NASA:

 

https://nspires.nasaprs.com/external/solicitations/summary.do?solId=%7BE16CD59F-29DD-06C0-8971-CE1A9C252FD4%7D&path=&method=init
Entry  Fri Oct 11 13:43:35 2019, Amy , How to start a new undergrad hire, Other 
If an undergrad has been working with the group on a volunteer basis, they will need that clarified, so that they have not up to then we working for
pay without training.  There is a form that they sign saying they have been working as a volunteer.

Below is an email that Pam sent in July 2019 outlining what they need.  Other things to remember:
Entry  Thu Jul 25 16:50:43 2019, Dustin Nguyen, Advice (not mine) on writing HEP stuff , Other thesis-writing-gotchas.pdf
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. 
Entry  Thu Jul 11 10:05:37 2019, Justin Flaherty, Installing PyROOT for Python 3 on Owens, Software 
In order to get PyROOT working for Python 3, you must build ROOT with a flag that specifies Python 3 in the installation.  This method will create
a folder titled root-6.16.00 in your current directory, so organize things how you see fit. Then the steps are relatively
simple:
Entry  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.
Entry  Tue May 14 10:38:08 2019, Amy , Getting started with AraSim, Software intro_to_qc.pdfScreenshot_from_2019-05-14_10-54-48.pngScreenshot_from_2019-05-14_10-56-19.png
Attached is a set of slides on Getting Started with QC, a simulation monitoring project.  It has instructions on getting started in using a terminal
window, and downloading, compiling and running AraSim, the simulation program for the ARA project.  AraSim has moved from the SVN repository to github,
and so now you should be able to retrieve it, compile it using:
Entry  Mon Mar 4 14:11:07 2019, Jorge Torres, Submitting arrays of jobs on OSC, Analysis 
PBS has the option of having arrays of jobs in case you want to easily submit multiple similar jobs. The only difference in them is the array
index, which you can use in your PBS script to run each task with a different set of input arguments, or any other operation that requires a unique index.

You need to add the following lines to your submitter file:
Entry  Tue Feb 26 19:07:40 2019, Lauren Ennesser, Valgrind command to suppress ROOT warnings,  
valgrind --suppressions=$ROOTSYS/etc/valgrind-root.supp ./myCode

If you use valgrind to identify potential memory leaks in your code, but use a lot of ROOT objects and functions, you'll notice that ROOTs
TObjects trigger a lot of "potential memory leak" warnings. This option will suppress many of those. More info at https://root-forum.cern.ch/t/valgrind-and-root/2ss8506
Entry  Tue Feb 26 16:19:20 2019, Julie Rolla, All of the group GitHub account links, Software 
ANITA Binned Analysis: https://github.com/osu-particle-astrophysics/BinnedAnalysis

GENETIS Bicone: https://github.com/mclowdus/BiconeEvolution

GENETIS Dipole: https://github.com/hchasan/XF-Scripts
Entry  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.
Entry  Mon Dec 17 21:16:31 2018, Brian Clark, Run over many data files in parallel,  demo.cxxrun.shrun_list.txtsubmit_jobs.sh
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
Entry  Thu Dec 13 17:33:54 2018, s prohira, parallel jobs on ruby, Software test.pbseffvol.pbs
On ruby, users get charged for the full node, even if you aren't using all 20 cores, so it's a pain if you want to run a bunch of serial jobs.
There is, however, a thing called the 'parallel command processor' (pcp) which is provided on ruby, (https://www.osc.edu/resources/available_software/software_list/parallel_command_processor)
that makes it very simple.
ELOG V3.1.5-fc6679b