[Nek5000-users] possible bug

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Apr 12 03:28:26 CDT 2010


Hi Frank,

I am sure you'll find more things in mpi_dummy.f which are not consistent. It's just an ugly hack to run NEK in serial w/o using a MPI library. However only a few routines in the dummy lib are actually used.

Your compiler is right, the data types to not agree here. However you're just passing the arguments to another routines so it should be ok even though the datatypes do not match. You can think of it as passing a pointer.

Stefan
 


On Apr 12, 2010, at 10:04 AM, nek5000-users at lists.mcs.anl.gov wrote:

> Hello all,
> 
> I came across a possible problem with inconsistent data types.
> 
> call mpi_copy_double_precision ( data1, data2, n, ierror )
>                                         ^                         
> "/home/fmuldoo/nek5_svn/trunk/nek/mpi_dummy.f", Line = 837, Column = 42:
> WARNING: Procedure "MPI_COPY_DOUBLE_PRECISION" is defined at line 420
> (/home/fmuldoo/nek5_svn/trunk/nek/mpi_dummy.f).  The actual argument
> type does not agree with the type of dummy argument "DATA1".
> 
> Cheers,
> Frank
> 
> 
> -- 
> Frank Herbert Muldoon, Ph.D. Mechanical Engineering
> Technische Universität Wien (Technical University of Vienna)
> Inst. f. Strömungsmechanik und Wärmeübertragung (Institute of Fluid
> Mechanics and Heat Transfer)
> Resselgasse 3
> 1040 Wien
> Tel: +4315880132232
> Fax: +4315880132299 
> Cell:+436765203470
> fmuldoo (skype)
> http://tetra.fluid.tuwien.ac.at/fmuldoo/public_html/webpage/frank-muldoon.html
> 
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users




More information about the Nek5000-users mailing list