Open mortezah opened 5 years ago
Which version of SimModSuite was used to build the convert
utility?
simmetrix-simmodsuite/12.0-180713-6dupwm4
I built and ran the Simmetrix provided meshSimModelerMeshingCase.cc
from the MeshSimAdvanced examples and hit an error when loading an .smd
file created with SimModeler 8.0-190222 in GM_load(...)
. The build used SimModSuite 14.0-1902222dev.
I then ran the pumi simTranslate
tool on the .smd
and parasolid model to produce a GeomSim model with attributes in a new .smd
file. Running this .smd
through meshSimModelerMeshingCase
produced the expected mesh.
Can you test the convert
tool built with 14.0-1902222dev?
I tried version 14. and got the following error during cmake
configurations step
CMake Error at cmake/FindSimModSuite.cmake:80 (MESSAGE):
invalid Simmetrix version: 14.0.190222, valid versions are 11.0.170826 to
12.0.181124
I changed the version requirements in the FindSimModSuite.cmake
and was able fix the above error but got another one
CMake Error at cmake/FindSimModSuite.cmake:48 (message):
libSimParasolid290 not found
Call Stack (most recent call first):
cmake/FindSimModSuite.cmake:104 (getSimCadLib)
CMakeLists.txt:107 (find_package)
Do you know how that one can be fixed quickly?
Yes. Change the following line:
https://github.com/SCOREC/core/blob/56ce376bd341169e1847ac39aba57be3c06a902a/cmake/FindSimModSuite.cmake#L100
to set(SIM_PARASOLID_VERSION 300)
.
Ok, compiling core with version 14
of simModSuite
fixes the problem for covert
utility.
Side note, by going to version 14 some of the other tests failed to compile, see for example
CMakeFiles/rm_extrusion.dir/rm_extrusion.cc.o: In function `main':
/users/hakimm2/SCOREC/core/test/rm_extrusion.cc:123: undefined reference to `M_removeSurfaceExtrusionConstraints(SMesh*, PList*)'
collect2: error: ld returned 1 exit status
I am getting this same empty mesh issue with a recent build of version 7 (e.g. SimModeler7.0-190424) though our version of simModSuiite 14 libraries are much older (e.g., 14.0-180813dev ). Does anyone know if getting something more recent is needed? Here is the error fix_pyramids 1 attach_order 0 enable_log 0 native-model '(null)' model '../SlatRotateDemo.smd' simmetrix mesh '../SlatRotateDemo.sms' output mesh 'bz2:mdsMesh_bz2/' read and created the simmetrix mesh in 0.014225 seconds created the apf_sim mesh in 0.003138 seconds transferring quadratic mesh created the apf_mds mesh in 0.024201 seconds number of triangle 0 quad 0 mesh entity counts: v 0 e 0 f 0 r 0
resolved by moving to a 190416 version.
Just ran into this. module load simmetrix/simModeler
loads SimModeler 7.0 and module load pumi/develop-int32-shared-sim-tml2cn2
(the only version of Pumi linked to SimModSuite) loads SimModSuite 12.0-190413, so the "default" configuration on the Scorec workstations is currently broken.
@JaredCrean2 SimModeler 7.0-190604dev and SimModSuite 14.0-190617dev are a valid version combination. On scorec the modules for these are:
module load simmetrix/simModeler/7.0-190604dev
module load gcc mpich pumi/develop-int32-shared-sim-4h5fi2k
I think the key thing is to have a SimModSuite 14 build date that is newer than the SimModeler 7 build date.
The
convert
utility creates an empty mesh when provided with a simmetirx mesh generate using version 8 of simmodeler.