$ cd /home/sandboxes/developer $ mkdir mc $ cd mc $ for d in ygor gb gbt > do > cvs checkout $d > done $
$ export YGOR_ROOT=/home/sandboxes/developer/mc/ygor $ export GB_ROOT=/home/sandboxes/developer/mc/gb $ source $YGOR_ROOT/ygor.bash
mkTelescopeDirs script, you must be logged in as monctrl.
$ cd /home/sandboxes/developer/mc $ for d in ygor gb gbt > do > cd $d > touch .depend > make > make depend > cd .. > done $ cd /home/sandboxes/developer/mc/ygor/utilities/host/installScripts $ su monctrl $ ./mkTelescopeDirs
> make 2>&1 | tee make.out
export YGOR_ROOT=/home/sandboxes/developer/mc/ygor
export YGOR_ROOT=/home/sandboxes/developer/mc/gb
source $YGOR_ROOT/ygor.bash
source /home/sim/gbt.bash
source /home/sparrow/integration/sparrow.bash
$ cd /home/sandboxes/developer/mc/ygor/unit_test $ ./ygor_unit_test Sib: .. OK (2 tests) Control: ...... OK (6 tests) TimeStamp: ............... OK (15 tests) IF: ................................... OK (35 tests) Util: ...... OK (6 tests) ScanSpec: ...... OK (6 tests) DatabaseAccess: . OK (1 tests) ScanCoordinator: . OK (1 tests)
$ cd /home/sandboxes/developer/mc/gbt/unit_test $ ./gbt_unit_test
[pmargani@nereid /home/gbt]$ ls -lrt drwxrwxr-x 8 monctrl monctrl 4096 May 8 2006 etc lrwxrwxrwx 1 monctrl monctrl 25 Mar 28 13:28 tcl -> /home/gbtversions/7.2/tcl lrwxrwxrwx 1 monctrl monctrl 25 Mar 28 13:28 lib -> /home/gbtversions/7.2/lib lrwxrwxrwx 1 monctrl monctrl 27 Mar 28 13:28 glish -> /home/gbtversions/7.2/glish lrwxrwxrwx 1 monctrl monctrl 26 Mar 28 13:28 exec -> /home/gbtversions/7.2/exec lrwxrwxrwx 1 monctrl monctrl 25 Mar 28 13:28 bin -> /home/gbtversions/7.2/bin lrwxrwxrwx 1 monctrl monctrl 26 Mar 28 13:28 apps -> /home/gbtversions/7.2/apps lrwxrwxrwx 1 monctrl monctrl 17 Jul 18 11:23 sparrow -> /home/sparrow/7.2 ...This is partially due to the fact that the configuration files in etc/config are not entirely under developer's control - they are being continually editied by astronomers and engineers. Consequently, they aren't under CVS control either. The revision control for these files is adhoc. For the simulator, the configuration files in /home/sim/etc/config have all been tailored to meet the needs of the M&C simulation (i.e., don't connect to the real telescope). Consequently, for installing the developer's sandbox, one method is to simply install in one's own test installation in /home/simversions. This will help the developer when switching the simulator to their installation. Here are the simple instructions for installing, again adapted from CreatingNewMCVersion.
$ export YGOR_ROOT=/home/sandboxes/developer/mc/ygor $ export GB_ROOT=/home/sandboxes/developer/mc/gb $ export YGOR_INSTALL=/home/simversions/developer $ source $YGOR_ROOT/ygor.bash
$ su monctrl $ cd /home/simversions $ mkdir developer $ cd /home/sandboxes/developer/mc/ygor/utilities/host/installScripts $ ./mkTelescopeDirs
$ cd /home/sandboxes/developer/mc $ for d in ygor gb gbt > do > cd $d > make install > cd .. > done $
$ ssh colossus $ cd /home/sim $ sudo /home/sim/setFileModes /home/simversions/developer -rwsr-xr-x 1 root monctrl 8690247 Sep 19 10:28 /home/simversions/developer/exec/sparc-solaris/antennaMgr.muacu -rwsr-xr-x 1 root monctrl 8690247 Sep 19 10:28 /home/simversions/developer/exec/sparc-solaris/antennaMgr.virgo -rwsr-xr-x 1 root monctrl 9564815 Sep 19 10:28 /home/simversions/developer/exec/i386-linux/antennaMgr.prima -rwsr-xr-x 1 root monctrl 9564815 Sep 19 10:28 /home/simversions/developer/exec/i386-linux/antennaMgr.virgo -rwsrwxr-x 1 root monctrl 1274684 Sep 19 10:15 /home/simversions/developer/exec/sparc-solaris/dataCollect -rwsrwxr-x 1 root monctrl 167056 Sep 19 10:17 /home/simversions/developer/bin/i386-linux/get_spigot_data -rwsrwxr-x 1 root monctrl 196059 Sep 19 10:17 /home/simversions/developer/bin/i386-linux/spigot_takedata Done. $
| Topic DevelopingMC . { Edit | Attach | Ref-By | Printable | Diffs | r1.9 | > | r1.8 | > | r1.7 | More } |
|
Revision r1.9 - 27 Jul 2007 - 15:31 GMT - RonGrider Parents: MnCKnowledge |
Content copyright © 1999-2007 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. |