I couldn't find a way in Fortran to declare an array as read-only. Is there 
such support?

   Barry


> On May 13, 2024, at 7:28 AM, Runjian Wu <[email protected]> wrote:
> 
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi all,
> 
> I have a question about VecGetArrayReadF90(...).  If I use 
> VecGetArrayReadF90(...), I can still write entries into the array like 
> VecGetArrayF90(...).  Is it possible to report an error during compile 
> process?
> 
> Thanks,
> 
> Runjian Wu

Reply via email to