smdogroup / tmr Goto Github PK
View Code? Open in Web Editor NEWToolkit for parallel semi-structured quadtree and octree mesh generation with specialized tools for topology optimization
License: Apache License 2.0
Toolkit for parallel semi-structured quadtree and octree mesh generation with specialized tools for topology optimization
License: Apache License 2.0
Hi, during the TMR building I get the following error:
tmr/src/topology/TMRTopoProblem.cpp:754:54: error: no matching function for call to ‘TMRTopoProblem::setProblemSizes(int&, int&, int&, int&)’ 754 | setProblemSizes(nvars, num_constraints, nw, nwblock); | ^ In file included from tmr/src/topology/TMRTopoProblem.h:24, from tmr/src/topology/TMRTopoProblem.cpp:21: paropt/src/ParOptProblem.h:112:8: note: candidate: ‘void ParOptProblem::setProblemSizes(int, int, int, int, int)’ 112 | void setProblemSizes( int _nvars, int _ncon, int _ninequality, | ^~~~~~~~~~~~~~~ paropt/src/ParOptProblem.h:112:8: note: candidate expects 5 arguments, 4 provided
I suppose that probably I'm linking a version of ParOpt library too recent (v. 2.0.2). Unfortunately I'm not able to retrive an older version in which ParOptProblem::setProblemSizes()
takes only 4 arguments.
Are my supposition correct? What can I do to solve this error?
Thank you
I'm very sorry to bother you, but this problem has slowed down my working progress for a long time, I have successfully compiled and connected the python interface in tmr, but I still get an error when running examples with python, which has not been solved for a long time. The example I ran is /home/xy/git/tmr/examples/crank, and l use python 3.5.2, Could you please give me some suggestions?
here is the error information:
Traceback (most recent call last):
File "crank.py", line 3, in
from tmr import TMR
ImportError: /home/xy/git/tmr/tmr/TMR.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZTI17Adaptor2d_Curve2d
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.