[mpich-discuss] mpich-master: couldn't build libmpicxx.la with Sun C on Linux

Chandler scar at email.arizona.edu
Wed Aug 23 11:32:52 CDT 2017


Siegmar Gross wrote on 08/23/2017 01:51 AM:
> Unfortunately I wasn't successful.
> 
> loki mpich-master_2017-08-23_Linux.x86_64.64_cc_sun03 130 tail -13 
> log.make.Linux.x86_64.64_cc
> "./src/include/mpichconf.h", line 1132: Warning (Anachronism): Attempt 
> to redefine __restrict__ without using #undef.
> 1 Warning(s) detected.
>    CXXLD    lib/libmpicxx.la
> CC: -library=Crun cannot be used with -std=c++03. To use this library 
> you need to switch to -std=sun03
> CC: -library=Cstd cannot be used with -std=c++03. To use this library 
> you need to switch to -std=sun03
> Makefile:9429: recipe for target 'lib/libmpicxx.la' failed
> make[2]: *** [lib/libmpicxx.la] Error 1
> make[2]: Leaving directory 

CXXLD sounds like the linking phase, so maybe you need to add 
"-std=sun03" to the LDFLAGS parameter as well?  sorry i don't know much 
about compiling....
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list