In this module, you will use a module specific virtual computing environment (VCE) for some of the module activities. We offer two ways of accessing the VCE: as an online hosted version using the Open University's OpenComputing Lab service (the 'hosted VCE'), and as a locally run environment that you can install on your own computer (a 'local VCE').
The VCE provides a customised Linux-based computing environment appropriate for your module and an interactive browser based user interface to access the software running inside it.
The hosted VCE is straightforward to use, and is suitable for most students (). If you want to use the VCE when you do not have a connection to the Internet, or if you want to gain experience of installing and running a virtual Linux-based computing environment using containers, then you should choose to download and install the local VCE (). Further advice on choosing between the two environments is provided in {numref}hosted-or-vce
{ref}hosted-or-vce
.
Your work in the VCE will be saved within the environment: either in the cloud (by the hosted VCE) or on your local machine (by the local VCE). If you are using the hosted VCE, you should regularly download a copy of your work files, particularly any TMA and EMA related work, to your local machine. For the local VCE, you might also want to back up important files to an alternative location.
This guide includes the following information:
-
some general comments and tips, including choosing between the hosted or local VCE ({numref}
gen-intro:general-comments
) -
accessing the hosted VCE ({numref}
g-compute_home.md#compute-home-online-vce
) -
installing the local VCE on your own computer, including testing your installation ({numref}
g-local_vce_quickstart.md#local-vce-quick-start
and {numref}g-local_vce_detailed.md#local-vce-detailed-guidance
) -
working with the VCE, including uploading and downloading files:
- JupyterLab ({numref}
g-vce_homepage_jupyterlab.md#using-the-vce-with-jupyterlab
) - Jupyter notebook v7 ({numref}
g-vce_homepage_jupyter_nb_v7.md#using-the-vce-with-jupyterlab-notebook-v7
)
- JupyterLab ({numref}
-
working with Jupyter notebooks — a brief overview of working within a Jupyter notebook document ({numref}
g-using_jupyter_notebooks.md#using-jupyter-notebooks
) as well as notebook "gotchas" - that is, features of the notebooks that may not work the way you expect -
accessibility information ({numref}
g-accessibility_jupyterlab-nbv7.md#jupyter-notebook-accessibility
) (includes selecting language packs, changing theme, setting font sizes, enabling audio alerts, etc.) -
file management — guidance on how to upload, backup and download files, create and uncompress
.zip
file archives, etc. ({numref}g-file_management.md#file-management
) -
information on finding additional support, and guidance on where to look for or ask for help ({numref}
g-additional-support.md#additional-support
) -
troubleshooting ({numref}
g-troubleshooting.md#troubleshooting
)
(gen-intro:general-comments)=
In this section you will find some general comments and tips associated with using the VCE.
You will access the software tools provided by the virtual computing environment (either the hosted VCE or the local VCE) via a web browser. For VCEs running Jupyter environments, the notebooks have been tested extensively with the Chrome web browser. Recent versions of the Firefox, Edge and Safari web browsers should also work; Internet Explorer and older, non-Chromium versions of Edge are not supported and notebooks may not work correctly if you use them.
To make it easier to access a locally running VCE, we suggest that you add a browser bookmark for the default web page published by the locally running VCE container. For the remotely hosted VCE, we suggest that you access OpenComputing Lab via a bookmark for the module Resources
page on the VLE.
(host-or-vce)=
For many students, OpenComputing Lab provides the most convenient way of accessing the {{MCODE}} VCE. All you need to access the hosted VCE is an internet connection and a computer running a modern web browser. For the duration of the module, all your work will be stored online in a personal file storage area. However, at the end of the module, you will lose access to the hosted VCE.
If you need to access the VCE in an offline environment, or if you prefer not to use the hosted environment, you can run the VCE locally on your own computer. The local environment also provides a way of using the VCE when the module has finished and the online VCE is no longer available.
The hosted VCE and the local VCE provide the same working environment, so your decision as to which environment to use is your own personal preference. Indeed you may want to make use of both environments, accessing each of them at different times or in different circumstances. This is fine. However, when doing so, you will have to manage how you synchronise your files across the two VCEs yourself.
It is generally regarded as good practice to make backup copies of any files that you would not like to lose. This applies to the contents of the shared folder that is established when setting up the local VCE, as well as all the folders within the hosted VCE.
In the local VCE, only the files you save inside the VCE directory that the shared folder has been mounted against (recommended as {{vce_homedir}}) will be saved to the shared folder on your desktop. All files inside the VCE will persist inside the container until the container is deleted or destroyed.
Backups are regularly made of your files on the hosted VCE. For the local VCE, files will persist in the directory on your host computer that is mounted into the VCE, even if the VCE container is destroyed.
However, it is still good practice, and beneficial to your own peace of mind if nothing else, particularly when working on TMAs or the EMA, for you to back up or grab an archival copy of your files every so often.
In putting together the VCE, we have tried to ensure that all the software packages and their interconnections run smoothly. Some of the configuration is software version specific, so you are strongly encouraged not to update or upgrade any of the software packages installed within the environment unless instructed to do so by the module team. Software updates and upgrades occasionally introduce changes that result in undesirable software behaviour, sometimes known as 'breaking changes', that cannot always be predicted in advance.
Information regarding any critical updates or changes recommended by the module team will be distributed via the module forums.
Hopefully, you should not see any error messages when installing or running the software provided by the VCE. On completion of each step everything should be working.
You should try to make sure you have the virtual computing environment up and running as soon as you are advised to access it in the module materials or study calendar. If there are any problems then there should be plenty of time to solve them.
If something doesn't appear to be working, try to read through the error messages and see if you can tell what didn't load properly. Most importantly of all, don't panic.
Please remember when raising software issues that posting error logs can really help others to try to solve the problem. Saying 'My software is broken/doesn't work/prints out scary red or purple messages' is not helpful. However, sharing those scary messages probably is. Most importantly of all, don't be embarrassed about sharing error messages: they often contain the key to the solution of whatever problem caused them.
If you do encounter a problem, the section describes a general strategy for working through the problem and how to ask for help. A later section, , provides more specific guidance for working through particular sorts of issues with the different software applications.
The next section, {numref}g-compute_home.md#compute-home-online-vce
, {ref}g-compute_home.md#compute-home-online-vce
, describes how to get started with the hosted VCE. You do not need to read those sections if you only wish to use the local VCE.
There are then two sections — {numref}g-local_vce_quickstart.md#local-vce-quick-start
({ref}g-local_vce_quickstart.md#local-vce-quick-start
) and {numref}g-local_vce_detailed.md#local-vce-detailed-guidance
({ref}g-local_vce_detailed.md#local-vce-detailed-guidance
) — that describe how to install a locally run version of the VCE on your own computer. You do not need to read those sections if you only wish to use the hosted VCE.