From 9975d6f08a74b9c1aa9daa7bd2c7c85ee875acbf Mon Sep 17 00:00:00 2001 From: Francesco Lannutti Date: Fri, 4 May 2012 23:13:44 +0200 Subject: [PATCH] Added an hint about which solver has been compiled, based on #ifdef --- ChangeLog | 5 +++++ src/frontend/misccoms.c | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index dca7970ed..508b1dd5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5423,6 +5423,11 @@ Removed the PARALLEL_ARCH macro Removed the Combine algorithm from Sparse and Analyses +2012-05-04 Francesco Lannutti + * src/frontend/misccoms.c + Added an hint about which solver has been compiled, + based on #ifdef + 2012-04-11 Francesco Lannutti * src/spicelib/analysis/cktacct.c Corrected a bug that caused segmentation fault diff --git a/src/frontend/misccoms.c b/src/frontend/misccoms.c index 585d3d7fb..f346e2f28 100644 --- a/src/frontend/misccoms.c +++ b/src/frontend/misccoms.c @@ -199,6 +199,17 @@ com_version(wordlist *wl) fprintf(cp_out, "******\n" "** %s-%s : %s\n" + +#if defined KLU + "** Compiled with KLU Direct Linear Solver\n" +#elif defined SuperLU + "** Compiled with SuperLU Direct Linear Solver\n" +#elif defined UMFPACK + "** Compiled with UMFPACK Direct Linear Solver\n" +#else + "** Compiled with Sparse Direct Linear Solver\n" +#endif + "** The U. C. Berkeley CAD Group\n" "** Copyright 1985-1994, Regents of the University of California.\n" "** %s\n",