Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile unit_FEM without unit_MATLAB #17

Closed
jcmadsen opened this issue Jun 23, 2014 · 1 comment
Closed

Compile unit_FEM without unit_MATLAB #17

jcmadsen opened this issue Jun 23, 2014 · 1 comment

Comments

@jcmadsen
Copy link
Contributor

should it be possible to compile unit_FEM without unit_MATLAB? Currently I need to make some changes to demos/fem/CMakeLists.txt to be able to compile this (in windows, msvc 2010)

@tasora
Copy link
Member

tasora commented Jun 23, 2014

Hi Justin,
you're right, previously unit_FEM was 100% independent from unit_MATLAB, but lately I was doing tests where the precision of the MINRES solver of C::E wasn't enough so I plugged in the MATLAB linear solver in those few demos for the FEM unit, and now one get the error that you saw if you compile unit_FEM & its demos without having unit_MATLAB.
Sorry, this was for testing, but in the release version we have two options to fix this:

  1. rework the demos so that they use C::E MINRES (hoping that we can plug some good preconditioner for that moment)
  2. or I'll modify the CMakeList so that one can compile unit_FEM only conditionally if unit_MATLAB is compiled too.
    Alessandro

@rserban rserban closed this as completed Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants