I have tried to install Coreform Cubit on a Windows 11 machine but have encountered a serious issue. Everything seems to go fine until Cubit is installed, and I start it up. Once I start Cubit, many graphical elements will not load including missing icons and (most importantly) the editor GUI and tabs (command, history).
I tried installing with the 2022.6 and 2022.4 installers and encountered the issue with both installations. Am I missing some dependency, or is this a known issue? Any help would be greatly appreciated!
We are not currently testing Windows 11. Let me ask around here and see if anyone has made the upgrade.
Typically, the errors you describe happen when the GUI can’t load plugins properly. Would you try starting from the command line (either PowerShell or DOS command prompt) and run C:\Program Files\Coreform Cubit 2022.6\bin\coreform_cubit.exe.
OK. Let’s try the following then. Let’s do this from the DOS command prompt because I can’t remember how to set environment variables in PowerShell off the top of my head.
set CUBIT_VERBOSE=5
"C:\\Program Files\Coreform Cubit 2022.6\bin\coreform_cubit.exe" > cubit_output.txt
Specifically, I remember that TecPlot uses VTK and modifies the user PATH envionment variable. This mean that Cubit ends up finding the wrong version of VTK. We work very hard not to modify the user PATH so we don’t cause problems for others.
One of our developers here has Windows 11 machine. He was able to download and start Cubit 2022.6 correctly. It is not something inherent in Windows 11. (which is a relief!)
The error messages from the output file indicates that Cubit is unable to load any of the plugins.For examaple,
[error] LoadLibraryW error: C:\Program Files\Coreform Cubit 2022.4\bin\cfplugincomp.ccl %1 is not a valid Win32 application.
I’m still back to my idea about anti-virus programs. Are you running McCaffee or some other anti-virus software that might have come installed with a new Windows 11 machine?
Here is something else to try. Let’s try importing Cubit in a python script just to see if this works. Place these commands in some file test.py
You should get a message about initializing RLM, a bunch of garbage, and then the Cubit banner.
CCCCC UU UU BBBBBB IIII TTTTTT
CC CC UU UU BB BB II TT
CC UU UU BBBBBB II TT
CC UU UU BB BB II TT
CC CC UU UU BB BB II TT
CCCCC UUUUU BBBBBB IIII TT tm
MESH GENERATION TOOLKIT
FOR
PRE-PROCESSING OF FINITE ELEMENT ANALYSES
We have seen a similar case where the user was running a VM that didn’t have a full Windows install. It was missing some of the required Windows libraries and returned the error “is not a valid Win32 application.”
Is there any chance this machine is a minimal install of Windows 11?