The https://apps.baskerville.ac.uk website provides details on Baskerville’s available applications, including their corresponding
module load commands. There is also another method, which is to use the
module spider command to list existing modules along with their descriptions.
module spider # scan through all available modules module spider Python # view all available Python modules
module load command is used to load installed applications. Before loading your specific applications the following commands are required:
module purge; module load baskerville
module load bask-apps/live
The first line ensures that your job starts with a clean environment. Failure to include this line means that your job will inherit its environment from where you submitted the job to the cluster, which can have unintended consequences.
App Environments: live and test¶
Baskerville has two levels of application environment. The “live” environment provides modules that have undergone a period of testing and
are considered stable – it is recommended that users load applications from here where possible. There is an additional “test” environment
which contains apps that been deployed recently and have therefore not undergone extensive testing. The various modules’ pages at
https://apps.baskerville.ac.uk make clear in which environment a given module is installed and include the required
module load commands.
module load procedure for Python version 3.8.6.
module purge; module load baskerville module load bask-apps/live module load Python/3.8.6-GCCcore-10.2.0
You should always do the first line as stated above, else your job will inherit the environment from where you submitted your batch script, which can then cause issues. Also, whilst not explicitly asked for in the question, you should initially load the “live”, rather than the “test”, versions of modules. (See Baskerville application environments.)
Python Virtual Environments¶
For information on using Python virtual environments to install additional Python modules please see the documentation on self-installing Python software.