Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2006-09-06 11:38:54


Greetings; sorry for the late reply.

Can you send the code that you're using? I am able to compile the F90
bindings on my OSX laptop (10.4.7) and compile / run some sample F90 MPI
apps with OMPI 1.1.1.

>From your config.out, it looks like your F90 bindings were compiled
properly.

On 8/12/06 11:24 AM, "Nym" <neverwillreply_at_[hidden]> wrote:

> Hi,
>
> I've been trying to compile OpenMPI with gfortran on Mac OS X, and use
> it with an MPI app that compiles and works using MPICH2 on a Linux
> system.
>
> I have tried using both versions 1.1 and the pre-release 1.1.1, and I
> get the same result. Attached at the configuration logs and make outputs
> from compiling OpenMPI with version 1.1.1. (However only the configure
> output and make all output are included, and they are bzip2'ed and not
> gzip'ed. I tried to include everything specified on
> http://www.open-mpi.org/community/help/, and have it tared, but it was
> over 100kb)
>
> The compilation of OpenMPI seems to finish successfully. However, when
> compiling my MPI app I get the error
>
> Error: Generic subroutine 'mpi_cart_create' at (1) is not an intrinsic
> subroutine
>
> Other MPI calls, such as MPI_REDUCE, and MPI_SENDRECV do not bring up
> any errors. The call is of the following form, with the variable
> declarations shown:
>
> INTEGER, PARAMETER :: numDims = 2
> INTEGER :: dimSizes(0:numDims-1)
> LOGICAL :: dimPeriodics(0:numDims-1)
> LOGICAL :: reorderRanks
> INTEGER :: comm
> INTEGER :: err
>
> CALL MPI_CART_CREATE(MPI_COMM_WORLD, numDims, dimSizes, dimPeriodics, &
> reorderRanks, comm, err)
>
> After some investigation, if I replace the logicals with Integers I
> get it to compile. I haven't manage to test it yet due to some
> gfortran error elsewhere. However, I'm not that keen on using integers
> when they should be logicals. Also, I think according to the
> specification,
> http://www.netlib.org/utk/papers/mpi-book/node153.html#SECTION0075100000000000
> 0000
> , logicals should be accepted.
>
> Is there a way to get MPI_CART_CREATE working with logicals on my system?
>
> Nym.
>
> p.s. I also apologise if this has been sent twice.
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems