configure fails to recognize mpich

Joseph E. Sacco, Ph.D. joseph_sacco at comcast.net
Fri Sep 8 16:45:36 UTC 2006


System:
* G4-based PPC running YDL-4.1 [FC4 clone]
* gcc-4.0.2
* mpich-1.2.7p1  [installed in /opt/mpich]
* mpich2-1.0.4pl [installed in /opt/mpich2]

==========================================================================

Problem:

        configure test for mpich fails.
        

Discussion
----------
Running

    ./configure --prefix=/opt/vsipl++ --with-mpi-prefix=/opt/mpich

fails:

                                   ...
        checking for mpi.h... yes
        checking whether MPICH_NAME is declared... yes
        checking for MPI build instructions... configure: error: Unable
        to compile / link test MPI application.


The same result is obtained with mpich2

        ./configure --prefix=/opt/vsipl++ --with-mpi-prefix=/opt/mpich



The test for mpi within configure appears rather innocuous:

        #include VSIP_IMPL_MPI_H       <<===  #include <mpi.h>
        int
        main ()
        {
        MPI_Init(0, 0);
          ;
          return 0;
        }

and does compile /link when run outside of configure.


Thoughts???


-Joseph


-- 
joseph_sacco [at] comcast [dot] net




More information about the vsipl++ mailing list