Running Peregrine Crashes Rhino

Hi there,

Whenever I run any example file my rhino crashes immediately, any suggestions would be much appreciated, cheers!

( Wish I could give more details but its as basic as that )

Hi Vitalyarch,

Which versions of Rhino and Peregrine are you using? As a first step I would recommend ensuring that Rhino is updated to version 6.23 or later, which is a requirement for Peregrine 3.7.

If so, it may be that there is a conflict between Peregrine and another grasshopper plugin that you are using. I recommend removing everything both from your Rhino components folder (accessible from File > Special Folders > Components Folder), as well as any folder and .gha file in Program Files\Rhino 6\Plug-ins that belongs to another plugin - you can place these in a separate folders to copy back in afterwards so that you don’t lose anything. After doing so, uninstall and reinstall Peregrine. Please let me know if this solves the problem.

Hope this helps!

Kind regards,
Jack

Hi,
I have version 6.3.2 and I tried removing all other plugins like you suggested and the problem still persists. Very frustrating, I was hoping to use this for my thesis but might have to look elsewhere.

Hi Vitalyarch,

Could you tell me which version of Peregrine you are using?

Also, could you confirm that you uninstalled and reinstalled Peregrine after removing the other plugins when you attempted the fix I recommended?

Kind regards,
Jack

I was using version 3.7 because the earlier version was giving me a licensing error. And yes I uninstalled peregrine then removed all plugins and reinstalled it to no prevail.

Also I should mention that there was one instance where the example file was solved and it didn’t crash so to my knowledge it seems that all components are there.

Hi Vitalyarch,

Which example file was it that worked?

It is possible that some other application on your PC has installed a file common to both itself and Peregrine, which is being used instead of the version installed by Peregrine. Could you do a search on your machine for libiomp5md.dll - you can do this by opening “This PC” in the file explorer and pasting libiomp5md.dll into the search bar. For any examples found, could you then look at the file location using right click > open file location, then check the file path to see if it belongs to Peregrine or some other application. If you find a version belonging to another application, try renaming the end of the filename from “.dll” to something else, say “.unused”, and try Peregrine again. Also, Be sure to make a note of where the file is before you change the name so you can change it back afterwards!

Kind regards,
Jack

I don’t remember specifically which example it was, what I do know is it was a 2d bridge.
Ok, so I have found two duplicates of this file and one is being used by Cura 4.7 and the other by photoshop, you think I should still rename them?

Really appreciate your help, cheers!

I would be very surprised if the issue was the Photoshop one, but to be safe, yes, rename the “.dll” part on both and retry Peregrine - and don’t forget to note down where they are saved before renaming so you can change them back later.

Cheers,
Jack

So I tried renaming both of the other .dll files and still the same issue, is there anything else that you think could be causing this, do you think its a hardware issue?

It is possible this is a hardware issue, could you let me know what version of windows/IOS you are using? More likely is that this is a conflict with different .dll, but without some idea of which it will be harder to track down. I will discuss this with my colleagues and get back to you tomorrow.

Cheers,
Jack

1 Like

OS is Windows 10

Hardware is:
Ryzen 9 3900xt
Radeon 5700xt
64 gb ram

Hi Vitalyarch

Your hardware should be able to run Peregrine with no issue. I’ve discussed this with my colleagues, and I have one potential fix I can suggest immediately, if that doesn’t work then we will really need more information to debug this issue.

First of all, you mentioned your Rhino version number to be 6.3.2, which I took to mean 6.32, however I’ve just checked and the most recent version of Rhino 6 is version 6.31. The closest I could find to Rhino 6.3.2 in the Rhino version history is 6.3.18, which Peregrine could not run on. Could you double check your version number for me? This can be seen when you first open Rhino in the highlighted area of the attached image. This window can also be shown by selecting Help > About Rhino from the menu bar, in the example I’ve shown, I am using Rhino 6.27. If you are using an older version of Rhino, this is likely the source of your problem. Updating to the latest version of Rhino would be a good next step.

If this doesn’t work, could you answer the following questions for me:

Could you describe specifically how the crash happens? Does the crash happen on as soon as the example file is opened, or when trying to solve?

Are there any error messages when the crash occurs?

Could you let me know specifically which example files are failing for you - you don’t have to try them all, but if I at least knew a few which are failing and the one which is not, it would be very useful in helping me identify the cause of the issue. In particular, could you try one of the more simple examples, Example Files > Quickstart > Simple2D and see if that fails?

You also mentioned upgrading to Peregrine 3.7 because of a licensing issue. Did you uninstall the previous version of Peregrine before installing version 3.7 or not?

Finally, are you able to see the Peregrine components from a blank grasshopper document? If so, how many components do you see in each section? For Peregrine 3.7, we would expect to see three components under the “Structure” section, four under “Load”, five under “Support”, two under “Domain”, two under “Solve”, three under “View” and two under “Tool”.

Cheers,
Jack

Hi,
I just upgraded to the newest version and the same issue persists.
-Rhino crashes as soon as the toggle is set to true.
-I just get the generic rhino crash report window.
-So at the moment all of the files are failing.
-Yes, I had uninstalled the previous version before trying the other.
-All the components seem to be there except maybe one is missing under " tool " , you tell me.

I Am attaching screen shots:version
tools

Hi Vitalyarch,

We have had another idea about what might be causing this issue. We had a support query recently for another Limitstate application regarding an issue with the linear programming solver we use when ran on a machine with your processor. We haven’t seen this issue with Peregrine, but it is possible this could be the same problem.

If you email me at j.maggs@limitstate.com, I will send you a more recent version of Peregrine which uses an updated solver.

Cheers,
Jack

1 Like

I sent an email, is there any specific reason as to why there is a problem with the processor ?
Thank you!

Awesome it Worked!

Cant wait to create some cool stuff, thank you so much.

1 Like