charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Jim Phillips <jim AT ks.uiuc.edu>
- To: Phil Miller <mille121 AT illinois.edu>
- Cc: charm AT cs.illinois.edu
- Subject: Re: [charm] MPI 6.1.3 build error on NCSA AC cluster
- Date: Fri, 18 Dec 2009 17:13:27 -0600 (CST)
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
It's easier to just switch mpiCC to mpicxx in src/arch/mpi-linux-x86_64/conv-mach.sh, since that file does the right thing by using gcc for the native compiles.
I can just define the MPICXX environment variable instead, right?
-Jim
On Fri, 18 Dec 2009, Phil Miller wrote:
On Fri, Dec 18, 2009 at 16:17, Jim Phillips
<jim AT ks.uiuc.edu>
wrote:
Hi,
I get this error building mpi-linux-x86_64-mpicxx on NCSA's AC cluster.
[jphillip@ac
~]$ which mpicxx
/usr/mvapich2-intel/bin/mpicxx
[jphillip@ac
~]$ which icc
/opt/intel/Compiler/11.1/038/bin/intel64/icc
Any ideas or workaround? I've never seen this before. Looks like a yacc
conflict with mvapich2, but charmxi doesn't need to be built with mpicxx.
Try changing CMK_NATIVE_{CC,CXX,LD,LDXX} from the respective CMK_FOO
variables to the underlying icc/icpc in
src/arch/mpi-linux-x86_64/conv-mach-mpicxx.sh.
Phil
-Jim
../bin/charmc -host -language c++ -cp ../bin/ -o charmxi xi-main.o
xi-symbol.o
xi-grammar.tab.o xi-scan.o xi-util.o sdag-globals.o CSdagConstruct.o
CEntry.o
/usr/mvapich2-intel/lib/libmpich.a(parser.o):(.bss+0x18): multiple
definition of
`yyin'
xi-scan.o:(.bss+0x38): first defined here
/usr/mvapich2-intel/lib/libmpich.a(parser.o):(.bss+0x20): multiple
definition of
`yyout'
xi-scan.o:(.bss+0x40): first defined here
ld: Warning: alignment 8 of symbol `yylval' in xi-grammar.tab.o is smaller
than
32 in /usr/mvapich2-intel/lib/libmpich.a(tokens.o)
Fatal Error by charmc in directory
/usr/tmp/charm_release-2.7b2.mpi-linux-x86_64
-mpicxx/charm-6.1.3/mpi-linux-x86_64-mpicxx/tmp
Command mpicxx -o charmxi xi-main.o xi-symbol.o xi-grammar.tab.o xi-scan.o
xi
-util.o sdag-globals.o CSdagConstruct.o CEntry.o -L../bin/../lib returned
error
code 1
charmc exiting...
gmake[1]: Leaving directory
`/var/tmp/charm_release-2.7b2.mpi-linux-x86_64-mpicx
x/charm-6.1.3/mpi-linux-x86_64-mpicxx/tmp'
gmake[1]: *** [../bin/charmxi] Error 1
gmake: *** [headers] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into mpi-linux-x86_64-mpicxx/tmp and try
- Re: [charm] MPI 6.1.3 build error on NCSA AC cluster, Phil Miller, 12/18/2009
- Re: [charm] MPI 6.1.3 build error on NCSA AC cluster, Jim Phillips, 12/18/2009
- Re: [charm] MPI 6.1.3 build error on NCSA AC cluster, Phil Miller, 12/18/2009
- Re: [charm] MPI 6.1.3 build error on NCSA AC cluster, Jim Phillips, 12/18/2009
Archive powered by MHonArc 2.6.16.