[Simnibs-discuss] issues with installation (petsc_solver) and also meshfix-charm error

Micki Gaby Pell mgpell at gmail.com
Wed Jan 4 09:43:11 CET 2023


Hi.
Two questions please.

1) I am having problems installing simnibs-4.0 on a PC. Installation fails
with the following error:
ImportError DLL load failed while importing petsc_solver. The specified
procedure could not be found.

2) When running charm on a PC with simnibs-4.0 successfully installed, the
process is failing towards the end with the following error related to
meshfix:

[ simnibs ]INFO: Ensure CSF
[ simnibs ]INFO: Starting surface creation
      0 [main] meshfix 3044
C:\Users\pell10\SimNIBS-4.0\simnibs_env\Lib\site-packages\simnibs\external\bin\win\meshfix.exe:
*** fatal error - add_item
("\??\C:\Users\pell10\SimNIBS-4.0\simnibs_env\Lib\site-packages\simnibs\external\bin",
"/", ...) failed, errno 1
[ simnibs ]CRITICAL: Uncaught exception
subprocess.CalledProcessError: Command
'['C:\\Users\\pell10\\SimNIBS-4.0\\simnibs_env\\python.exe',
'C:\\Users\\pell10\\SimNIBS-4.0\\simnibs_env\\Lib\\site-packages\\simnibs\\segmentation\\run_cat_multiprocessing.py',
'--Ymf',
'C:\\Users\\pell10\\Downloads\\structural\\m2m_110411\\surfaces\\norm_image.nii.gz',
'--Yleft_path',
'C:\\Users\\pell10\\Downloads\\structural\\m2m_110411\\surfaces\\hemi_mask.nii.gz',
'--Ymaskhemis_path',
'C:\\Users\\pell10\\Downloads\\structural\\m2m_110411\\surfaces\\cereb_mask.nii.gz',
'--surface_folder',
'C:\\Users\\pell10\\Downloads\\structural\\m2m_110411\\surfaces',
'--fsavgdir',
'C:\\Users\\pell10\\SimNIBS-4.0\\simnibs_env\\Lib\\site-packages\\simnibs\\resources\\templates\\fsaverage_surf',
'--surf', 'lh', 'rh', '--pial', 'lh', 'rh', '--vdist', '1.0', '0.75',
'--voxsize_pbt', '0.5', '0.25', '--voxsizeCS', '0.75', '0.5',
'--th_initial', '0.714', '--no_intersect', 'True', '--nprocesses', '2']'
returned non-zero exit status 1.


Any suggestions what might be causing these two problems?

Thanks

Gaby
BrainsWay and Ben Gurion University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.drcmr.dk/pipermail/simnibs-discuss/attachments/20230104/9603326c/attachment-0001.html>


More information about the Simnibs-discuss mailing list