[vsipl++] configure fails to recognize mpich
Stefan Seefeld
stefan at codesourcery.com
Sat Sep 9 18:04:09 UTC 2006
Joseph E. Sacco, Ph.D. wrote:
> Stefan,
>
> I can confirm that your patch works:
>
> [patch applied to configure]
>
> ...
> with mpi enabled: yes
> With parallel service: mpich
> ...
Excellent !
> There are many ways to resolve this issue. mpich1 supports command line
> arguments:
>
> $ mpicxx -compile-info
> g++ -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -DHAVE_MPI_CPP
> -I/opt/mpich/include/mpi2c++ -fexceptions -c -I/opt/mpich/include
>
> $ mpicxx -link-info
> g++ -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -L/opt/mpich/lib
> -lpmpich++ -lmpich -lpthread -lrt
>
>
> Maybe it would be cleaner to use these directly rather than using
> "-show".
I agree. However, as we have to deal with different versions of that
applet, we are aiming for a mechanism that is supported by all of them.
The '-show' / '-showme' option seems to be the least common denominator.
Thanks,
Stefan
--
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718
More information about the vsipl++
mailing list