When writing a Fortran program, you must declare the variable ADDRESS as
INTEGER*MPI_ADDRESS_KIND ADDRESS
MPI_ADDRESS_KIND is a constant defined in mpi.h. This constant defines the length of the declared integer.