Last Updated on Thursday, June 28, 2001 at 00:51:02. by Author: Andrei Sukhanov
In the runcontrol window, type:
rc_start(RUN_SIPED+WRITING)
to see the run status:
rc_status()
type this a couple of times, to check how many events have been collected
When phatdaq finishes the run you need still to stop it:
rc_stop_run()
In general, SICAL (and SIPED) should be done during period when there is no beam in the machine. It takes about 7 minutes to complete a Silicon calibration run. If it so happens that RHIC starts beam activity while you are in the middle of an SICAL run, please stop the run and enter a comment into its runlog that the run was stopped due to beam activity.
in the run control window, type:
rc_start(RUN_SICAL+WRITING)
rc_status()
type this a couple of times, to check how many events have been collected
rc_stop_run()
rc_start(RUN_ALLBEAM+WRITING)
to run limited number of events (i.e. 3400):
rc_start(RUN_ALLBEAM+WRITING,3400)
rc_stop_run();
Wait 10 seconds before the next command.
The DAQ will change file automatically after writing 1 GB of data. It will also change the disk if there is not enough space there. To change to disk 1:
rc_change_disk(1)
As of today to reload silicon parameters, you need to restart DAQ.
This is necessary if FECs was turned on or if Cable and FEC Connection Worksheet had been changed.
If Si Hybrids reading on PHOBOS portal gets old for 10 min, you need to restart rocdbgateway program. Locate the ROCDB window and press control C there.
To start this program from scratch:
cd $DAQ
rocdbgateway 1 0
Here the first argument enables connection to the database, second argument enables
writing to the file rocdblogMMDD.csv
The program detects if phatdaq is running, in this case it requests the whole event from
the phatdaq, extracts monitoring information from the FEC trailer blocks and sends it to
the datadase.
To change reporting interval to 60 seconds:
~phobos/DAQ/rocdbgateway 1 0 60
All commands should be executed on phobosx terminal (in HPSS sinking panel).
You should avoid to occupy the same disk by writing and reading, to change the disk:
rc_change_disk(1); // change writing disk to /data/1
After that you can start another data taking run in phatdaq and start sinking data. To sink data, you use the write_and_recon command. This command will transfer the file to HPSS and afterwards spawn the automated data validation processing on the CRS. To use this, use:
~phobsink/bin/write_and_recon [<filename> ...]
You can ignore messages like "Pseudo-terminal ..", "TPhDatabase ..." "Warning file iostream.h ..."
Any number of filenames can be specified. Files will be deleted from the local disk after being transferred. For example:
~phobsink/bin/write_and_recon /data/5/PhoRaw002345*.root
will copy all the sequences for run 2345 to HPSS and spawn data validation on them.
If for some reason you do not wish to start the data validation processing, you can use write_to_HPSS. With write_to_HPSS, you can either write every file in a particular directory, or a specific file, by entering (in the phobosx terminal window) the command:
~phobsink/bin/write_to_HPSS <filename or directory name>
So for example:
~phobsink/bin/write_to_HPSS /data/0
will write every data file in /data/0 to HPSS. If you wanted to sink only one file, say for run 2345, you would use:
~phobsink/bin/write_to_HPSS /data/0/PhoRaw002345s000.root
By default, write_to_HPSS will delete the file from the local directory after copying it to HPSS and verifying that the sizes match. If you do not want it to do this, specify the --nodelete flag:
~/phobsink/bin/write_to_HPSS --nodelete /data/0/PhoRaw002345s000.root
If during sinking a file reports that it exists on HPSS but with a different size, then write and email to George Heintlzeman with the run number and sequence number of the file sent, and note it in the run logbook.
If there is a data file of zero length, do not sink it, but call Andrei to explain what to do.
If asks you for passwords, then enter "phobos password on phobosx" until done. Before start new job's sinking , do the following to stop having to eneter the password each time
eval `ssh -agent` [ENTER]
ssh -add [ENTER]
(will ask for passphrase, i.e. phobos on phobosx one) enter it,
Then in that window should sink without asking for password.
The tape capacity is between 35GB (uncompressed) and 70GB(compressed). The full disk is about 15 GB.
If phobosx crashes (all DAQ windows disappeared, PHOBOSX monitor blank), it will reboot by itself after 5-10 minutes.
To get back DAQ windows on PHATDAQ X Term:
Please send all comments and suggestions regarding this page to Andrei. |