Ansys Products

Ansys Products

Mechanical not launching from workbench

    • stuba
      Subscriber

      Hi,

      I'm trying to run Mechanical on SUSE 15 SP1, which should be supported. I was able to sort out few issues, but now there I'm a bit stuck here.




      Could not open file /tmp/Mw_jxy2548/8CC7F28C0AFFE5C5DC9A44D336A140D4 for shared memory.

      sys_setup: mkshm() failed.

        Error: SERVER TO CLIENT CONNECTION ERROR: Connection to WB failed: System.NullReferenceException: Object reference not set to an instance of an object

       at Ans.IPC.Remoting.Common.Connection.InternalConnect (System.Type classToProxy, System.Uri qualifiedObjectURI, System.MarshalByRefObject& connectedObject) [0x00000] in :0

       at Ans.IPC.Remoting.Server.ServerToClientConnection.InitialConnect (System.Type classToProxy) [0x00010] in :0

       at Ans.IPC.Remoting.Server.ServerToClientConnection.TryToConnect () [0x00000] in :0

    • stuba
      Subscriber
      vglrun /ansys_inc/v202/Framework/bin/Linux64/runwb2
      Could not open file /tmp/Mw_jxy2548/8CC7F28C0AFFE5C5DC9A44D336A140D4 for shared memory.
      sys_setup: mkshm() failed.
      Error: SERVER TO CLIENT CONNECTION ERROR: Connection to WB failed: System.NullReferenceException: Object reference not set to an instance of an object
      at Ans.IPC.Remoting.Common.Connection.InternalConnect (System.Type classToProxy, System.Uri qualifiedObjectURI, System.MarshalByRefObject& connectedObject) [0x00000] in :0
      at Ans.IPC.Remoting.Server.ServerToClientConnection.InitialConnect (System.Type classToProxy) [0x00010] in :0
      at Ans.IPC.Remoting.Server.ServerToClientConnection.TryToConnect () [0x00000] in :0
      The application has terminated unexpectedly due to an unhandled exception.
      The full details of the exception follow:

      System.ExecutionEngineException: ExecutionContext_ExceptionInAsyncLocalNotification ---> System.Threading.ThreadAbortException
      at System.Object.GetHashCode () [0x00000] in :0
      at System.Collections.Generic.ObjectEqualityComparer`1[T].GetHashCode (T obj) [0x0000d] in :0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x0001c] in :0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in :0
      at System.Threading.ExecutionContext.OnAsyncLocalContextChanged (System.Threading.ExecutionContext previous, System.Threading.ExecutionContext current) [0x00119] in :0
      --- End of inner exception stack trace ---
      at System.Environment.FailFast (System.String message, System.Exception exception) [0x00007] in :0
      at System.Threading.ExecutionContext.OnAsyncLocalContextChanged (System.Threading.ExecutionContext previous, System.Threading.ExecutionContext current) [0x0016e] in :0
      at System.Threading.ExecutionContext.SetExecutionContext (System.Threading.ExecutionContext executionContext, System.Boolean preserveSyncCtx) [0x00066] in :0

      [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException: ExecutionContext_ExceptionInAsyncLocalNotification ---> System.Threading.ThreadAbortException
      at System.Object.GetHashCode () [0x00000] in :0
      at System.Collections.Generic.ObjectEqualityComparer`1[T].GetHashCode (T obj) [0x0000d] in :0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x0001c] in :0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in :0
      at System.Threading.ExecutionContext.OnAsyncLocalContextChanged (System.Threading.ExecutionContext previous, System.Threading.ExecutionContext current) [0x00119] in :0
      --- End of inner exception stack trace ---
      at System.Environment.FailFast (System.String message, System.Exception exception) [0x00007] in :0
      at System.Threading.ExecutionContext.OnAsyncLocalContextChanged (System.Threading.ExecutionContext previous, System.Threading.ExecutionContext current) [0x0016e] in :0
      at System.Threading.ExecutionContext.SetExecutionContext (System.Threading.ExecutionContext executionContext, System.Boolean preserveSyncCtx) [0x00066] in :0
      Stacktrace:

      /ansys_inc/v202/Framework/bin/Linux64/runwb2: line 15: 18113 Segmentation fault(core dumped) $MONO_PREFIX/bin/mono "$@"
    • George Karnos
      Ansys Employee
      Can you check the installation guide to verify that all prerequisites and libraries are installed?
Viewing 2 reply threads
  • You must be logged in to reply to this topic.