Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] openMPI and MPICH2 in windows with miniGW and gfortran

I have added the relevant paths

What do I need to write in the code if I want to use MPI commands

If I just write an MPI command I get this :

    wtime = MPI_WTIME()
            1
Error: Function 'mpi_wtime' at (1) has no IMPLICIT type

In my source file what do I need to add or configure for this to work.



On Tue, Jan 3, 2012 at 11:22 PM, Michel DEVEL <Michel.Devel@xxxxxxxx> wrote:
Le 03/01/2012 19:19, David MZ a écrit :
I mean using the

"use mpi"

in my code and having the compiler not throw an error saying this
module doesn't exist.

I was not able to find those binaries or I don't completely understand
how to install them to work inside phortran

Can you maybe be more specific with the details.
You can download the source and the binaries from e.g.
http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads
or
http://www.open-mpi.org/software/ompi/v1.5/ms-windows.php

Once you do have your dlls and include file somewhere, you can add them to your project by going into the properties of your project (right-click on his name in the project explorer view), then choose "Paths and symbols" and add the appropriate directories in the include and libraries tab.

(+ do not forget what I told you about how to have gfortran 4.5.3 in cygwin)

--
Sincerely yours,

Michel DEVEL

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



Back to the top