RE: [Non-DoD Source] AW: Compilation error across Intel 14, 15 and 16 (UNCLASSIFIED)

From: Downs, Andrew S CTR USARMY ARL (US) (andrew.s.downs3.ctr_at_mail.mil)
Date: Tue Jan 12 2016 - 14:04:36 CST

CLASSIFICATION: UNCLASSIFIED

Once I build charm++, I have to modify files in 'arch'

Specifically:

CRAY-XC.tcl
TCLDIR defined to the exact path of TCL (8.5.9)

CRAY-XC.fftw
FFTDIR defined to the exact path of FFTW (Tried 2.1.5.9 and 3.3.4.4)

CRAY-XC-intel.arch
Modified line : "CHARMARCH = mpi-crayxc"

Then:
./config CRAY-XC-intel

cd ./CRAY-XC-intel
make

Then it produces the error I sent out first, which you have.

-----Original Message-----
From: owner-namd-l_at_ks.uiuc.edu [mailto:owner-namd-l_at_ks.uiuc.edu] On Behalf Of Norman Geist
Sent: Tuesday, January 12, 2016 2:23 PM
To: namd-l_at_ks.uiuc.edu; Downs, Andrew S CTR USARMY ARL (US) <andrew.s.downs3.ctr_at_mail.mil>
Subject: AW: [Non-DoD Source] AW: namd-l: Compilation error across Intel 14, 15 and 16 (UNCLASSIFIED)

Ok, so how does your namd build command look like?

Norman Geist

