[mpich-discuss] mpicc -V broken
Min Si
msi at anl.gov
Tue Apr 18 20:39:12 CDT 2017
Your `mpicc -show` output shows there is no bug in mpicc script.
I tried to configure mpiblast with MPICH v3.2 release. I see a slightly
different error reported if searching `mpicc -V` in config.log, but the
configure is completed without any error.
I think the configure just tries to get some compiler information
through common options such as `--version`, `-v`, or `-V`. But it does
not break the configure if any of those options is unsupported. So you
can just ignore this error message. Please let us know if you find other
problem break the compiling.
Btw, here is the error message on my side. I think we see different
errors for `-V` option just because of a different GCC version.
gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
configure:2855: $? = 0
configure:2862:
/home/minsi/git/mpich.git.v3.2/build-gnu-tcp/install/bin/mpicc -V >&5
gcc: error: unrecognized command line option '-V'
Min
On 4/17/17 4:50 PM, Chandler wrote:
> Min Si wrote on 04/15/2017 11:02 AM:
>> Can you try `mpicc -show` ?
>
> $ mpicc -show
> gcc -I/opt/mpich-install/include -L/opt/mpich-install/lib -Wl,-rpath
> -Wl,/opt/mpich-install/lib -Wl,--enable-new-dtags -lmpi
>
>> Is "mpicc -V" checked by mpiblast configure?
>
> Yes. I attached config.log
>
>
> On 4/15/17 11:01 AM, Jeff Hammond wrote:
>>> Try "mpicc -v". I don't remember if GCC version flag is case
>>> insensitive.
>
> Yes mpicc -v does work as expected
>
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20170418/6f61075e/attachment.html>
-------------- next part --------------
_______________________________________________
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