1. Home
  2. Diamonds
  3. Errors
  4. Calculation
  5. Failed to read from an IPC Port: The pipe has been ended

Failed to read from an IPC Port: The pipe has been ended

Contents

On executing elastic analyis, following error message appears:

[NL]: Kan niet lezen van een IPC-poort: De pipe is beëindigd.

[FR]: Échec de la lecture à partir d’un port IPC: Le canal de communication a été fermé.

[ES]: No se pudo leer desde un puerto IPC: Ha terminado la canalización.

Solution

The computer has 2 processors.

How to check if you have 2 processors?

Go to Start > Control panel > System. Look under the heading to where it says « Processor. » Next to processor, you will see the name of the processor you have. If it says « dual processor, » this means you have two processors. If it says « dual core, » this means you have a dual-core processor (= 1 processor).

The Diamonds calculation core (more specific the algorithms to solve the matrices) requires assigning of only 1 of the processors.

  • InstallDiamonds 2015 r04 or newer
  • Launch Diamonds and close again
  • Go to My Documents > Diamonds > {latest version}
  • Open the file Diamonds.ini with Notepad
  • Look for [TMainForm_PREF] (You can use the keyboard shortcut CTRL + F to start the find function)
  • Add a line with CPU=65535
  • Save the file
  • Start Diamonds again

Remark

If you activate this option without having 2 processors, you might get following error at start up of Diamonds:

Your request has caused the following error: The parameter is incorrect
at System.Diagnostics.Process.set.ProcessorAffinity (IntPtr value)
at MainHelper.TMainHelper.StartServiceIfNecessary (@MetaTMainHelper Self)

[NL] :  De parameter is onjuist

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT