[CI] Improve the tests for the linear solvers - #319
Conversation
|
OK, I'll have a look. I think my pastix is out of date, so I'll install the latest first |
|
The makefile double precision tests (both standalone via pastixt.F90 and as part of sls/sbls) |
|
I will upgrade the version installed with CI (6.3.0 -> 6.3.2) to check if the tests passed with this version. |
|
@nimgould I updated PaStiX to use the version 6.3.2 but single and double precision tests of PaStiX are still failing: |
|
If I compile |
|
Oh, I should say that I took the advice from the Pastix page to set scotch on and metis off. This works for me. I suppose that it might well be a metis version clash (again!) |
ff47118 to
f58979d
Compare
|
@nimgould [2842/4669] Compiling Fortran object pastixt_quadruple.p/src_external_pastix_pastixt.F90.o
FAILED: pastixt_quadruple.p/src_external_pastix_pastixt.F90.o
gfortran -Ipastixt_quadruple.p -I. -I.. -Iinclude -I../include -I../src/dum/include -I../src/metis/include -Isrc/ampl -I../src/ampl -I../../deps/modules -I../../CUTEst/modules -I../../deps/include/spm -I../../deps/include/pastix -Ilibgalahad_quadruple.so.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -O0 -g -fopenmp -DLANCELOT_USE_MA57 -cpp -DREAL_128 -DGALAHAD_BLAS -DGALAHAD_LAPACK -DDUMMY_QMUMPS -DDUMMY_MKL_PARDISO -DDUMMY_PARDISO -DDUMMY_WSMP -DDUMMY_MPI -Jpastixt_quadruple.p -o pastixt_quadruple.p/src_external_pastix_pastixt.F90.o -c ../src/external/pastix/pastixt.F90
f951: Fatal Error: Reading module ‘libgalahad_quadruple.so.p/spmf_interfaces_quadruple.mod’ at line 304 column 51: Expected left parenthesisI would like to test GALAHAD with PaStiX v6.4.0. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #319 +/- ##
=======================================
Coverage 26.92% 26.92%
=======================================
Files 164 165 +1
Lines 29202 29208 +6
Branches 8804 8806 +2
=======================================
+ Hits 7863 7865 +2
- Misses 18767 18769 +2
- Partials 2572 2574 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I have no idea. As you say, a bug in a mod file is unusual, I have never seen one before. Certainly there is no issue here with the quad test using the dummy pastix (but then I don't know if the real one supports 128 bit reals) |
|
We need to support PASTIX 6.4.0 if we want to use / test it. The interface in GALAHAD is for an older version and they changed the API... |
|
Sigh ... do these people not understand how much it annoys their users if every minor version is different. This will be the third change in a year. I'll have a look when I get a chance, do you know what changed? |
|
Nick, I have an issue when we deallocate the vectors in |
|
It is not obvious to me. I'll try using a STAT = status for each allocate/deallocate |
9f9944b to
e4dad0f
Compare
4a8f5ce to
77ff109
Compare
48fff85 to
95d97fc
Compare
|
I am happy with this, both single and double precision stand-alone and sls tests pass. Thank you, Alexis! |
|
Alas, it doesn't work with in64, but this is actually a pastix error as compiling with the -DPASTIX_INT64=ON flag fails as it requires 64-bit Scotch ... which is available as part of the scotch package. Seemingly Cmake just doesn't find it |
|
Update: adding to the pastix Cmake built the 64-bit version. But now, at line 4443 of file sls.F90 which seems to be a result of some data misalignment following Inserting write(6,*) SIZE( data%PTR ), SIZE( data%matrix%PTR ) before the failing line, I see 1 6 while for the 32-bit integer it is 6 6 Thus it looks like spmGetArray is not allocating the correct size |
I compile PaStiX with only METIS for the CI and it works ( The build that failed for the CI was on Mac and I compile PaStiX only on linux (unrelated to this PR). We should send the bug to Mathieu for SCOTCH + PaStiX. |
da3e711 to
d9dec06
Compare
42cb2f4 to
8fd1a26
Compare
|
This works with the makefile build. I am not sure I understand the "conflicts" message above, the version I get from a pull on pastix_ci seems fine |
No description provided.