Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Synth: <istmt> emptymat() not found

    Hi all,

    I continue to run into this issue while attempting to run synth:

    <istmt> 3499 emptymat() not found

    I know previous questions have asked about this error, but I have an extra caveat that makes it trickier to follow that advice.

    I'm using a private dataset on a computer that is allowed no access to the internet. As such, when trying to install synth, I had to run ssc install on a different computer, locate the files downloaded from synth, and transfer them to the other computer via thumb drive.

    The files I transferred were:

    synth_ii.ado
    synth.ado
    synth.sthlp
    synthopt.plugin

    I made sure the computer I downloaded it on was Windows 64, since the private computer is Windows 64. I noticed that might have been the issue since synth seems to install differently depending on the system.

    The last thing I can see that might be the issue is that mata hasn't been updated to account for looking for files that synth would use. But running:

    mata: mata mlib index

    didn't seem to correct things at all. I'm guessing because it can't without internet. What would I have to do in order to correct this issue, that I can do with transferring between computers and no internet on one of them?

    Thanks so much for your help,
    Alex
    Last edited by Alex Kanode; 29 Sep 2025, 15:22.

  • #2
    You also need to transfer the Mata library file, which is in the subfolder /l/:
    lsynth_mata_subr.mlib
    https://www.kripfganz.de/stata/

    Comment

    Working...
    X