Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Bernd Schubert (bs_at_[hidden])
Date: 2007-08-23 06:33:23


Hi,

I need to compile a benchmarking program and absolutely so far do not have
any experience with any MPI.
However, this looks like a general open-mpi problem, doesn't it?

bschubert_at_lanczos MPI_IO> make
cp ../globals.f90 ./; mpif90 -O2 -c ../globals.f90
mpif90 -O2 -c main.f90
mpif90 -O2 -c reader.f90
fortcom: Error: reader.f90, line 24: This name does not have a type, and
must have an explicit type. [MPI_FILE_NULL]
call MPI_File_set_errhandler (MPI_FILE_NULL, MPI_ERRORS_ARE_FATAL, ierror)
------------------------------^

When I define

integer ::MPI_FILE_NULL=0

compiling works fine.

Thanks for any help,
Bernd