Error Installing Hail

I have spent some time trying to install hail on my anaconda environment according to the instructions listed here. Packages listed here:

However, I keep receiving the error shown below. It seems to repeatedly reference the error: “g++: error: unrecognized command line option ‘-std=c++14”. I would appreciate any help in troubleshooting this, as I am quite new to programming. Thank you.

Hail install error.txt (10.6 KB)

Your C++ compiler doesn’t support C++14, which Hail requires. Upgrade to at least GCC 5 or Clang 3.4.

As an aside, it looks like you’re on an HPC cluster, not a Spark cluster. You might try just using pip-installed Hail: pip install hail. It works with most modern linuxes with modern CPUs.

The instructions you linked are for Spark clusters. Submitting jobs to an HPC cluster or using an interactive node of an HPC cluster is effectively the same as running Hail on any other linux machine.

I believe I installed via “pip install hail”. Does this look correct to you:


Prior to this process, several packages were collected and downloaded successfully.

Thank you again for your help.

Yes, this appears like a successful installation, but you’ll need to try running a linear regression to know for sure that the PyPI version of Hail is compatible with your system. The Hail GWAS Tutorial has an example of doing this.