Freya the Goddess
Freya the Goddess

Reputation: 415

Compiling Single Trilinos Example: e.g. Anasazi or Belos

I have built Trilinos multiple times, trying out few possibilities. I see that the examples are built after the long compiling.

Instead of building again the whole packages, I want to compile just a single C++ (.cpp) file, for example BlockDavidson for Anasazi with Epetra: Anasazi

or BlockCG for Belos with Epetra: Belos

The question is simple:

  1. Can I compile them with simple gcc -o test BlockCGEpetraExFile.cpp ? I tried it but it returned 'undefined reference' Error gcc Do I lack some other syntaxes?

  2. If there is a Makefile or something similar that anyone ever created that can be edited for any package in Trilinos?

Upvotes: 1

Views: 44

Answers (0)

Related Questions