On Thu, Jun 23, 2022, Åke Sandgren via AMBER-Developers wrote:
>
>In subroutine rism_writeThermodynamicsDistributions there are some
>daxpy calls with bad arguments convetions.
Adding -fallow-argument-mismatch should allow compilation. But I'm unsure
why you see this problem with gfortran 11 and I don't. Are you compiling
lapack from source, or getting it from somewhere like openBLAS or MKL?
Older libraries (like lapack, and most mpi stacks) traditionally used
the convention that arguments were (opaque or void) pointers, and tons of code
makes use of this. Gfortran started making this an error at version 10, as
I recall. Someone can probably spend some time to make the warnings/errors
go away ( add -Wno-argument-mismatch to squelch the warnings as well). The
MPI problem is going to be more troublesome, although replacing all "#include
mpif.h" instances with "use mpi" may do the trick..
But thanks for the note....dac
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Aug 04 2022 - 13:34:16 PDT