Open MPI logo

Open MPI User's Mailing List Archives

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

From: Bernard Knaepen (bknaepen_at_[hidden])
Date: 2006-04-28 13:39:56


Hello,
I am trying to install/run open-mpi on a Macbook Pro running MacOSX
10.4.6, *with* fortran support.
I am using Intel Fortran Compiler 9.1 (professional edition).

Compilation/installation went fine, except that the ifort compiler was
not recognized as the f90 compiler by the romio configure script.
Therefore, I explicitely set the F90 compiler to ifort in the romio
configure script.

When I try to run the following simple mpi/io program,

*********
program main
      implicit none
                        
      include 'mpif.h'

      integer fh
      integer ierr
      integer mynod
      character*1024 str

      call MPI_INIT(ierr)
      call MPI_COMM_RANK(MPI_COMM_WORLD, mynod, ierr)

             str = 'myfile'

      call MPI_FILE_OPEN(MPI_COMM_WORLD, str, &
     & MPI_MODE_CREATE + MPI_MODE_RDWR, MPI_INFO_NULL, fh, ierr)

      call MPI_FILE_CLOSE(fh, ierr)

      call MPI_FINALIZE(ierr)

end
***********

I get the runtime error messages:

**********
dolfin:~/Desktop bknaepen$ ./a.out
a.out(3345) malloc: *** vm_allocate(size=2952794112) failed (error code=3)
a.out(3345) malloc: *** error: can't allocate region
a.out(3345) malloc: *** set a breakpoint in szone_error to debug
ADIO_RESOLVEFILETYPE_FNCALL (line 291): **filename myfile
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                            MPI_FILE_CLOSE (line 51): **iobadfh
**********

Output files from compilation are included in the attached file.

Thanks for any help,
regards,
Bernard.