Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Open MPI-1.5.4 --with-mpi-f90-size=large Compilation Error
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-02-06 07:50:24


This is a known problem and is unlikely to be fixed. The solution is simply to use the medium size f90 module, which means you won't have strict type checking on all MPI functions that take 2 choice buffers (e.g., MPI_SCATTERV).

In the OMPI v1.7 series, we have a wholly revamped set of Fortran support coming. Unfortunately, it won't work for gfortran because of lack of features in that compiler. For (current versions of) gfortran, the level of fortran support is staying the same in Open MPI v1.7 (i.e., "sizes" and no "large" size). :-(

On Feb 4, 2012, at 10:56 PM, Rashid, Z. (Zahid) wrote:

> Dear Open MPI users,
>
> I want to compile Open MPI-1.5.4 beta on my macbook pro (with GCC-4.6.2/Gfortran-4.6.2 installed) with the option; " configure --with-mpi-f90-size=large ". The configuration script runs ok but during compilation I get the following warnings which after a limit of 25 turn into an error.
>
> FC mpi_scatterv_f90.lo
> mpi_scatterv_f90.f90:17.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:55.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> FC mpi_sendrecv_f90.lo
> mpi_scatterv_f90.f90:93.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:131.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:169.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:207.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:245.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:283.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:321.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:359.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:397.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:435.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:473.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:511.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:549.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:587.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:625.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:663.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:701.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:739.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:777.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:815.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:853.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:891.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> mpi_scatterv_f90.f90:929.12:
>
> print *, "Open MPI WARNING: You are calling MPI_SCATTERV with incorrect sendc
> 1
> Error: Unterminated character constant beginning at (1)
> Fatal Error: Error count reached limit of 25.
> make[4]: *** [mpi_scatterv_f90.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> With " configure --with-mpi-f90-size=medium ", the error disappears. I want to compile it with " --with-mpi-f90-size=large " option. Any help to get around this error will be appreciated.
>
> Regards.
>
> Zahid
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/