Set up a Python3 Environment
Provides instructions for setting up and activating a Python3 environment.
This procedure assumes that a Python3 environment has not already been set up.
If a Python3 environment is not set up with
numpy, the system will return the following warning when loading the analytics module and using Hyperparameter Optimization (HPO):INFO: CrayAI HPO requires the numpy module to be installed with python3, \ but no numpy support was detected. INFO: Now attempting to load module cray-python to provide numpy support. INFO: No cray-python available. In order to use the CrayAI HPO Module, \ please set up a python3 environment with numpy support.There are two correct options for the Python environment and there should be no performance difference between these two options with respect to the HPO module:
- Using Cray-python, which will be loaded by default if available. In this case, the INFO warning above will be displayed without the last line.
- Using a user-defined Python3 environment, which must be done by the user ahead of time. Python3 must be available when loading the module or else the module will fail to load.
miniconda, which is used in this procedure.