Re: FEM Mod error since 0.19.pre

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Re: FEM Mod error since 0.19.pre

Post by felixlee868 »

Hi

I Just test my freecad. I found the since 0.19.pre (git hash is: 3d227cf7179c00e57f2733f947b4b1b0368d219a ) , The FEM Mod have beed involved some bugs.
After the release (git hush: 3d227cf7179c00e57f2733f947b4b1b0368d219a ) . I found the freecad will crash when I run FEM Module.

I use condo environment on MacOS. I have tested on MacOX 10.13.2 and I got the same result as my run MacOS 11.4.

I think there are some errors after the release. Please check the code for FEM module. and I hope the problems can be fixed soonly.


Best Regards

Felix Lee
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Re: FEM Mod error since 0.19.pre

Post by felixlee868 »

The next list are packages which installed by my condo tools.

# Name Version Build Channel
arpack 3.6.3 hc1f6be1_1006 conda-forge
boost-cpp 1.72.0 hdf9ef73_0 conda-forge
bzip2 1.0.8 h0d85af4_4 conda-forge
c-ares 1.17.1 h0d85af4_1 conda-forge
ca-certificates 2021.5.30 h033912b_0 conda-forge
calculix 2.15 ha91fca7_1004 conda-forge
certifi 2021.5.30 py38h50d1736_0 conda-forge
coin3d 4.0.0 h6a6324e_1010 conda-forge
curl 7.77.0 hb861fe1_0 conda-forge
cycler 0.10.0 py_2 conda-forge
double-conversion 3.1.5 he49afe7_2 conda-forge
eigen 3.3.9 h926bf3e_1 conda-forge
expat 2.4.1 he49afe7_0 conda-forge
ffmpeg 4.3.1 hb787a4c_2 conda-forge
flann 1.9.1 h4541d04_1008 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.13.1 h10f422b_1005 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
freecad 0.19.pre py38hc42f733_171 freecad/label/dev
freetype 2.10.4 h4cff582_1 conda-forge
future 0.18.2 py38h50d1736_3 conda-forge
gettext 0.19.8.1 h7937167_1005 conda-forge
git 2.30.2 pl5320h2551975_1 conda-forge
gitdb 4.0.7 pyhd8ed1ab_0 conda-forge
gitpython 3.1.18 pyhd8ed1ab_0 conda-forge
gl2ps 1.4.2 h4cff582_0 conda-forge
glew 2.1.0 h046ec9c_2 conda-forge
gmp 6.2.1 h2e338ed_0 conda-forge
gmsh 4.6.0 h19846b3_0 conda-forge
gnutls 3.6.13 h756fd2b_1 conda-forge
hdf4 4.2.15 hefd3b78_3 conda-forge
hdf5 1.10.6 nompi_h34ad4e8_1111 conda-forge
icu 64.2 h6de7cb9_1 conda-forge
ilmbase 2.5.5 hfab91a5_0 conda-forge
importlib-metadata 4.6.0 py38h50d1736_0 conda-forge
jbig 2.1 h0d85af4_2003 conda-forge
jpeg 9d hbcb3906_0 conda-forge
jsoncpp 1.8.4 ha1b3eb9_1002 conda-forge
jxrlib 1.1 h35c211d_2 conda-forge
kiwisolver 1.3.1 py38hd9c93a9_1 conda-forge
krb5 1.19.1 hcfbf3a7_0 conda-forge
lame 3.100 h35c211d_1001 conda-forge
lcms2 2.12 hf1fd2bf_0
lerc 2.2.1 h046ec9c_0 conda-forge
libblas 3.9.0 8_openblas conda-forge
libcblas 3.9.0 8_openblas conda-forge
libclang 8.0.1 ha1b3eb9_2 conda-forge
libcurl 7.77.0 hf45b732_0 conda-forge
libcxx 11.1.0 habf9029_0 conda-forge
libdeflate 1.7 h35c211d_5 conda-forge
libedit 3.1.20191231 h0678c8f_2 conda-forge
libev 4.33 haf1e3a3_1 conda-forge
libffi 3.3 h046ec9c_2 conda-forge
libgfortran 4.0.0 7_5_0_h1a10cd1_22 conda-forge
libgfortran4 7.5.0 h1a10cd1_22 conda-forge
libiconv 1.16 haf1e3a3_0 conda-forge
liblapack 3.9.0 8_openblas conda-forge
libllvm11 11.1.0 hd011deb_2 conda-forge
libllvm8 8.0.1 h770b8ee_0 conda-forge
libnetcdf 4.7.4 nompi_h9d8a93f_107 conda-forge
libnghttp2 1.43.0 h07e645a_0 conda-forge
libogg 1.3.4 h35c211d_1 conda-forge
libopenblas 0.3.12 openmp_h63d9170_1 conda-forge
libpng 1.6.37 h7cec526_2 conda-forge
libpq 13.3 hea3049e_0 conda-forge
libraw 0.20.2 hefd3b78_1 conda-forge
libssh2 1.9.0 h52ee1ee_6 conda-forge
libtheora 1.1.1 h0d85af4_1005 conda-forge
libtiff 4.1.0 ha78913b_3 conda-forge
libvorbis 1.3.7 h046ec9c_0 conda-forge
libwebp-base 1.2.0 h0d85af4_2 conda-forge
libxcb 1.13 h35c211d_1003 conda-forge
libxml2 2.9.10 h53d96d6_0 conda-forge
libxslt 1.1.33 h320ff13_0 conda-forge
libzip 1.8.0 h8b0c345_0 conda-forge
llvm-openmp 11.1.0 hda6cdc1_1 conda-forge
lz4-c 1.9.2 hb1e8313_3 conda-forge
markdown 3.3.4 pyhd8ed1ab_0 conda-forge
matplotlib 3.4.2 py38h50d1736_0 conda-forge
matplotlib-base 3.4.2 py38h6152e83_0 conda-forge
mysql-common 8.0.25 h694c41f_2 conda-forge
ncurses 6.2 h2e338ed_4 conda-forge
netgen 6.2.1808 py38h65d59e6_1007 conda-forge
nettle 3.6 hedd7734_0 conda-forge
nspr 4.30 hcd9eead_0 conda-forge
nss 3.67 h31e2bf1_0 conda-forge
numpy 1.21.0 py38had91d27_0 conda-forge
occt 7.4.0 hb9b6dc7_3 conda-forge
olefile 0.46 pyh9f0ad1d_1 conda-forge
openexr 2.5.5 h7fa7ffa_0 conda-forge
openh264 2.1.1 hfd3ada9_0 conda-forge
openssl 1.1.1k h0d85af4_0 conda-forge
pcl 1.11.1 h7984e4d_1 conda-forge
pcre 8.45 he49afe7_0 conda-forge
perl 5.32.1 0_h0d85af4_perl5 conda-forge
pillow 8.1.0 py38hc1d52f7_1 conda-forge
pip 21.1.3 pyhd8ed1ab_0 conda-forge
pivy 0.6.6.a0 py38hf15613f_0 conda-forge
ply 3.11 py_1 conda-forge
pthread-stubs 0.4 hc929b4f_1001 conda-forge
pugixml 1.11.4 he49afe7_0 conda-forge
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyside2 5.13.2 py38ha8f7116_2 conda-forge
python 3.8.10 h0e5c897_0_cpython conda-forge
python-dateutil 2.8.1 py_0 conda-forge
python_abi 3.8 2_cp38 conda-forge
pyyaml 5.4.1 py38h5406a74_0 conda-forge
qhull 2020.2 h940c156_1 conda-forge
qt 5.12.5 h1b46049_0 conda-forge
rapidjson 1.1.0 hb1e8313_1002 conda-forge
readline 8.1 h05e3726_0 conda-forge
setuptools 49.6.0 py38h50d1736_3 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
smesh 8.3.0.3 py38h7dac498_10 conda-forge
smmap 3.0.5 pyh44b312d_0 conda-forge
soqt 1.6.0 h02c1c16_1 conda-forge
spooles 2.2.0 h1de35cc_1002 conda-forge
sqlite 3.36.0 h23a322b_0 conda-forge
tbb 2020.2 h940c156_4 conda-forge
tbb-devel 2020.2 h940c156_4 conda-forge
tk 8.6.10 h0419947_1 conda-forge
tornado 6.1 py38h5406a74_1 conda-forge
typing_extensions 3.10.0.0 pyha770c72_0 conda-forge
utfcpp 3.2.1 h694c41f_0 conda-forge
vtk 8.2.0 py38h3f69d5f_218 conda-forge
wheel 0.36.2 pyhd3deb0d_0 conda-forge
x264 1!161.3030 h0d85af4_1 conda-forge
xerces-c 3.2.3 h8f8adb3_0 conda-forge
xorg-fixesproto 5.0 h0d85af4_1002 conda-forge
xorg-inputproto 2.3.2 h35c211d_1002 conda-forge
xorg-kbproto 1.0.7 h35c211d_1002 conda-forge
xorg-libice 1.0.10 h0d85af4_0 conda-forge
xorg-libsm 1.2.3 h0d85af4_1000 conda-forge
xorg-libx11 1.7.2 h0d85af4_0 conda-forge
xorg-libxau 1.0.9 h35c211d_0 conda-forge
xorg-libxdmcp 1.1.3 h35c211d_0 conda-forge
xorg-libxext 1.3.4 h0d85af4_1 conda-forge
xorg-libxfixes 5.0.3 h0d85af4_1004 conda-forge
xorg-libxi 1.7.10 h0d85af4_0 conda-forge
xorg-libxmu 1.1.3 h0d85af4_0 conda-forge
xorg-libxt 1.2.1 h0d85af4_2 conda-forge
xorg-xextproto 7.3.0 h35c211d_1002 conda-forge
xorg-xproto 7.0.31 h35c211d_1007 conda-forge
xz 5.2.5 haf1e3a3_1 conda-forge
yaml 0.2.5 haf1e3a3_0 conda-forge
zipp 3.4.1 pyhd8ed1ab_0 conda-forge
zlib 1.2.11 h7795811_1010 conda-forge
zstd 1.4.8 h62961b2_0 conda-forge


