Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

P_* indices for "scalar

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

nate-vnp

New member
I now still find the model crashes on my machine with a report, "memory corrupted".

I am wondering if all the passive tracers (about 100) that I have added are actually taking up too much memory for my machine.

When I print out the "P_*" indices for the 4th dimension of "scalar" array containing my tracers, some of them seem to be wrongly set to the same value as a pre-existing one (P_QI = 5).

Attached is my Registry file.

Something may be going wrong with the case/registry mechanism.

Ideas welcome.

best wishes
Vaughan.
 
Actually now I realise the P_* indices for the "Scalar" array are OK.

But why is the machine crashing with a report, memory corrupted ?
 
Vaughan,

I am no sure how you add those 100 tracers to the code? Please see the document here:
http://www2.mmm.ucar.edu/wrf/users/tutorial/201701/registry.pdf
It shows in detail how to add tracers to the WRF system. Please double check to make sure you follow the correct way to add tracers.

If you reduce the number of tracers to a smaller value , for example 5, can you run the same code?
 
Top