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

basic examples not working in ML package #4768

Closed
bobbilichandu opened this issue Mar 30, 2019 · 4 comments
Closed

basic examples not working in ML package #4768

bobbilichandu opened this issue Mar 30, 2019 · 4 comments

Comments

@bobbilichandu
Copy link

I built ML package using ml_guide.
And basic examples are not working. Please let me know if the build id wrong or anything else is the issue. I am attaching screenshots.
Screenshot from 2019-03-30 16-55-36
Screenshot from 2019-03-30 16-54-49

@mhoemmen
Copy link
Contributor

Here's how you build examples:

  1. When configuring (running CMake on) Trilinos, set the CMake option ML_ENABLE_EXAMPLES:BOOL=ON.
  2. Use make (or ninja or your chosen CMake back-end) to build Trilinos.

The examples will build as part of Trilinos' normal build process. Don't just run g++ or whatever. Trilinos' generated Makefiles (or Ninja files etc.) will pull in the right build and link options for you.

@trilinos/ml

@jhux2
Copy link
Member

jhux2 commented Apr 8, 2019

Instead of using the ML guide, you should use the directions in the Trilinos README.md, found here.

@jhux2
Copy link
Member

jhux2 commented Apr 8, 2019

@chandu1263 I just realized that you asked a related question in issue #4736. Did you follow the advice there?

@jhux2
Copy link
Member

jhux2 commented Apr 29, 2019

Closing, but please update/reopen if you're still having problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants