This document contains command by command instructions to download, install and trivially run the PEN simulation frontend code. If you just want the commands skip to the summary at the end. ------------------------------------------------------------------------ STEP 1: check out and compile the software NB replace "user" with your username on anton. contact anthony palladino (palladino@virginia.edu) if you need a username and password. [user@pc ]$ svn checkout svn+ssh://user@anton.phys.virginia.edu/srv/svn/repositories/pen/trunk/simulation/peng4 path/. [user@pc ]$ cd path [user@pc ]$ source setenv.csh 2008 [user@pc ]$ cd gsim_frontend/ [user@pc ]$ make If you have trouble at compile time: Take note of the includes: using namespace std; #include "/usr/include/sys/sysinfo.h" #include "zlib.h" #include "math.h" #include "midas.h" #include "iostream" #include "PSIGSIMBANK.hh" #include "/usr/include/gsl/gsl_rng.h" #include "/usr/include/gsl/gsl_randist.h" #include "/common/lib/midas/include/hardware.h" #include "../include/caenhardware.h" #include "sample_waveform_500fs.h" #include "sample_tpc_waveform.h" #include "sample_iitpccs_waveform.h" Also in the make file there is a reference to MIDAS: /home/lpa2a/PEN/MIDAS16/lib -lmidas ------------------------------------------------------------------------ STEP 2: sample execution Grab a sample input file: [user@pc ]$ wget pen.phys.virginia.edu/michel_1833_84700_test.mid.gz . wget can be a little flaky if you have trouble just rsync the file directly from galileo from the path given below. The frontend program requires some input data. Current that is configured to be in the form of a midas file containing the bank GSIM. A sample is located at /home/httpd/html/research/groups/pen/restricted/michel_1833_84700_test.mid.gz. Of course this can later be changed to incorperate whatever you please. [user@pc ]$ ./frontend michel_1833_84700_test.mid.gz 100001 output.mid.gz and you should be off to the races. ------------------------------------------------------------------------ Summary: [user@pc ]$ svn checkout svn+ssh://user@anton.phys.virginia.edu/srv/svn/repositories/pen/trunk/simulation/peng4 path/. [user@pc ]$ cd path [user@pc ]$ source setenv.csh 2008 [user@pc ]$ cd gsim_frontend/ [user@pc ]$ make [user@pc ]$ wget pen.phys.virginia.edu/michel_1833_84700_test.mid.gz . [user@pc ]$ ./frontend michel_1833_84700_test.mid.gz 100001 output.mid.gz ------------------------------------------------------------------------ for help contact Pete Alonzi (alonzi@virginia.edu)