Build error with Intel on Titan

Created by: kshitij-v-mehta

Getting a compilation error on Titan when using Intel. Using HEAD with latest commit ab1a2e45dda32235158e67091ee37b40cb27ad84 (August 9)

Loaded modules:

Currently Loaded Modulefiles:
  1) eswrap/1.3.3-1.020200.1280.0
  2) craype-network-gemini
  3) cray-mpich/7.6.3
  4) craype-interlagos
  5) lustredu/1.4
  6) xalt/0.7.5
  7) git/2.13.0
  8) module_msg/0.1
  9) modulator/1.2.0
 10) hsi/5.0.2.p1
 11) DefApps
 12) gcc/4.8.1
 13) intel/17.0.0.098
 14) craype/2.5.13
 15) python/3.5.1
 16) cmake3/3.9.0
 17) cudatoolkit/9.1.85_3.10-1.0502.df1cc54.3.1
 18) cray-libsci/16.11.1
 19) udreg/2.3.2-1.0502.10518.2.17.gem
 20) ugni/6.0-1.0502.10863.8.28.gem
 21) pmi/5.0.12
 22) dmapp/7.0.1-1.0502.11080.8.74.gem
 23) gni-headers/4.0-1.0502.10859.7.8.gem
 24) xpmem/0.1-2.0502.64982.5.3.gem
 25) dvs/2.5_0.9.0-1.0502.2188.1.113.gem
 26) alps/5.2.4-2.0502.9774.31.12.gem
 27) rca/1.0.0-2.0502.60530.1.63.gem
 28) atp/2.1.1
 29) PrgEnv-intel/5.2.82
 30) python_numpy/1.7.1
 31) python_scipy/0.12.0
 32) python_mpi4py/2.0.0

Cmake build command:

cmake -DADIOS2_USE_Fortran=ON ADIOS2_USE_Python=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../installation/intel-17.0.0 ../

Running make gives

[ 48%] Building CXX object bindings/Python/CMakeFiles/adios2py.dir/py11ADIOS.cpp.o
In file included from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/attr.h(13),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/pybind11.h(43),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/numpy.h(12),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11IO.h(14),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11ADIOS.h(14),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11ADIOS.cpp(11):
/ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/cast.h(838): error: alias template "pybind11::detail::type_caster_base<type>::cast_op_type" may not be used in the type-id of the alias-declaration
      template <typename T> using cast_op_type = cast_op_type<T>;
                                                 ^

In file included from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/attr.h(13),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/pybind11.h(43),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/numpy.h(12),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11IO.h(14),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11ADIOS.h(14),
                 from /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11ADIOS.cpp(11):
/ccs/proj/csc143/kmehta/opt/adios2-master-08.10/thirdparty/pybind11/pybind11/include/pybind11/cast.h(1828): warning #3373: nonstandard use of "auto" to both deduce the type from an initializer and to announce a trailing return type
      static constexpr auto args_pos = constexpr_first<argument_is_args, Args...>() - (int) sizeof...(Args),
                       ^

compilation aborted for /ccs/proj/csc143/kmehta/opt/adios2-master-08.10/bindings/Python/py11ADIOS.cpp (code 2)
make[2]: *** [bindings/Python/CMakeFiles/adios2py.dir/py11ADIOS.cpp.o] Error 2
make[1]: *** [bindings/Python/CMakeFiles/adios2py.dir/all] Error 2