Giter VIP home page Giter VIP logo

tmr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tmr's Issues

Building error: Too few argument setProblemSizes ParOpt function

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

the problem when running examples with python

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.