IDEA: Have ChemIT create a stock Windows 7 image with MATLAB. Have John expand on and curate this image for distribution to workshop participants.
Goal
Work on creating as small an image as reasonable. This will reduce copying time for everyone, including those maintaining the image and those using it. Especially considering how many times it must be re-downloaded! Makes storage and hosting that much easier, too.
Needs
As of 3/9/15, JohnF writes: Currently, we've got a little bit less than half of people responding, and we have the following dependencies, all on Windows:
- Matlab 2014b with Parallel computing toolbox.
- Python(x,y) from google code.
- The 32-bit LabVIEW runtime engine (appears to be free, and will run on 64 bit).
Specifics on packages using the above software:
Two custom packages based on Matlab (both with some compiled code).
One custom package based on compiled code + Python.
ChemIT to-do's
Create a VM for John Franck based on ChemIT's base Windows 7 image. We'll remove all the obvious applications to make the VM image as small as possible.
Specs and related decisions
Question or issue | Answer or decision | Factors and notes |
---|---|---|
OS: Is 64-bit Windows OK? Or, is the 32-bit OS necessary? | From John: If that makes the most sense to you, lets proceed forward with 64 bit, then. I would suspect that at this point, the likelihood of anyone showing up with a 32 bit OS should be pretty low. ChemIT: Unless otherwise requested, will install 64-bit app when available. |
|
App: Keep MS Office? | From John: Definitely no MS Office. | If were to keep, VM container size goes up! |
App: What version of MATLAB? What MATLAB "toolkits" to include/ exclude? | From John: Matlab 2014b with Parallel computing toolbox. Re: 64-bit version of MATLAB, John says: (64-bit) Matlab sounds fine, though obviously we will have to test the software packages that the demonstrators will be providing. |
|
App: LabVIEW Run-Time Engine | From John: For labview, we definitely want the 32 bit. The author of the software in question says, "*Even if your OS is 64bit, all programs require the _standard 32 bit LabVIEW Runtime engine_*," |
(Do not use, "LabVIEW Run-Time Engine 2014 - (64-bit) - Windows - Windows 8 64-bit/7 64-bit/Vista 64-bit/Server 2008 R2 64-bit") |
App: Python(x,y), from Google Code | From John: Python(x,y) from google code. | https://code.google.com/p/pythonxy/wiki/Downloads |
OS config: Is networking from within the VM strictly necessary from the image? | From John: If possible, I would like to start setting up the VM with networking enabled, and strip it out later, if that's possible. Why?
|
|
OS config: Do deployed VMs need to have full Admin rights? | From John: I don't see a particular need for admin rights, though since it's just a VM, it might not hurt. From ChemIT: See our concerns to the right, elaborate further in the Concerns section, below. |
|
ChemIT to first test the image to help answer these questions:
- Does it run fine on both Mac and a Windows computers?
- Try at least one of each.
- Is RAM for the VM configured on launch? What is min. RAM which will work? (2 GB?) And how much RAM will participant's laptop need, total?
- Try on a verity of PC laptops
- Does a "snapshot" work the way Oliver hopes it does?
- Create a (large) base. Then see if (smaller) diff can be added to it, at the destination laptop. (Rather than technique just facilitating creating an updated (but single and large) image.)
Concerns
Concern | Ways to address this concern | Notes |
---|---|---|
Any version of this VM must NOT be used for production, please. | Group pledges that:
| Windows OS and MS Office licensing expires in 6 months in environments without KMS (MS site licensing). Matlab won't work after expiration date set in VM (August?). Date determined by ChemIT and group. |
Ideas
For workshop, consider creating instructions analogous to this, but using a Windows VM, not Linux:
Consider using VM "snapshots". This may allow you to distribute a (large) base file (downloaded in advance) and only have participants have to download a (much smaller) diff file to accommodate last-minute changes:
Consider have forked versions so some don't have large pieces of software but will work for most of the workshops. Example: One without MATLAB? Or, without MS Office, if any of them have it?