Super-K FAQ


Q: What is up with the /net directory?
A: /net is only correctly mounted on suketto, so don't try to access it from a sukap computer.   If you need scratch space for big files use /disk/usr4/

Q: Where should I put my big files?
A: /disk/usr4/yourusername/

Q: But /disk is so slow.   Is there any way to move stuff on and off of /disk quickly?
A: rdasscp -p file /disk/usr4/username/ (from sukap011)

Q: Why can't I see the contents of directories on /disk when I'm on sukap010?
A: sukap010 is only for NQS jobs.

Q: How do I calculate livetime for a run?
A: With this handy Perl script: liverunsnototal 32300 32300.   (Make sure that the umlive.log variable is correctly set first.)

Q: Where are the libraries kept?
A: the skam library: /home/skam/skrep/
     the atmpd library: /home/atmpd/skrep/
     the cern library: /cern/

Q: Where is the official source code kept?
A: /home/atmpd/skrep/06b/atmpd/

Q: Where is the official sk2 code kept?
A: /home/atmpd/skrep/07a/atmpd/src/upmu/sk2/

Q: But suppose I want a working version of SK2 code?
A: In that case, copy the sk3 code from ~jlraaf...
umred1st: do a grep on "qismsk" and make sure it's set to sk-2 values.
umred2nd: ditto
upmu3: copy umparm.h from /home/atmpd/skrep/07a/inc and modify it (following the comments) so that qismmsk is set to the sk2 values

Q: Where is the official MC?
SK-I: /net/sukfs1/upmu/saji/upmu_mc/02b/031016/after_upmu3/ (ntuple)
But beware of duplicate events!
and also here:
/disk/upmu/sk-1/ntuples/upmu.neut100yr.?.ntuple (two files)
nt/print 1000 to see the variables names, which have since changed!
/disk/upmu/sk-1/neutzbs/ (zbs)
SK-II: /net/sukatmd1/work2/sk2_dst/apr06/final/upmu_mc/
and also here: /disk/upmu/sk-2/upmu_mc/ (ntuples and zbs)
SK-III: /disk/upmu/sk-3/
mc -> /disk/usr4/ttanaka/upmu/SK3new/
  Honda03/
    finish/rck/ and finish/wtr (pre-reduction)
    reduc/ (post-reduction zbs and ntuples)

Q: Where is the official DATA?
SK-I: /disk/upmu/sk-1/ntuples/upmu.ski.ntuple (ntuple)
Do nt/print 1000 to see the variables names, which have since changed!
/disk/upmu/sk-1/ski-data.upmu3 (zbs)
more recent:
/disk/atmpd4/sk1_dst/apr08/upmu_dst/zbs/
SK-II:
     /home/atmpd/ntuple/apr06_sk2/umdst/dec05.upmu.shower.dat.nt
     /home/atmpd/ntuple/apr06_sk2/umdst/dec05.upmu.nonshower.dat.nt
     /home/atmpd/ntuple/apr06_sk2/umdst/may06.upmu.shower.dat.nt
     /home/atmpd/ntuple/apr06_sk2/umdst/may06.upmu.nonshower.dat.nt
(You should use all these 4 files for SK-II.)
and also here: /disk/upmu/sk-2/ (zbs and ntuples)
SK-III: /disk/upmu/sk-3/data -> /disk/upmu/2007nov_officialdataset/
(Includes zbs ntuple and nearly-horizontal ntuple.)

Q: How do I generate my own official MC?
A: cvs get the latest copy of skdetsim.
Use skx_odtune.card as your official SKMC card.
setenv MC_SUBNUM 0
"This is needed because bad channel of MC depends on the subrun number.   There are ten patterns and badch are set when skread is called.   The choice of pattern is determined by (subrun#)%10.   So in order to generate all patterns equally, you have to generate MC for number of files multiplied by 10."

Q: Where is the original apdetsim (sk1) kept?
A: /net/sukfs1/atmpd/apr03/mc100yr/photon/apdetsim

Q: How do I set up cvs in my .cshrc file?
 setenv CVSROOT :ext:skrep@kmcvs:/home/skrep/repository
 setenv CVS_SERVER "env LOGNAME=${USER} cvs"
 setenv CVS_RSH ssh
 setenv CVSCOSRC /home/atmpd/skrep/07a/config_linux
Q. How do I check code out of the CVS repository?
A. cvs get filename
CVS is a protocol for storing files and programs in a repository.   It keeps track of the latest versions and lets you work with releases of a program or the latest draft of a paper.   To get a full list of CVS commands, just type "CVS --help-commands".   "CVS --help" will give you more options.

How do I update the CVS repository with new code?
See Jen Raaf's instructions for committing code to CVS.

Q: How do I build chode checked out of the CVS repository?
First, look for a COMPILE.sh to run.
If you don't see that, look for something like "README.txt" for instructions.
If you can't find either of those, look for an Imakefile.   If there's an Imakefile, type "imake_boot" followed by "gmake PRIVATE=y all".

Q: How do I use NQS?
A: See the NQS page.

Q: I'm having problems linking to the correct library.
Try checking and resetting the following environmental variables: PACKAGE, PACKAGE_LEVEL, PACKAGE_ROOT, and PRIVATE_ROOT.

Q: I have a directory where the command ls hangs.   What should I do?
A: This happened to me when there was a problem with /disk and I had symblic links to /disk.   If this happens to you, remove the symbolic links from the directory.   Then rm dir/.* from the directory to get rid of any invisible files that aren't supposed to be there.   To prevent this problem, don't create symbolic links to /disk.

Back to Resources