Re: AMBER: Inconsistent types (INTEGER(4)/REAL(8)) - Is it serious ?

From: Robert Duke <rduke.email.unc.edu>
Date: Wed, 2 Jul 2008 18:28:10 -0400

Arturas -
How many warnings? It could indicate a mismatch in the header files being
used, some messup in how mpi is set up. What is your fortran compiler, what
does the config.h look like? Is this only the nmr code that has this, or is
other code showing similar errors? Does the code run correctly (pass
tests)? The most likely problem, I would think, would be a mismatch between
default integer and/or real sizes in the compiles of mpi vs. amber, but I am
just guessing here, and without more info, would not know. In general, I
look hard at such sorts of errors, because they can represent really really
bad problems in some circumstances (ie., I don't see these when I compile).
Regards - Bob Duke

----- Original Message -----
From: "Arturas Ziemys" <arturas.ziemys.uth.tmc.edu>
To: <amber.scripps.edu>
Sent: Wednesday, July 02, 2008 6:10 PM
Subject: AMBER: Inconsistent types (INTEGER(4)/REAL(8)) - Is it serious ?


> Hi,
>
> During compilation of Sander and PMED I've got warnings on basis of type
> casting (like example below) of function arguments. Is it serious ?
>
> ============================================================
> In file nmr_calls.f90:285
>
> call mpi_bcast(nmr_iwork, intreq, mpi_integer, &
> 1
> In file nmr_calls.f90:273
>
> call mpi_bcast(rwell, nmr_dat_dbl_cnt, mpi_double_precision, 0, &
> 2
> Warning (155): Inconsistent types (INTEGER(4)/REAL(8)) in actual argument
> lists at (1) and (2)
>
> ============================================================
>
> Arturas
>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
> to majordomo.scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo.scripps.edu
Received on Sun Jul 06 2008 - 06:07:20 PDT
Custom Search