[Nek5000-users] Access to an undefined portion of a memory object.

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Jul 13 11:10:44 CDT 2016


Hi Marco,

It looks to me like you're trying to overwrite a constant in interp_vt().

I see the following:


      call interp_vt(ih_rbc,uvwt,xyz,npts,.false.) ! interpolation

      :

      :

      :

      subroutine interp_vt(ihandle,uvwt,xyz,n,iftmp)

      :

      :

      iftmp = .false.   ! no temperature


which is trying to overwrite ".false." ... ?

Please let me know if this resolves your issue.

Also, I see in your SIZE file that lelt=10000.   Are you running only on one processor?
If the number of elements in your .rea file is ~10,000 and you are running on (say) 1024
MPI ranks, then you only need lelt=10.    Resetting lelt and lelv in this way would result
in a significant reduction in memory footprint and possible increase in performance.

Best, Paul


________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov [nek5000-users-bounces at lists.mcs.anl.gov] on behalf of nek5000-users at lists.mcs.anl.gov [nek5000-users at lists.mcs.anl.gov]
Sent: Wednesday, July 13, 2016 10:20 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] Access to an undefined portion of a memory object.

Hello,

I have a subroutine that interpolates the velocity for a list of points and have a strange error message when I try to run it. It seems that the variables ‘nx1’, ‘ny1’ and nz1’ are not defined even though ‘SIZE’ is included in the subroutine. As far I understand, the variables ‘nx1’, ‘ny1’ and 'nz1’ are made available in a subroutine by simply including ‘SIZE’ at the beginning. I attached the case to reproduce the error message that is:

Access to an undefined portion of a memory object.

Any help would be appreciated.

Marco
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160713/6fac94f6/attachment.html>


More information about the Nek5000-users mailing list