/[escript]/trunk/escriptcore/src/SolverOptions.cpp
ViewVC logotype

Log of /trunk/escriptcore/src/SolverOptions.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 6799 - (view) (annotate) - [select for diffs]
Modified Mon Mar 25 05:53:58 2019 UTC (4 weeks, 1 day ago) by aellery
File length: 24892 byte(s)
Diff to previous 6739
I have rewritten the solverbuddy. Briefly:

1. The remaining AMG code has been removed from PASO.
2. If Trilinos is available, escript will now use it by default.
3. eScript will use a direct solver by default, (if one is available,) when solving 2 dimensional problems and an iterative solver, by default, when solving 3 dimensional problems. This can be changed by a user by manually specifying which solver to use.
4. There is a new option available, setHermitian(), that allows a user to specify when a coefficient matrix is Hermitian.
5. Symmetry information is always passed onto the Trilinos solver when this information is relevant.
6. All tests have been updated, when relevant, to reflect these changes.
7. I fixed a couple of undocumented bugs.



Revision 6739 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 23:58:41 2018 UTC (5 months, 2 weeks ago) by aellery
File length: 29614 byte(s)
Diff to previous 6651
I have removed support for boomerAMG from eScript. Specific changes are:

i) I have removed the definition of the variables "boomeramg", "boomeramg_prefix" and "boomeramg_libs" from SConstruct as well as the boomerAMG section of dependencies.py. Similarly, I have removed the boomerAMG section of paso/src/SConscript. Also, I have removed boomeramg from the report that scons prints out after compilation.
ii) I have removed the enum SO_PRECONDITIONER_BOOMERAMG from escriptcpp.cpp 
iii) I have removed the enum SO_PRECONDITIONER_BOOMERAMG from escriptcore/src/SolverOptions.h and have updated a few comments.
iv) I have removed the case for SO_PRECONDITIONER_BOOMERAMG from the switches in SolverBuddy::getSummary(), SolverBuddy::getName() and SolverBuddy::setPreconditioner() in SolverOptions.cpp
v) In paso/src/Preconditioner.h, I have redefined the structure Preconditioner_AMG_Root so that it does not include a pointer to a Preconditioner_BoomerAMG.
vi) I have updated a couple of files in paso (AMG.cpp, AMG_Root.cpp) to reflect the changes in this structure (specifically, the fact that prec->boomeramg is now meaningless).
vii) I have removed a preprocessor directive in paso/src/Options.h (#define PASO_BOOMERAMG 60) and have updated paso/src/Options.cpp to reflect this change by removing this case from several switches.
viii) The files paso/src/BOOMERAMG.h and paso/src/BOOMERAMG.cpp have been removed from the latest commit.

On meerkat, with these changes, escripts compiles without any problems.




Revision 6651 - (view) (annotate) - [select for diffs]
Modified Wed Feb 7 02:12:08 2018 UTC (14 months, 2 weeks ago) by jfenwick
File length: 30609 byte(s)
Diff to previous 6523
Make everyone sad by touching all the files

Copyright dates update


Revision 6523 - (view) (annotate) - [select for diffs]
Modified Tue Mar 7 06:50:34 2017 UTC (2 years, 1 month ago) by jfenwick
File length: 30609 byte(s)
Diff to previous 6392
UPDATE THE COPYRIGHT DATES


Revision 6392 - (view) (annotate) - [select for diffs]
Modified Mon Aug 1 02:27:56 2016 UTC (2 years, 8 months ago) by caltinay
File length: 30609 byte(s)
Diff to previous 6372
Implemented setting specific direct solver. Fixes #378


Revision 6372 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 06:14:51 2016 UTC (2 years, 9 months ago) by caltinay
File length: 30035 byte(s)
Diff to previous 6367
We can now pass Trilinos options through the SolverBuddy.

Updated BelosWrapper to extract the supported options. Amesos2 & Ifpack2
to follow...


Revision 6367 - (view) (annotate) - [select for diffs]
Modified Tue Jul 19 04:56:16 2016 UTC (2 years, 9 months ago) by caltinay
File length: 29717 byte(s)
Diff to previous 6336
SolverBuddy: overload updateDiagnostics so we can call it from C++ - not ideal
but quick fix before a revamp of the whole class.
TrilinosMatrix: update solver diagnostics for time, residual and num iter.
RipleyMatrix: don't copy the SolverBuddy so the diags are actually returned.


Revision 6336 - (view) (annotate) - [select for diffs]
Modified Fri Jul 1 12:37:05 2016 UTC (2 years, 9 months ago) by caltinay
File length: 28302 byte(s)
Diff to previous 6321
(3) add isComplex & setComplex to solver options.


