Jump to content
GMS, SMS, and WMS User Forum


Bruce Campbell

Recommended Posts

Hi -- I have a 3 layer MODFLOW model that I want to calibrate with horizontal hydraulic conductivity pilot points. I can put the pilot points in 1 or 2 layers and can do a forward run (outside of GMS in a DOS window) with no problems but when I put the pilot points in all 3 layers I get the following error message:

Allocation of arrays X, Z, IX, and XHS failed

Returned error message number: 41

Any ideas would be helpful.

Link to comment
Share on other sites

I don't have any ideas on this specifically, but find it to be a strange/funny coincidence that you posted about an "Allocation of arrays" error the day after someone else did. Granted, it was a different error number, but keep it in mind that, if nothing obvious is discovered, it may be a programming bug for the latest build.

Link to comment
Share on other sites

I got this fixed with a reply from Alan Lemon on the MODFLOW forum. His fix was:

Most likely your model is too big for the compiled version of MODFLOW you are using.

If you model is transient and you are using GMS I would suggest that you first go to the output control package and turn off "Enable saving of computed flows for all source/sink objects". This often does the trick.

Worked like a charm!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...