Page History
...
Code Block |
---|
% whoami pcds % ls -al /reg/d/psdm/ total 8 drwxr-xr-x. 2 pcds pcds 4096 Apr 4 17:10 . drwxr-xr-x. 3 root root 4096 Apr 4 17:10 .. % sshfs gapon@psexport.slac.stanford.edu:/reg/d/psdm/ /reg/d/psdm/ -o transform_symlinks -o follow_symlinks%symlinks % ls -al /reg/d/psdm/ total 80 drwxr-xr-x. 1 9997 2279 4096 Sep 26 2013 . drwxr-xr-x. 3 root root 4096 Apr 4 17:10 .. drwxr-sr-x. 1 9997 2279 4096 Jul 7 10:54 amo drwxr-sr-x. 1 9997 2279 4096 Jul 7 10:54 AMO drwxr-sr-x. 1 9997 2279 4096 Jul 15 12:18 cxi drwxr-sr-x. 1 9997 2279 4096 Jul 15 12:18 CXI drwxr-sr-x. 1 9997 2279 4096 Mar 4 15:08 dia drwxr-sr-x. 1 9997 2279 4096 Mar 4 15:08 DIA drwxr-sr-x. 1 9997 2279 4096 Jul 15 12:18 mec drwxr-sr-x. 1 9997 2279 4096 Jul 15 12:18 MEC drwxr-sr-x. 1 9997 2279 4096 Jun 13 14:52 mob drwxr-sr-x. 1 9997 2279 4096 Jun 13 14:52 MOB drwxr-sr-x. 1 9997 2279 4096 May 30 16:41 sxr drwxr-sr-x. 1 9997 2279 4096 May 30 16:41 SXR drwxr-sr-x. 1 9997 2279 4096 Dec 19 2013 usr drwxr-sr-x. 1 9997 2279 4096 Dec 19 2013 USR drwxr-sr-x. 1 9997 2279 4096 Jun 25 11:15 xcs drwxr-sr-x. 1 9997 2279 4096 Jun 25 11:15 XCS drwxr-sr-x. 1 9997 2279 4096 Jul 15 12:18 xpp drwxr-sr-x. 1 9997 2279 4096 Jul 15 12:18 XPP |
At this point you may run of the tutorials by:
Code Block |
---|
% sit_setup
% python /reg/g/psdm/tutorials/xcs/princeton_movie/movie.py |
Working with SVN repositories from your test release
Quite often when you create your test release you may want to get some package (like psana_examples, etc.) from the SVN repository and modify it ti suit your needs, extend, etc. Normally you would do so by using the 'addpkg' command from your test release directory. The very same operation is also available from the VM. The only caveat is to obtain a Kerberos ticket in the SLAC.STANFORD.EDU realm. Your machine has already been configured to pretend it's a part of the SLAC network (even thought this is n't quite true). Hence, all you would need to do is to get the ticket first using your real UNIX account/password at SLAC. Here is sample session (replace user name gapon with your real UNIX name):
Code Block |
---|
% newrel ana-0.13.0 ana-0.13.0
% cd ana-0.13.0/
% sit_setup
% kinit gapon
Password for gapon@SLAC.STANFORD.EDU:
% addpkg psana_examples
Release ana-0.13.0 has tag V00-04-18 of package psana_examples, will use that
A psana_examples/include
A psana_examples/include/DumpPartition.h
A psana_examples/include/DumpLusi.h
A psana_examples/include/DumpPimax.h
.. |
If you have proper privileges for modifying the repository then you may even commit your modifications back to SVN.
Final notes
- The default configuration of the virtual machine won't allow external login into the machine (one can'e do 'ssh' into the system). However, it's possible to give you machine a unique IP address to allow the logins. Instructions can be found in the VirtualBox documentation. And make sure you change the default passwords of both root and pcds accounts in your virtual image.
- Please, read the documentation on VirtualBox
...