[mvapich-discuss] Can't charm++ with mpicxx

Emilio Pasquale Mancini mancini at cse.ohio-state.edu
Mon Aug 17 19:13:12 EDT 2009


Hi Bjoern,
Take a look at:
http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/2009-March/002183.html
and
http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/2006-June/000189.html

Let me known if this helps
Bye
Emilio

Bjoern Olausson wrote:
> Hi all,
>
> it's my first post here and it starts with a curiouse problem.
> I can successfully compile v1.2, v1.4rc1 and v1.4_trunk, but the resulting 
> mpicc bin fails to compile charm++.
>
> Version 1.1 fails to compile itself.
>
> Chao Mei told met that those might be related to "multiple definitions" during 
> the linking stage. Google comes up with the following: 
> http://software.intel.com/en-us/forums/intel-c-compiler/topic/46414/
>
> Please find attached the build logs:
>
>
> mvapich-1.1.log
> http://daten-transport.de/download.php?id=baknrBs6wNkv&dateinummer=4305
> --------------------------------------------------------------------------------
> viainit.c(1417): warning #167: argument of type "void *" is incompatible with 
> parameter of type "void *(*)(void *)"
>               (void *) async_thread, (void *) viadev.context);
>               ^
>
> compilation aborted for viainit.c (code 2)
> make[3]: *** [viainit.o] Error 2
> Exit status from make was 2
> make[2]: *** [mpilib] Error 1
> make[1]: *** [mpi-modules] Error 2
> make: *** [mpi] Error 2
> --------------------------------------------------------------------------------
>
>
>
> mvapich2-1.2p1.log
> http://daten-transport.de/download.php?id=baknrBs6wNkv&dateinummer=4304
> --------------------------------------------------------------------------------
> Compiles correctly, but I cant compile charm++ with it.
> See the following charm++ log
>
> charm++2.6.3_mpi-linux-x86_64-mvapich2-1.2p1.log
> http://daten-transport.de/download.php?id=baknrBs6wNkv&dateinummer=4300
> --------------------------------------------------------------------------------
> xi-symbol.h(1281): warning #592: variable "rtn" is used before its value is 
> set
>         if (next) { rtn += next->genAccels_spe_c_funcBodies(str); }
>                     ^
>
> ../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
> /cvos/shared/apps/mvapich2/intel/64/1.2_custom/lib/libmpich.a(parser.o):
> (.bss+0x18): multiple definition of `yyin'
> xi-scan.o:(.bss+0x38): first defined here
> /cvos/shared/apps/mvapich2/intel/64/1.2_custom/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 
> /cvos/shared/apps/mvapich2/intel/64/1.2_custom/lib/libmpich.a(tokens.o)
> Fatal Error by charmc in directory /root/NAMD_2.7b1_Source/charm-6.1.2/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]: *** [../bin/charmxi] Error 1
> gmake[1]: Leaving directory `/root/NAMD_2.7b1_Source/charm-6.1.2/mpi-linux-
> x86_64-mpicxx/tmp'
> gmake: *** [headers] Error 2
> --------------------------------------------------------------------------------
>
>
>
> mvapich2-1.4_trunk-20090812.log
> http://daten-transport.de/download.php?id=baknrBs6wNkv&dateinummer=4303
> --------------------------------------------------------------------------------
> Compiles correctly, but I cant compile charm++ with it.
> See the following charm++ log
> --------------------------------------------------------------------------------
>
> charm++2.6.3_mpi-linux-x86_64-mvapich2-1.4_trunk-20090812.log
> http://daten-transport.de/download.php?id=baknrBs6wNkv&dateinummer=4302
> --------------------------------------------------------------------------------
> xi-symbol.h(1281): warning #592: variable "rtn" is used before its value is 
> set
>         if (next) { rtn += next->genAccels_spe_c_funcBodies(str); }
>                     ^
>
> ../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
> /cvos/shared/apps/mvapich2/intel/64/1.4/20090812/lib/libmpich.a(parser.o):
> (.bss+0x18): multiple definition of `yyin'
> xi-scan.o:(.bss+0x38): first defined here
> /cvos/shared/apps/mvapich2/intel/64/1.4/20090812/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 
> /cvos/shared/apps/mvapich2/intel/64/1.4/20090812/lib/libmpich.a(tokens.o)
> Fatal Error by charmc in directory /root/NAMD_2.7b1_Source/charm-6.1.2/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]: *** [../bin/charmxi] Error 1
> gmake[1]: Leaving directory `/root/NAMD_2.7b1_Source/charm-6.1.2/mpi-linux-
> x86_64-mpicxx/tmp'
> gmake: *** [headers] Error 2
> --------------------------------------------------------------------------------
>
> Kind regards
> Bjoern
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>   



More information about the mvapich-discuss mailing list