This page describes the step-by-step process to compile CODES and its dependencies and enable Cortex. First, create a directory in which all these dependencies will be installed. In the following, we will assume this directory is $HOME/CODES.
Installing Boost-Python (mandatory if Python is enabled, optional otherwise)
Make sure you PATH points to where the previously built Python is installed, before continuing. Conflict between different Python installations are the source of most issues in later steps of the installation process.