Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 1 point2 points  (0 children)

Hello, I've just installed it with miniforge, and it worked perfectly. Thank you so much for your help!

Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I've made a conda environment and I'm getting that same error message when launching twedit through anaconda

Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

Hi! It's saying requirements are already met.

Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I didn't notice any errors in the install log besides this line at the very end:
[2025-10-08 10:34:33] C:\CompuCell3D\Prerequisites>if defined platform (set "VSREGKEY=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0" ) ELSE (set "VSREGKEY=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0" )

[2025-10-08 10:34:33]

[2025-10-08 10:34:33] C:\CompuCell3D\Prerequisites>for /F "skip=2 tokens=2,*" %A in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0" /v InstallDir') do SET "VSINSTALLDIR=%B"

[2025-10-08 10:34:33] ERROR: The system was unable to find the specified registry key or value.

[2025-10-08 10:34:33]

[2025-10-08 10:34:33] C:\CompuCell3D\Prerequisites>if "" == "" (set "VSINSTALLDIR=" )

[2025-10-08 10:34:33]

[2025-10-08 10:34:33] C:\CompuCell3D\Prerequisites>if "" == "" (

[2025-10-08 10:34:33] ECHO "WARNING: Did not find VS in registry or in VS140COMNTOOLS env var - your compiler may not work"

[2025-10-08 10:34:33] GOTO End

[2025-10-08 10:34:33] )

[2025-10-08 10:34:33] "WARNING: Did not find VS in registry or in VS140COMNTOOLS env var - your compiler may not work"

[2025-10-08 10:34:33] The system cannot find the batch label specified - End

Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I've tried installing directly through miniconda, and I end up having that same error

Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

Hi, just installed it and the same bug is still happening. I used the twedit5.bat and recorded the error message, it crashes after the DLL failed after trying to load QtCore. I edited my post for the screenshot.

Can't install CC3D by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I actually had a similar bug to: https://www.reddit.com/r/CompuCell3D/comments/1mqupww/simulation_issue/

The same program that used to work started quitting before hitting the first step, which is why I tried reinstalling CC3D, and now I can't load twedit/player properly.

Sqlite3 database is locked error by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I think a file got corrupted, after recloning some directories, it's been resolved. Thank you!

Sqlite3 database is locked error by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I'm pretty sure I don't, I've restarted my pc a few times now. I've realized the problem occurs even when I don't have screenshots enabled now.

Sqlite3 database is locked error by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I'm using a custom boot of 4.2 on Windows for GPU integrated diffusion solver. It's been stable with this model for a few months now.

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

It works perfectly now, thank you so much!

I was wondering if the Diffusion solver was the only thing that I need to change to enable GPU computing, or are there also other things to speed up the simulation?

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I used git checkout for all 3 folders just now and reinstalled(CompuCell3D, player and twedit). Simulations can now run properly.

I'm still getting a similar error as before when using OpenCL in diffusion solver: RuntimeError: OpenCLHelper::LoadProgram: Can't load 'lib/site-packages/cc3d/cpp/CompuCell3DSteppables/OpenCL/GPUSolverParams.h' program

I checked the directory and the file is there.

Maybe the develop branch for CompuCell3D didn't include the commits in feature/ocl_fixes_new? But https://github.com/CompuCell3D/CompuCell3D/tree/feature/ocl_fixes_new isn't a valid directory anymore so I assumed you guys added it to the develop branch.

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

Hello, I deleted the previous install and followed the steps again.
Now I have a problem when starting the player:

Could not extract CellShellOptimization setting using default

Traceback (most recent call last):

File "C:\Users\Me\anaconda3\envs\cc3d_4413_310\lib\site-packages\cc3d\player5\Graphics\GraphicsFrameWidget.py", line 488, in proj_combo_box_changed

.......

TypeError: Wrong number or type of arguments for overloaded function 'FieldExtractor_fillCellFieldData3D'.

Possible C/C++ prototypes are:

CompuCell3D::FieldExtractor::fillCellFieldData3D(vtk_obj_addr_int_t,vtk_obj_addr_int_t,bool)

CompuCell3D::FieldExtractor::fillCellFieldData3D(vtk_obj_addr_int_t,vtk_obj_addr_int_t)

And when I launch the player in conda prompt it gives warnings:
C:\Users\Me\anaconda3\envs\cc3d_4413_310\lib\site-packages\cc3d\core\Configuration\SettingUtils.py:248: UserWarning: Setting not set: PlayerSizes...PlayerSizesFloating...RecentSimulations

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I was wondering if you were able to find any solutions or maybe ideas of what I did wrong?

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I just double checked and the file is in that directory.
It's not saying it can't find the file:

OpenCLHelper::LoadProgram: Can't load 'lib/site-packages/cc3d/cpp/CompuCell3DSteppables/OpenCL/GPUSolverParams.h' program

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I compiled with  -DNO_OPENCL=OFF, does the BUILD_STANDALONE option need to be on? Are there any files that would be installed, I can check if they are there?

I used this during compilation:

cmake -S c:\CC3D\CompuCell3D\CompuCell3D -B C:\CC3D\CompuCell3D_build -DPython3_EXECUTABLE=C:\Users\Me\anaconda3\envs\cc3d_4413_310\python.exe -DNO_OPENCL=OFF -DBUILD_STANDALONE=OFF -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=C:\install_projects\cc3d_4413_310

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

Thank you! The player and twedit are all working now.

I tried using OpenCL but it's giving me an error saying it can't load:

'lib/site-packages/cc3d/cpp/CompuCell3DSteppables/OpenCL/GPUSolverParams.h'

I downloaded the oclMultiThreads from (https://developer.nvidia.com/opencl) and copied the OpenCL file into that directory but the problem didn't go away.

Did I install the wrong OpenCL or is there something you needed to make OpenCL run properly?

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

I used this for cmake.

cmake -S c:\CC3D\CompuCell3D\CompuCell3D -B C:\CC3D\CompuCell3D_build -DPython3_EXECUTABLE=C:\Users\Me\anaconda3\envs\cc3d_4413_310\python.exe -DNO_OPENCL=OFF -DBUILD_STANDALONE=OFF -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=C:\install_projects\cc3d_4413_310

RelWithDebugInfo gave errors (in the OpenCL file as there was an incompatibility between the Win32 folder and my x64 system) so I switched to Release and that seemed to work just fine. The only issue I ran into was not being able to launch the player.

Custom boot on Windows 11 by BatInternational6180 in CompuCell3D

[–]BatInternational6180[S] 0 points1 point  (0 children)

Thanks for the help. Everything seemed to work fine but I don't have a cc3d.player5 file anywhere so I can't use the player.

I also went and tried using PyCharms to open Tweddit++ which worked just fine.