> -----Ursprüngliche Nachricht-----
> Von: owner-namd-l_at_ks.uiuc.edu [mailto:owner-namd-l_at_ks.uiuc.edu] Im
> Auftrag von Downs, Andrew S CTR USARMY ARL (US)
> Gesendet: Dienstag, 12. Januar 2016 16:45
> An: Norman Geist <norman.geist_at_uni-greifswald.de>; namd-l_at_ks.uiuc.edu
> Betreff: RE: [Non-DoD Source] AW: namd-l: Compilation error across
> Intel
14,
> 15 and 16 (UNCLASSIFIED)
>
> CLASSIFICATION: UNCLASSIFIED
>
> ./build charm++ mpi-crayxc -O -DCMK_OPTIMIZE=1
>
> I can build charm++ with intel or gnu with no problems. My troubles
> start when I try to "make" the rest of NAMD.
>
> Thanks for your help.
>
> -Andrew Downs
> -----Original Message-----
> From: Norman Geist [mailto:norman.geist_at_uni-greifswald.de]
> Sent: Tuesday, January 12, 2016 9:32 AM
> To: namd-l_at_ks.uiuc.edu; Downs, Andrew S CTR USARMY ARL (US)
> <andrew.s.downs3.ctr_at_mail.mil>
> Subject: AW: [Non-DoD Source] AW: namd-l: Compilation error across
> Intel 14, 15 and 16 (UNCLASSIFIED)
>
> No really, tell us how you built charm++.
>
> Norman Geist
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: owner-namd-l_at_ks.uiuc.edu [mailto:owner-namd-l_at_ks.uiuc.edu] Im
> > Auftrag von Downs, Andrew S CTR USARMY ARL (US)
> > Gesendet: Dienstag, 12. Januar 2016 14:28
> > An: Norman Geist <norman.geist_at_uni-greifswald.de>;
> > namd-l_at_ks.uiuc.edu
> > Betreff: RE: [Non-DoD Source] AW: namd-l: Compilation error across
> > Intel
> 14,
> > 15 and 16 (UNCLASSIFIED)
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> > Thanks for your reply, I should have explained more.
> >
> > In my example, I have already built charm++ so that module swap has
> > already been done.
> >
> > PrgEnv-intel is loaded.
> >
> > A fellow researcher here previously build NAMD 2.10 on our XC40, so
> > he's left it up to me to build 2.11.
> > I've tried both intel and gnu compilers, both break at various points.
> > All of our intel compilers break at the point in my original message.
> > Gnu breaks at linkage towards the end.
> > I'm not very concerned with gnu because the intel compilers produce
> > faster code, which is why I only provided error output for intel.
> >
> > Thanks for your help.
> >
> > Andrew Downs
> >
> > -----Original Message-----
> > From: Norman Geist [mailto:norman.geist_at_uni-greifswald.de]
> > Sent: Tuesday, January 12, 2016 3:17 AM
> > To: namd-l_at_ks.uiuc.edu; Downs, Andrew S CTR USARMY ARL (US)
> > <andrew.s.downs3.ctr_at_mail.mil>
> > Subject: [Non-DoD Source] AW: namd-l: Compilation error across Intel
> > 14,
> 15
> > and 16 (UNCLASSIFIED)
> >
> > Hey,
> >
> > I think we need at least the command line with which you are trying
> > to
> build
> > charm++.
> > This generally looks like not doing the right thing to build on cray
> generally?
> >
> > Did you follow the instructions given by the maintainer of that cray
> system?
> >
> > Something like:
> >
> > module switch PrgEnv-cray PrgEnv-intel
> >
> > Norman Geist
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: owner-namd-l_at_ks.uiuc.edu [mailto:owner-namd-l_at_ks.uiuc.edu] Im
> > > Auftrag von Downs, Andrew S CTR USARMY ARL (US)
> > > Gesendet: Montag, 11. Januar 2016 20:10
> > > An: namd-l_at_ks.uiuc.edu
> > > Betreff: namd-l: Compilation error across Intel 14,15 and 16
> > (UNCLASSIFIED)
> > >
> > > CLASSIFICATION: UNCLASSIFIED
> > >
> > > Hello,
> > >
> > > I get the same error regardless of which Intel compiler I use
> > > between
> > version
> > > 14, 15 or 16. I'm compiling on a Cray XC-40.
> > > What's strange is the errors I'm getting look like the code itself
> > > is
> > wrong, but I
> > > know how unlikely that is. Please see below:
> > >
> > > intel compiler output:
> > >
> > > 1:54pm adowns : make
> > >
> > > found module rca/1.0.0-2.0502.53711.3.127.ari found module
> > > PrgEnv-intel/5.2.40 if [ ! -d inc ]; then mkdir -p inc; fi if [ !
> > > -f inc/.exists ]; then touch inc/.exists; fi if [ ! -d obj ]; then
> > > mkdir -p obj; fi if [ ! -f obj/.exists ]; then touch obj/.exists;
> > > fi cp src/Node.ci inc .rootdir/charm-6.7.0/mpi-crayxc/bin/charmc
> > > inc/Node.ci rm -f inc/Node.ci mv Node.def.h inc mv Node.decl.h inc
> > > cp src/PatchMgr.ci inc .rootdir/charm-6.7.0/mpi-crayxc/bin/charmc
> > > inc/PatchMgr.ci rm -f inc/PatchMgr.ci mv PatchMgr.def.h inc mv
> > > PatchMgr.decl.h inc cp src/ComputeMoaMgr.ci inc
> > > .rootdir/charm-6.7.0/mpi-crayxc/bin/charmc inc/ComputeMoaMgr.ci rm
> > > -f inc/ComputeMoaMgr.ci mv ComputeMoaMgr.def.h inc mv
> > > ComputeMoaMgr.decl.h inc cp src/ComputeMgr.ci inc
> > > .rootdir/charm-6.7.0/mpi-crayxc/bin/charmc inc/ComputeMgr.ci rm -f
> > > inc/ComputeMgr.ci mv ComputeMgr.def.h inc mv ComputeMgr.decl.h inc
> > cp
> > > src/WorkDistrib.ci inc .rootdir/charm-6.7.0/mpi-crayxc/bin/charmc
> > > inc/WorkDistrib.ci rm -f inc/WorkDistrib.ci mv WorkDistrib.def.h
> > > inc mv WorkDistrib.decl.h inc CC
> > > -I.rootdir/charm-6.7.0/mpi-crayxc/include
> > > -DCMK_OPTIMIZE=1 -Isrc -Iinc -Iplugins/include -DSTATIC_PLUGIN -
> > > I/usr/cta/unsupported/NAMD/tcl8.5.9/include -DNAMD_TCL -
> > > I.rootdir/fftw/include -DNAMD_FFTW -DNAMD_VERSION=\"2.11\" -
> > > DNAMD_PLATFORM=\"CRAY-XC-MPI\" -
> > > DREMOVE_PROXYRESULTMSG_EXTRACOPY -
> > > DNODEAWARE_PROXY_SPANNINGTREE -DUSE_NODEPATCHMGR -
> > > DUSE_CKLOOP=1 -O2 -ip -no-vec -o obj/ComputeMoa.o -c
> > src/ComputeMoa.C
> > > In file included from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > .rootdir/charm-6.7.0/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):
> > > .rootdir/charm-6.7.0/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):
> > > .rootdir/charm-6.7.0/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 .rootdir/charm-6.7.0/mpi-
> > > crayxc/include/charm++.h(1037),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > .rootdir/charm-6.7.0/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 .rootdir/charm-6.7.0/mpi-
> > > crayxc/include/charm++.h(1037),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > argument types are: (CkMigrateMessage *) In file
> > > included from .rootdir/charm-6.7.0/mpi-
> crayxc/include/charm++.h(1037),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > CkMemCheckPT(CkMigrateMessage *m):CBase_CkMemCheckPT(m) {};
> > > ^
> > >
> > > In file included from .rootdir/charm-6.7.0/mpi-
> > > crayxc/include/cklocation.h(31),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/ckarray.h(29),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/charm++.h(1039),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > .rootdir/charm-6.7.0/mpi-crayxc/include/MetaBalancer.h(56): error:
> > > no instance of constructor "CBaseT1<Parent,
> > > CProxy_Derived>::CBaseT1 [with Parent=Group,
> > > CProxy_Derived=CProxy_MetaBalancer]" matches
> the
> > > argument list In file included from .rootdir/charm-6.7.0/mpi-
> > > crayxc/include/cklocation.h(31),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/ckarray.h(29),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/charm++.h(1039),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > argument types are: (CkMigrateMessage *) In file
> > > included from .rootdir/charm-6.7.0/mpi-
crayxc/include/cklocation.h(31),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/ckarray.h(29),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/charm++.h(1039),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > MetaBalancer(CkMigrateMessage *m) : CBase_MetaBalancer(m) {
> > > init();
> }
> > > ^
> > >
> > > In file included from .rootdir/charm-6.7.0/mpi-
> > > crayxc/include/cklocation.h(31),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/ckarray.h(29),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/charm++.h(1039),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > .rootdir/charm-6.7.0/mpi-crayxc/include/MetaBalancer.h(191): error:
> > > no instance of constructor "CBaseT1<Parent,
> > > CProxy_Derived>::CBaseT1 [with Parent=Group, CProxy_Derived=CProxy_MetaBalancerRedn]"
> > matches
> > > the argument list In file included from .rootdir/charm-6.7.0/mpi-
> > > crayxc/include/cklocation.h(31),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/ckarray.h(29),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/charm++.h(1039),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > argument types are: (CkMigrateMessage *) In file
> > > included from .rootdir/charm-6.7.0/mpi-
crayxc/include/cklocation.h(31),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/ckarray.h(29),
> > > from
> > .rootdir/charm-6.7.0/mpi-crayxc/include/charm++.h(1039),
> > > from src/Node.h(16),
> > > from src/ComputeMoa.C(25):
> > > MetaBalancerRedn(CkMigrateMessage *m) :
> > > CBase_MetaBalancerRedn(m) {init();}
> > >
> > > ^
> > >
> > > compilation aborted for src/ComputeMoa.C (code 2)
> > > make: *** [obj/ComputeMoa.o] Error 2
> > >
> > >
> > > CLASSIFICATION: UNCLASSIFIED
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
>
>
>
> CLASSIFICATION: UNCLASSIFIED

CLASSIFICATION: UNCLASSIFIED

This archive was generated by hypermail 2.1.6 : Tue Dec 27 2016 - 23:21:44 CST