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@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

Reply via email to