NAMD_2.12b1 build on Cray XC40 is failing

From: Ianni, James C CTR USARMY RDECOM ARL (US) (james.c.ianni.ctr_at_mail.mil)
Date: Mon Dec 12 2016 - 14:35:32 CST

Hello there,

    I'm trying to build NAMD_2.12b1 on a Cray XC40 with Intel 16.x compilers
and fftw/3.3.4.4.
I have built the older versions on our XC40 with no problem...

Charm is built with " export MPICXX=CC ; ./build charm++ mpi-crayxc".
Config is accomplished with:

" ./config CRAY-XC --cxx CC --cc cc --tcl-prefix
/usr/cta/unsupported/NAMD/tclgnu/tcl8.5.9 --charm-base
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1 --fftw-prefix
/opt/cray/fftw/3.3.4.4/haswell --charm-arch mpi-crayxc"

I then cd into CRAY-XC and type "make", it compiles for a minute, then fails
with this error shown below.
How can I compile this version of NAMD on z Cray XC40?

"
CC
-I/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/includ
e -DCMK_OPTIMIZE=1 -Isrc -Iinc -Iplugins/include -DSTATIC_PLUGIN
-I/usr/cta/unsupported/NAMD/tclgnu/tcl8.5.9/include -DNAMD_TCL
-I/opt/cray/fftw/3.3.4.4/haswell/include -

DNAMD_FFTW -DNAMD_FFTW_3 -DNAMD_VERSION=\"2.12b1\"
-DNAMD_PLATFORM=\"CRAY-XC-MPI\" -DREMOVE_PROXYRESULTMSG_EXTRACOPY
-DNODEAWARE_PROXY_SPANNINGTREE -DUSE_NODEPATCHMGR -DUSE_CKLOOP=1 -O2 -ip
-xAVX -o obj/ComputeMoa.o -c src/ComputeMoa.C
icpc: command line warning #10121: overriding '-xCORE-AVX2' with '-xAVX'
In file included from src/Node.h(16),
                 from src/ComputeMoa.C(25):
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
charm++.h(368): error: expected an identifier
    template <typename... Args>
                      ^

In file included from src/Node.h(16),
                 from src/ComputeMoa.C(25):
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
charm++.h(369): error: expected a ")"
    CBaseT1(Args... args) : Parent(args...) { thisProxy = this; }
                ^

In file included from src/Node.h(16),
                 from src/ComputeMoa.C(25):
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
charm++.h(369): error: not a valid member class or function template
declaration
    CBaseT1(Args... args) : Parent(args...) { thisProxy = this; }
    ^

In file included from
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
charm++.h(1037),
                 from src/Node.h(16),
                 from src/ComputeMoa.C(25):
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
ckmemcheckpoint.h(144): error: no instance of constructor "CBaseT1<Parent,
CProxy_Derived>::CBaseT1 [with Parent=Group,
CProxy_Derived=CProxy_CkMemCheckPT]" matches the argument list
In file included from
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
charm++.h(1037),
                 from src/Node.h(16),
                 from src/ComputeMoa.C(25):
            argument types are: (CkMigrateMessage *)
In file included from
/usr/cta/unsupported/NAMD/NAMD_2.12b1_Source/charm-6.7.1/mpi-crayxc/include/
charm++.h(1037),
                 from src/Node.h(16),
                 from src/ComputeMoa.C(25):
    CkMemCheckPT(CkMigrateMessage *m):CBase_CkMemCheckPT(m) {};
                                                        ^
-James


This archive was generated by hypermail 2.1.6 : Tue Dec 27 2016 - 23:22:42 CST