Reputation: 415
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:
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?
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