Notes while Rehosting LBC Software
Sent a note to Baruffolo today with the questions about the latest IDL files for the Windows PCs. I included the differences for him, they are minor. I didn't ask about the missing files, but I do not think they belong in SVN. If we try to run without them and complain, then I'll add them.
Captured the CMU cron jobs in a wiki page: CMUCronJobs
Whoa! Andrea says this to the virtualization plan:
In general I would say that this attempt seems to me quite uncertain as far as feasibility and would not solve the problem of having 5 PCs. Why not change CCD controller electronics using Ethernet link as we suggested during last Veillet visit in Italy? This way no PCI boards, no multiple OS, no driver problems, etc...
Don't worry. You are not really out of any loop, simply we know that PCI board is a weak point in the system and last year started a low priority action to implement the Ethernet interface. Of course it is not available yet and would require some other time to complete and a period of deep testing before adoption on LBC
. So maybe next summer (2014) could be a possible availability date if the proposal is accepted. This of course would not solve the PCs problem in the short time but due to the quite large amount of work required even from the Virtual Machine proposal I would prefer to wait.
Maybe somebody would take a decision in the forthcoming months on the Ethernet option...
Christian will figure out how far they are down this path to figure out if we should wait.
DougF has suggested we virtualize the windows hosts. I created a document
to start our thinking/testing/planning process.
We will test first with the one spare we have (CCD controller and card) on a virtual host using the
program. Then, with the brand new spare/card that are being shipped. This will test two virtual hosts with separate cards.
Stephen and Doug tried the profibus card in the new machine while they were on the mountain this week.
- profibus card in new ABMX machine:
- another view of profibus card in new ABMX machine:
Today, they tried the PCI card for the CCD controller, down here in the machine. Just fits - cannot get other PCI cards in there. But, that's ok.
- PCI card in ABMX machine, with modified heat sink:
- close up of heat sink on PCI card for CCD controller:
Stephen and I talked with Doug and came up with a detailed task list for IT and me. See the Plan on the LBCSoftwareRehostNotes
Spent some time with drawings and pictures (of the existing spare, of the new heat sink design, etc.) to try to discover if the fiber card will fit in the machine.
At the instruments meeting we decided they could bring down one of the newly fabricated heat sinks so that we can try the new card (with the new heat sink) in Tucson before it goes up to the mountain. (if it ever gets here...)
I am waiting on the spare fiber card from SkyTech
that Robert Reynolds has ordered. (Actually, they're getting two - our spare repaired and a new one.) That is the critical path.
When the card arrives, I will install it in the current test machine, take it to the mountain, and go through phase 1 described in LBCSoftwareRehostChecklist
Do we have a spare CCD controller still?
yes - I verified with Robert
Asked Stephen yesterday about getting a Windows 7 desktop for the lab down there as the build machine and test for INAF.
as step-by-step plan for checkout.
This is not going to be a summer shutdown task - we need sky time to test. I can do some testing standalone:
- check tftp back and forth to CMU
- CCD testing with the
- test files for tracking and
- set up an OB with each filter, short exposures, run over and over
Should take this box up to the mountain and try to put the boards in and boot up.
Should I find a newer IDL download??
what if I bring over the
files from one of the existing machines?
or does it really need to be "installed"?
Do we need the directories created that are specified in the tracking doc?
I would like to put only executables, libraries in the
file - why do we need any source or libs that were only required to build?
Add to winsoft document - setting environment vars in setup for lbciarun
needs pro files and IDL dll at runtime
Add to winsoft document - configuration for track
-- unless I add this to
; does it require any environment?
at runtime which is copied from Z in update.bat
What of the pro files are used by the Windows PC side?
wait. maybe most of it - it calls LBCFPIA which is the main - probably uses everything
Here are the files that have differences between the SVN version and the current zip file
|| SVN version has color setting, added Z22 calculation, uses Red/Blue
ZIMatrix instead of just
|| SVN version passes logfile in, loosen limits at 0.8 arcsec instead of 1.0 seeing
|| SVN version sets plot color
|| misc value differences; separate red/blue
|| SVN version puts log to
/home/LBCeng/FPIAlogs ; channel is printed in log
|| SVN version puts log to
|| trunk version prints date and uses
/home/LBCeng/FPIAlogs for log
Plus there are files in the zip file that are not in SVN. do any of these need to be put explicitly on the Windows machine?
These pro files are found in
Ran all XP executables on the windows 7 box. The
doesn't work because it wants a
and the new version has only
- but it's a good idea to rebuild that one anyway.
Of all these files copied by
, several are not used anymore:
not used by the track programs anymore
are part of trimatch
Created simple makefiles for tracking executables rather than using the IDE. Went through all the compiler/linker options to make sure I'm building these similar to the
. Created the makefile from Andrea's for the
partitioned the drive using the windows partitioner. I had to "shrink" the existing
drive and even though it was 80% empty of 111GB, it would only let me shrink it to 64GB
so the D drive is only 47GB
even defrag'ed and uninstalled everything I had put on.
The current machines have C at 4GB and D at 29 -- I couldn't do this same ratio
is looking for
env var - what is this on the other systems?
red tech env vars in System variables (same as blue tech)
LBCFPIA_HOME c:\lbcfpia LBCIA_HOME d:\ LM_LICENSE_FILE email@example.com
path: c:\lbc\bin;c:\program files\imagemagick-6.2.3-q8;C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem;c:\;d:\;c:\rsi\idl61\bin\bin.x86
on Tucson machine, I added
and added both to the path so it could find IDL at runtime
on red tech, there's a astron subdir under c:\lbcfpia - who uses that?
there's data and pro subdirectories
ignore the following -- I always forget about the stuff copied on reboot
lbcfpia.zip is COPIED FROM Z on reboot and UNPACKED
(I was killing this bat file on startup so that I could use the machine
without all that running)
so the source we're using for lbciaRun wants to cd to
c:\lbcfpia\src to execute its IDL
this is not what we're using on the mountain
that dir doesn't exist on red tech
this source came from Baruffolo in January
blue tech DOES have c:\lbcfpia\src directory
if I run lbciaRun on red tech, it doesn't work -- how does it work from LBC
IDL demo license wasn't allowing us to create log file
Doug Miller told me the Tucson license file is
copied this to c:\Progra~1\ITT\Licens\license.lic because that's where it
(when this machine is on the mountain, use the LM_LICENSE_FILE env var
and set to the mountain value the other PCs use)
Had to add env var for IDL_PATH
for astron\pro stuff it wasn't finding
there's SVN for these files and there are differences in
mkmsk.pro (comments only)
this stuff is SVN'ed in
We should build a new lbcfpia.zip that has the latest versions, even if we
don't use the modified files. Make sure we don't!!
-------- ./calcabcoeffs.pro is different -------
-------- ./dofpia.pro is different -------
-------- ./findpupils.pro is different -------
-------- ./lbcfpia.cfg is different -------
-------- ./lbcfpia.pro is different -------
-------- ./lbcfpia_cfg_value.pro is different -------
-------- ./lbcfpia_read_cfg.pro is different -------
184.108.40.206 is the Windows 7 PC here in Tucson Kyle set up awhile ago.
log in via freerdp with lbc username
using tucson\ksummers credentials
Install IDL 7.0
install ing in C:\Program Files\ITT
oops - we need a D: partition on this machine
on red tech and science, there's 4.59G for C, 29G for D
we have 111G on the new machine
Install Visual C++ 2008 Express Edition from vcsetup.exe
set up IDL in PATH so lbciaRun can find the DLLs