On Sat, Nov 06, 2010 at 08:19:30AM -0500, Abraham Zamudio wrote:
> The last lines of my configuration are :
> 
> 
> *...*
> *checking for
>             include 'mpif.h'
>             integer:: ierr
>             call mpi_file_open( ierr ) in -lmpi... no
> checking prefix for running on one processor...
> checking prefix for running in parallel...
> checking whether a simple MPI-IO program can be linked... yes
> configure: error: no way to run a parallel program
> *
> My configure :
> 
> CC=/usr/local/mpich2_install/bin/mpicc
> CPPFLAGS=-I/usr/local/mpich2_install/include
> LDFLAGS=-L/usr/local/mpich2_install/lib FC=/usr/bin/gfortran ./configure
> --with-szlib=/usr/local/szip-2.1/szip/ --enable-parallel --enable-fortran
> 
> seems that the problem is the libraries .

It looks like your configure checked for something like mpirun or
mpiexec and could not find it? 

I configure against MPICH2 all the time so I know what you are doing
works and is not bizarre.

I think too you are passing in too many environment variables.  Try
just a simple 

'CC=/usr/local/mpich2_install/bin/mpicc ./configure --enable-fortran'

If you compile everything with mpicc, then you don't need the extra
CPPFLAGS and LDFLAGS

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to