| <<O>> Difference Topic RunningTheSimulator (r1.7 - 11 Dec 2007 - RonGrider) |
| Changed: | |
| < < | ln -s /home/sandboxes/rgrider/SparrowHome/Sandbox |
| > > | ln -s /home/sandboxes/developer/sparrow_home/sandbox_version sparrow |
| Changed: | |
| < < | and then restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler. NOTE: This may be done by running RestartSimTurtle as user monctrl. DON'T use RestartTurtle! |
| > > | and then restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler. NOTE: This may be done by running RestartSimTurtle as user monctrl. DON'T use RestartTurtle! |
| <<O>> Difference Topic RunningTheSimulator (r1.6 - 12 Dec 2006 - RonGrider) |
| Changed: | |
| < < | To set up your environment to run the simulator: source /home/sim/gbt.bash and then /home/sim/sparrow/sparrow.bash. |
| > > | To set up your environment to run the simulator: source /home/sim/gbt.bash and then /home/sim/sparrow/sparrow.bash (source the sparrow.bash after changing the link to your sparrow code, as directed below). |
| Changed: | |
| < < | To switch the version of Sparrow independently of Ygor, one must change the link sparrow in /home/sim and restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler. |
| > > |
To switch the version of Sparrow independently of Ygor, one must change the link sparrow in /home/sim with the following two commands:
rm sparrow
then ln -s <fully qualified path to your sparrow folder>, i.e.,
ln -s /home/sandboxes/rgrider/SparrowHome/Sandbox
and then restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler. NOTE: This may be done by running RestartSimTurtle as user monctrl. DON'T use RestartTurtle! |
| <<O>> Difference Topic RunningTheSimulator (r1.5 - 02 Mar 2005 - NicoleRadziwill) |
| Changed: | |
| < < | Mostly yes; the devices listed in /home/sim/etc/config/devices.conf plus all user programs are available for simulation. |
| > > | If you are a member of the SDD, then mostly yes; the devices listed in /home/sim/etc/config/devices.conf plus all user programs are available for simulation. |
| Added: | |
| > > | The SDD telescope simulator is more properly called a software testbed, as it runs the development version of the system software (which, by its definition, is continually in flux). Its purpose is to allow the SDD to test out the software changes making their way into the next release of the M&C system. Consequently, it is not suitable for general use by observers and other staff not intimately involved in software develoment, or ready to accept the instabilites that are characteristic of software under development. An actual telescope simulator running an exact copy of the currently released software is a very desirable thing for users, but it will have to wait until time is available to set it up, currently scheduled for Cycle 8 of this year. Until that time we (the Change Control Committee) all agree that use of this testbed (formerly known as the simulator) should be restricted to SDD and Richard. No support will be provided if any astronomers choose to use it. |
| <<O>> Difference Topic RunningTheSimulator (r1.4 - 21 Dec 2004 - MarkClark) |
| Changed: | |
| < < | Besides the devices commented out in /home/sim/etc/config/devices.conf, the simulator does not attempt to produce even nominally realistic data files representing astronomical measurements (i.e., from backends). This prevents the simulator from being very useful for programs whose input is data such as analysis packages. Most of the monitors produce realistic -- though static -- values. More obviously, the simulator does not exercise the hardware drivers in the control software. |
| > > | Besides the devices commented out in /home/sim/etc/config/devices.conf, the simulator does not attempt to produce even nominally realistic data files. This prevents the simulator from being very useful for programs whose input is data such as analysis packages. Most of the monitors produce realistic -- though static -- values. More obviously, the simulator does not exercise the hardware drivers in the control software. |
| Added: | |
| > > |
Deficits
|
| Changed: | |
| < < | -- MarkClark - 16 Dec 2004 |
| > > | -- MarkClark - 21 Dec 2004 |
| <<O>> Difference Topic RunningTheSimulator (r1.3 - 17 Dec 2004 - MarkClark) |
| Deleted: | |
| < < | . |
| Changed: | |
| < < | Mostly yes; the devices listed in /home/sim/etc/config/devices.conf are available plus all user programs. |
| > > | Mostly yes; the devices listed in /home/sim/etc/config/devices.conf plus all user programs are available for simulation. |
| Changed: | |
| < < |
Where the simulator lives |
| > > |
Where the simulator lives |
| Changed: | |
| < < | The telescope and simulator share the same source directories. |
| > > | The telescope and simulator share the same source directories (except for configuration files). |
| Changed: | |
| < < |
How to run the simulator |
| > > |
How to run the simulator |
| Changed: | |
| < < |
How to prepare code to run on the simulator. |
| > > |
How to prepare code to run on the simulator. |
| Changed: | |
| < < | are the contents of the files in YGOR_TELESCOPE/etc/config. |
| > > | are the contents of the files in YGOR_TELESCOPE/etc/config. For Ygor, one needs to install into a directory in /home/simversions. For Sparrow, one needs to configure the simulator to use the desired version (see below). |
| Changed: | |
| < < |
What it cannot do |
| > > |
What it cannot do |
| Changed: | |
| < < | Besides the devices commented out in /home/sim/etc/config/devices.conf, the simulator does not attempt to produce even nominally realistic data files representing astronomical measurements (i.e., from backends). This prevents the simulator from being very useful for programs whose input is data such as analysis packages. Most of the monitors produce realistic -- though static -- values. More obviously, the simulator does not exercise the hardware drivers. |
| > > | Besides the devices commented out in /home/sim/etc/config/devices.conf, the simulator does not attempt to produce even nominally realistic data files representing astronomical measurements (i.e., from backends). This prevents the simulator from being very useful for programs whose input is data such as analysis packages. Most of the monitors produce realistic -- though static -- values. More obviously, the simulator does not exercise the hardware drivers in the control software. |
| Changed: | |
| < < |
How to configure the simulator |
| > > |
How to configure the simulator |
| Changed: | |
| < < | One has the option of selecting both the versions of Ygor and sparrow independently to run on the simulator. To select among the versions of Ygor installed in /home/simversions go to directory /home/sim and follow the directions for switching M&C versions. Note this also allow one to switch versions of sparrow to the default version, i.e., the version having the same version name as Ygor. |
| > > | One has the option of selecting versions for Ygor and Sparrow independently. |
| Changed: | |
| < < | To switch the version of sparrow independently of ygor, one must change the link sparrow in /home/sim and restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler. |
| > > | To select among the versions of Ygor installed in /home/simversions go to directory /home/sim and follow the directions for switching M&C versions. Note this allows one to switch versions of Sparrow to the default version, i.e., the version having the same version name as the Ygor version. |
| Changed: | |
| < < |
Background |
| > > |
To switch the version of Sparrow independently of Ygor, one must change the link sparrow in /home/sim and restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler.
Background |
| <<O>> Difference Topic RunningTheSimulator (r1.2 - 16 Dec 2004 - MarkClark) |
| Deleted: | |
| < < |
Things done:
from gbt.ygor import getConfigValue
ygor_telescope = getConfigValue(".", "YGOR_TELESCOPE")
|
| <<O>> Difference Topic RunningTheSimulator (r1.1 - 16 Dec 2004 - MarkClark) |
| Added: | ||||||||||||||||
| > > |
%META:TOPICINFO{author="MarkClark" date="1103224020" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="MnCKnowledge"}%
ProblemIs it possible to run telescope software without the telescope? .SolutionMostly yes; the devices listed in /home/sim/etc/config/devices.conf are available plus all user programs.Where the simulator livesThe simulator runs on hosts leeloo, muacu, and landru. Its files are laid out exactly as the real telescope, i.e.:
How to run the simulatorTo set up your environment to run the simulator: source /home/sim/gbt.bash and then /home/sim/sparrow/sparrow.bash.How to prepare code to run on the simulator.No preparation is needed, exactly the same code is installed and run on the telescope and simulator, the only differences are the contents of the files in YGOR_TELESCOPE/etc/config.What it cannot doBesides the devices commented out in /home/sim/etc/config/devices.conf, the simulator does not attempt to produce even nominally realistic data files representing astronomical measurements (i.e., from backends). This prevents the simulator from being very useful for programs whose input is data such as analysis packages. Most of the monitors produce realistic -- though static -- values. More obviously, the simulator does not exercise the hardware drivers.How to configure the simulatorOne has the option of selecting both the versions of Ygor and sparrow independently to run on the simulator. To select among the versions of Ygor installed in /home/simversions go to directory /home/sim and follow the directions for switching M&C versions. Note this also allow one to switch versions of sparrow to the default version, i.e., the version having the same version name as Ygor. To switch the version of sparrow independently of ygor, one must change the link sparrow in /home/sim and restart all of the python daemons, i.e., ns, es, turtle.d, gbstatus.d, AntennaCharacterization, Inclinometer, and ifpath_pickler.BackgroundThe original MR describing the goals and plan of work is here. Things done:
from gbt.ygor import getConfigValue
ygor_telescope = getConfigValue(".", "YGOR_TELESCOPE")
-- MarkClark - 16 Dec 2004
%META:FORM{name="WebForm"}%
%META:FIELD{name="TopicClassification" title="TopicClassification" value="NoDisclosure"}%
%META:FIELD{name="OperatingSystem" title="OperatingSystem" value=""}%
%META:FIELD{name="OsVersion" title="OsVersion" value=""}% | |||||||||||||||
| Topic RunningTheSimulator . { View | Diffs | r1.7 | > | r1.6 | > | r1.5 | More } |
|
Revision r1.1 - 16 Dec 2004 - 19:07 GMT - MarkClark Revision r1.7 - 11 Dec 2007 - 15:59 GMT - RonGrider |
Content copyright © 1999-2007 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. |