Bianca is a research system dedicated for analyzing sensitive personal data from large-scale molecular experiments. Bianca is part of the SNIC-SENS project.
Since Bianca is designed to handle sensitive personal data security is a key aspect of the configuration and features restricted access and lack of direct Internet access to and from the cluster. This make it particularly difficult to use common tools to maintain python modules or software installations.
Here are some tips and advises on different way to approach the problem.
pip documentation
You need to collect the required python modules on a computer with Internet access then transfer the files to Bianca for installation. The most convenient way is to
transit.uppmax.uu.se
mount_wharf sens2016001
wharf
folder on transit and download the necessary modules.On
transit
(computer with Internet)
On
Bianca
(computer without Internet)
Look at this example in details.
Alternatively, check this guide and/or the video at the end.
Note that this might be done better by using python's venv
https://docs.python.org/3/tutorial/venv.html
Also: User practices: Installation and use of python packages on UPPMAX
Just tar the installation folder and untar it on Bianca and use the same python version.
TL;DR - installing https://github.com/nanoporetech/bonito
On Rackham (source machine)
Collect the module package following the instructions from the previous step.
Copy mdownload.tar
to Bianca
On Bianca (target machine)
Note: On Bianca there is nearly complete mirror of most common channels, which means that you might be able to manage your conda installations the usual way.
The methods above will not allow you to use python version that is not provided by the system setup i.e.
To use another specific version you need to use conda to create new environment with selected Python version.
Conda User Guide@UPPMAX
Conda-pack - command line tool for creating relocatable conda environments.
Hint: You can install packages with pip that will be packed with the conda environment…
On
Rackham
ortransit
/or other linux computer/
(*computer with Internet and same amd64 architecture *)
On Bianca (computer without Internet)
UPPMAX
, SNIC
, RT223073
, conda
, pip