Hi there,
I have an MPSGE model of an economy that I can run iteratively on a Windows machine with no issue. My code basically puts together the model, solves for the benchmark equilibrium as usual, and then generates and solves for the equilibria over a set of counterfactuals via a looping structure. When I run that same code on a Mac, everything still runs and the benchmark is the same. But, I get null (i.e. benchmark, since that’s where my intial values are set) solutions for my counterfactuals with the following less-than-helpful error text:
ERROR: .NSolves out of sync with integer1
check for missing $INCLUDE .GEN
Here is what I have done:
- I have ensured that the appropriate $INCLUDE .GEN statement (in this case, “$INCLUDE IMPLAN.GEN”) is indeed in my loop structure, spelled correctly, and at the start of the line.
- While it should not matter, I also have made sure that the case is consistent in my calls and across the program generally.
- I have made sure my counterfactual inputs are loading correctly.
None of this has helped. Again, the model runs fine on Windows, just not on Mac. Is there any possible issue with MPSGE on a Mac that prohibits iterating? Perhaps some other Mac environment issue? Running GAMS in the OS X environment does have it’s quirks…
Thanks in advance for any help.