I hope the FEM module can run well on python=3.9 environment also.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM Mod error since 0.19.pre

Post by bernd »

seams this is conda related. I do not use conda. Thus I moved it to install / compile. Here it might get more viewers.

I do compile from source on Linux and use prebuild binaries for Windows. I do neither have a problem to run FEM.

If there really are FEM related problems than the FEM forum it the place to post.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM Mod error since 0.19.pre

Post by bernd »

felixlee868 wrote: Tue Jun 29, 2021 1:45 am I hope the FEM module can run well on python=3.9 environment also.
I do not know of any problems so far.
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Re: FEM Mod error since 0.19.pre

Post by felixlee868 »

When I use FEM module, I found the gmsh and ccx can't be called by GUI. When I use gmsh create mesh for one object. The FreeCAD crashed. the next line are prompt information

Active analysis found: Analysis
ElementDimension: 3
Group meshing for analysis is set to true in FEM General Preferences. Are you really sure about this? You could run into trouble!
/var/folders/m8/t8lf1l0n77l6w18df5m1q7jm0000gn/T/fcfem_pbx8jmlp/Box_Geometry.brep
/var/folders/m8/t8lf1l0n77l6w18df5m1q7jm0000gn/T/fcfem_pbx8jmlp/Box_Mesh.unv
/var/folders/m8/t8lf1l0n77l6w18df5m1q7jm0000gn/T/fcfem_pbx8jmlp/shape2mesh.geo
/Users/lifeng/miniconda3/envs/freecad/bin/gmsh
New mesh was added to the mesh object.
zsh: illegal hardware instruction freecad


