Hello,

Thanks for the quick answer.
I think I cannot use mpi_f08 in my code because I am also using parallel HDF5 which does not seem to be compatible with the Fortran 2008 module.
I will ask Intel what they think about this problem.
Thanks,

Fabrice


Le 24/09/2015 02:18, Gilles Gouaillardet a écrit :
Fabrice,

i do not fully understand the root cause of this error, and you might want to ask Intel folks to comment on that.

that being said, and since this compiler does support fortran 2008, i strongly encourage you to
use mpi_f08
instead of
use mpi

a happy feature/side effect is that your program compiles and runs just fine if you use mpi_f08 module (!)

Cheers,

Gilles


On 9/24/2015 1:00 AM, Fabrice Roy wrote:
program testmpi
    use mpi
    implicit none

    integer :: pid
    integer :: ierr
    integer :: tok

    call mpi_init(ierr)
    call mpi_comm_rank(mpi_comm_world, pid,ierr)
    if(pid==0) then
       tok = 1
    else
       tok = 0
    end if
    call mpi_bcast(tok,1,mpi_integer,0,mpi_comm_world,ierr)
    call mpi_finalize(ierr)
end program testmpi

_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: http://www.open-mpi.org/community/lists/users/2015/09/27657.php

--
Fabrice Roy
Ingénieur en calcul scientifique
LUTH - CNRS / Observatoire de Paris
5 place Jules Janssen
92190 Meudon
Tel. : 01 45 07 71 20


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

Reply via email to