This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1148 - PaStiX support: impossible to get rid of the welcome message
Summary: PaStiX support: impossible to get rid of the welcome message
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 13:56 UTC by fabien chêne
Modified: 2019-12-04 15:20 UTC (History)
2 users (show)



Attachments

Description fabien chêne 2016-01-20 13:56:23 UTC
Quite annoying, it is not possible to get rid of the PaStix welcome message when declaring a solver.

#include <Eigen/PaStiXSupport>

template <class SOLVER>
void f()
{
    SOLVER solver; // gossip
    solver.iparm(IPARM_VERBOSE) = API_VERBOSE_NOT; // too late
    // next actions are silent
}

int main()
{
    f<PastixSolverLDLT>();
    f<PastixSolverLLT>();
    f<PastixSolverLU>();
}

The code above displays the welcome message three times. This is annoying when one need to create a solver frequently, and causes a performance issue as well.

Here is the welcome message I am talking about:

AUTOSPLIT_COMM : global rank : 0, inter node rank 0, intra node rank 0, threads 1
 +--------------------------------------------------------------------+
 +              PaStiX : Parallel Sparse matriX package               +
 +--------------------------------------------------------------------+
 +--------------------------------------------------------------------+
 +  Options                                                           +
 +--------------------------------------------------------------------+
... etc

Could the default verbosity be set to API_VERBOSE_NOT ? Or provide a mecanism to silent it ?
Comment 1 Gael Guennebaud 2016-01-20 17:56:54 UTC
Indeed, the default should be API_VERBOSE_NOT!

https://bitbucket.org/eigen/eigen/commits/6a1f6c421685/
Comment 2 Nobody 2019-12-04 15:20:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1148.

Note You need to log in before you can comment on or make changes to this bug.