============================================
The next part is MacOS crash report last part for dylib info
============================================

OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x7fff6d2b5000 - 0x7fff6d30dfff com.apple.opencl (4.6 - 4.6) <769BB23D-09E5-3A3A-B2EA-310157AA206D> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff6e3b7000 - 0x7fff6e3befff com.apple.agl (3.3.4 - AGL-3.3.3) <23E38B10-2F27-3BB2-B78D-C28189C21601> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x7fff6e3bf000 - 0x7fff6e4a6fff com.apple.audio.AVFAudio (1.0 - 477.87) <B762E01A-23A5-3F51-A1BE-EDDD5A2FDE4B> /System/Library/Frameworks/AVFAudio.framework/Versions/A/AVFAudio
0x7fff6f636000 - 0x7fff6f640fff com.apple.AccessibilityBundles (1.0 - 174) <44BBD6D9-72C1-3D3A-956B-8ED4610E6047> /System/Library/PrivateFrameworks/AccessibilityBundles.framework/Versions/A/AccessibilityBundles
0x7fff6fa24000 - 0x7fff6fa36fff com.apple.CMImaging (1.0 - 82.6) <AACD534A-7769-3B70-9C43-5F53FD726895> /System/Library/PrivateFrameworks/CMImaging.framework/Versions/A/CMImaging
0x7fff73d04000 - 0x7fff73d0ffff com.apple.SymptomAnalytics (1.0 - 1431.120.1) <897411F6-DB2B-34CD-ABDC-665A2C8D37E3> /System/Library/PrivateFrameworks/Symptoms.framework/Frameworks/SymptomAnalytics.framework/Versions/A/SymptomAnalytics
0x7fff73f25000 - 0x7fff73f3dfff com.apple.SymptomPresentationFeed (1.0 - 1431.120.1) <3CA4CFBB-1942-3BF2-B7C4-4F73FB4EE115> /System/Library/PrivateFrameworks/Symptoms.framework/Frameworks/SymptomPresentationFeed.framework/Versions/A/SymptomPresentationFeed
0x7fff77ab3000 - 0x7fff77abafff libRosetta.dylib (203.46) <0A17EAFC-15E9-37FE-8EE2-DE0F7F220AD8> /usr/lib/libRosetta.dylib


Translated Code Information:
tmp0: 0x00000001bd7f3b7b tmp1: 0x000000000000020d tmp2: 0x00000001bd7f1c49


External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 10
thread_create: 0
thread_set_state: 292
Post Reply