Revision 6321 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 05:38:50 2016 UTC (2 years, 10 months ago) by caltinay
File length: 28147 byte(s)
Diff to previous 6319
feature #3: this should fix up remaining tests that only checked paso_direct.
I also moved paso_direct to 'hasFeature' as it's a boolean...


Revision 6319 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 05:01:39 2016 UTC (2 years, 10 months ago) by caltinay
File length: 28249 byte(s)
Diff to previous 6318
remove Super LU from everywhere, we never supported it and never will directly.


Revision 6318 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 04:58:46 2016 UTC (2 years, 10 months ago) by caltinay
File length: 28336 byte(s)
Diff to previous 6303
remove pastix from everywhere. We never supported it and never will directly.


Revision 6303 - (view) (annotate) - [select for diffs]
Modified Sat Jun 18 10:53:18 2016 UTC (2 years, 10 months ago) by caltinay
File length: 28490 byte(s)
Diff to previous 6144
changed default value for ILUT drop tolerance and fixed a typo.


Revision 6144 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 05:25:13 2016 UTC (3 years ago) by caltinay
File length: 28488 byte(s)
Diff to previous 6138
last round of namespacing defines.


Revision 6138 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 02:10:10 2016 UTC (3 years ago) by caltinay
File length: 28476 byte(s)
Diff to previous 6119
starting to 'namespace' our way too generic defines...


Revision 6119 - (view) (annotate) - [select for diffs]
Modified Sun Apr 3 23:36:59 2016 UTC (3 years ago) by caltinay
File length: 28466 byte(s)
Diff to previous 6112
merging trilinos branch to trunk.
We can now build with trilinos and use it instead of paso for single PDEs.
There are some more things to be done...


Revision 6112 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 09:40:10 2016 UTC (3 years ago) by jfenwick
File length: 28330 byte(s)
Diff to previous 5972
Relicense all the things!



Revision 5972 - (view) (annotate) - [select for diffs]
Modified Wed Feb 24 04:05:30 2016 UTC (3 years, 1 month ago) by caltinay
File length: 28340 byte(s)
Diff to previous 5863
Major rework of our exceptions. We now have specific
AssertException
NotImplementedError
ValueError
which translate to the corresponding python exception type.
I have gone through a few places and replaced things but not everywhere.



Revision 5863 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 02:25:48 2016 UTC (3 years, 3 months ago) by jfenwick
File length: 28899 byte(s)
Diff to previous 5672
Copyright dates updated.
\version for doxygen to read


Revision 5672 - (view) (annotate) - [select for diffs]
Modified Mon Jun 22 01:14:00 2015 UTC (3 years, 10 months ago) by jduplessis
File length: 28899 byte(s)
Diff to previous 5669
added other solver methods. Also made error message more clear


Revision 5669 - (view) (annotate) - [select for diffs]
Modified Fri Jun 19 05:18:05 2015 UTC (3 years, 10 months ago) by sshaw
File length: 28713 byte(s)
Diff to previous 5593
trying to set a DIRECT solver method without libsuitesparse throws an exception


Revision 5593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 24 01:36:26 2015 UTC (4 years ago) by jfenwick
File length: 28528 byte(s)
Diff to previous 5448
Fixing institution name to comply with policy

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (4 years, 2 months ago) by jfenwick
File length: 28524 byte(s)
Diff to previous 5148
Updating all the dates

Revision 5148 - (view) (annotate) - [select for diffs]
Modified Mon Sep 15 01:25:23 2014 UTC (4 years, 7 months ago) by caltinay
File length: 28524 byte(s)
Diff to previous 4841
Merging ripley diagonal storage + CUDA support into trunk.
Options file version has been incremented due to new options
'cuda' and 'nvccflags'.


Revision 4841 - (view) (annotate) - [select for diffs]
Modified Tue Apr 8 03:49:18 2014 UTC (5 years ago) by jfenwick
File length: 28226 byte(s)
Diff to previous 4824
keeping older compilers happy

Revision 4824 - (view) (annotate) - [select for diffs]
Modified Tue Apr 1 06:40:19 2014 UTC (5 years ago) by sshaw
File length: 28183 byte(s)
Diff to previous 4822
fixed sillyness with serial builds reporting as MPI

Revision 4822 - (view) (annotate) - [select for diffs]
Added Tue Apr 1 05:05:45 2014 UTC (5 years ago) by sshaw
File length: 28182 byte(s)
now with all required files at no extra cost

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26