Commit Graph
100 Commits
Author SHA1 Message Date
Franck HOUSSEN f2921f232b arpackmm: improve command line for testing. (#470) 2024-09-19 18:58:07 +02:00
Franck HOUSSEN 43d3e5606b Fix arpack solver (#468)
* arpackmm: improve command line.

* [BUG FIX] arpackmm: run arpack with real or imag shift.

* [BUG FIX] arpackmm: make sure the restart file is written.

* [BUG FIX] arpackmm: rewrite the test.

  - Do NOT use eval in bash script which does NOT return command exit code.

  - Use a dedicated maxResNorm to test the residual (no point to deduce
    it from tol).

* Update .gitignore.

* Update CHANGELOG.
2024-09-18 21:55:38 +02:00
Franck HOUSSEN 217e25ac7c Improve documentation. (#456) 2024-05-08 13:02:16 +02:00
Franck HOUSSEN 7f25013f29 [CI] Fix macos job. (#457)
* [CI] Fix macos job.
2024-05-08 12:35:10 +02:00
Franck HOUSSEN 4caa8f4c70 Add documentation on ILP64. (#453)
* Add documentation on ILP64.

* Rephrase.
2024-04-01 20:37:14 +02:00
Franck HOUSSEN e7cf106bc2 Merge pull request #425 from fghoussen/fix-install
Fix installation tests: compile and run icb_arpack_c.
2023-08-14 12:26:23 +02:00
Franck HOUSSEN c08859052b README: document use of *.pc and *.cmake files. 2023-08-13 11:04:17 +02:00
Franck HOUSSEN 5a2f942473 CMake test install: add comments + make it symmetric with autotools's one. 2023-08-13 10:59:18 +02:00
Franck HOUSSEN a857b80721 [CI] Increase CMake version to avoid deprecation messages in logs. 2023-08-13 10:56:55 +02:00
Franck HOUSSEN cdcb80a0ff Export LD_LIBRARY_PATH before running binaries. 2023-08-12 21:33:05 +02:00
Franck HOUSSEN a0ee97487e README: document use of *.pc and *.cmake files. 2023-08-12 21:05:52 +02:00
Franck HOUSSEN 4bd39d7a39 [CI] Increase CMake version to avoid deprecation messages in logs. 2023-08-12 20:57:24 +02:00
Franck HOUSSEN 798f87698f [CI] Add eigen to test installs. 2023-08-12 20:55:42 +02:00
Franck HOUSSEN 031ea2554d Update change log. 2023-08-12 19:18:35 +02:00
Franck HOUSSEN 7f0e2dca4a Fix installation tests: compile and run arpackmm. 2023-08-12 19:18:22 +02:00
Franck HOUSSEN 2239bf22e6 Fix installation tests: compile and run icb_parpack_cpp. 2023-08-12 18:02:03 +02:00
Franck HOUSSEN f4b2f31a64 Fix installation tests: compile and run icb_parpack_c. 2023-08-12 17:40:31 +02:00
Franck HOUSSEN c46da4f87a Fix installation tests: compile and run icb_arpack_cpp. 2023-08-12 13:55:09 +02:00
Franck HOUSSEN 1b525b649c Fix installation tests: compile and run icb_arpack_c. 2023-08-12 13:26:52 +02:00
Franck HOUSSEN b13558c527 README: document where to find arpack user's guide. 2023-03-05 22:58:48 +01:00
Franck HOUSSEN e124fcabc2 [BUG FIX] arpackmm: fix restart. (#408)
* Fixing issue401.
* Fixing issue215 with shift.
2023-02-28 19:29:32 +01:00
Franck HOUSSEN e144e946ec README: document how to use ICB. 2023-02-25 10:49:55 +01:00
Franck HOUSSEN 5a963c4d31 Rename icbexmm option into eigen option. 2023-02-18 10:21:19 +01:00
Franck HOUSSEN ae350abfed arpackSolver: cut-off arpack workspace dim. (#404) 2023-02-18 10:20:38 +01:00
Franck HOUSSEN cd49a7fb98 arpackmm: allow for using LA/SA magnitudes. (#402) 2023-02-17 22:30:40 +01:00
Franck HOUSSEN 3a9a9ce8c0 Add comments to README. (#400) 2023-02-15 22:39:19 +01:00
Franck HOUSSEN 459f46a6dd [BUG FIX] Fix install: headers in /path/to/local/include/arpack (#398) 2023-02-12 15:29:33 +01:00
Franck HOUSSEN 6c7a3240d8 New upstream release.
arpack-ng / ubuntu_latest_cmake (push) Waiting to run
arpack-ng / ubuntu_latest_cmake_install (push) Waiting to run
arpack-ng / ubuntu_latest_autotools (push) Waiting to run
arpack-ng / ubuntu_latest_autotools_install (push) Waiting to run
arpack-ng / ubuntu_latest_cmake_python (push) Waiting to run
arpack-ng / ubuntu_latest_autotools_ilp64 (push) Waiting to run
arpack-ng / macos_latest_cmake (push) Waiting to run
arpack-ng / macos_latest_cmake_python (push) Waiting to run
arpack-ng / macos_latest_autotools (push) Waiting to run
arpack-ng / windows_latest_cmake (push) Waiting to run
2023-02-11 13:56:54 +01:00
Franck HOUSSEN b8ab7a72c4 [CI] Run full test suite (including eigen tests). (#396) 2023-02-07 23:09:56 +01:00
Franck HOUSSEN 04e1b3c9db parpack: no ILP64 support. 2022-08-14 23:10:17 +02:00
Franck HOUSSEN 5c81720203 [CI - W10] bug_1315_single: easy tolerance as we deal with float. 2022-08-14 23:10:17 +02:00
Franck HOUSSEN 98bf1f1ade [BUG FIX] Fixing issue 332: rewrite icb_parpack_c*. 2022-08-14 23:10:02 +02:00
Franck HOUSSEN 68b2840c63 [BUG FIX] Use MPI ICB types (mpi_f08) instead of integer(kind=i_int). 2022-08-14 23:06:47 +02:00
Franck HOUSSEN e0d67054f5 [BUG FIX] According to lapack doc of ?larnv, iseed(4) must be odd. 2022-08-14 23:06:47 +02:00
Franck HOUSSEN ce2e69a849 [BUG FIX] Make sure iseed is always initialized to values allowed by
lapack ?larnv.

This means killing inits variable:
  - Using MPI, inits (shared variable) may be set to false by one proc,
    and prevent other procs to initialize seeds (as inits is shared by
    use of the save fortran keyword).
  - Not using MPI, inits only prevents from re-initializing seeds which
    have already been initialized.

This commit is not-op. From a functional point of view, we are doing
the same thing. From an implementation point of view, we make sure
iseed is always (for all MPI procs) initialized to values allowed
by lapack (if not, lapack crashes).

This problem doesn't occur with sequential code. Changes have been
done in both sequential and MPI code to keep things symmetric.
2022-08-14 23:06:47 +02:00
Franck HOUSSEN 13bc40022c How to use arpack-ng with Intel MKL. (#369) 2022-07-30 10:47:43 +02:00
Franck HOUSSEN 0c655a68cd arpackSolver: fix error messages. 2022-07-09 12:36:27 +02:00
Franck HOUSSEN 872df83b9e [CI] Test pyarpack on macos. (#365)
* [CI] Test pyarpack on macos.
* Fix pyarpack compilation warning: seems like default is python3 now.
* Improve pyarpack doc.
* pyarpack: run with latest boost-python version and require Boost >= 1.78.
2022-06-25 19:16:31 +02:00
Franck HOUSSEN 51249ebcfc [DOC] Add notes in pyarpack documentation. (#364) 2022-06-18 21:12:57 +02:00
Franck HOUSSEN 5eafea4328 Create one .cmake file per arpack-ng flavor (32-bits, 64-bits, ILP64). (#362) 2022-06-04 10:54:05 +02:00
Franck HOUSSEN 2683ada680 README.md: fix style. (#359) 2022-05-21 19:23:28 +02:00
Franck HOUSSEN 7124d622ab Test install with ITF64 suffix. (#356) 2022-05-07 23:00:18 +02:00
Franck HOUSSEN bf82f61b13 [BUG FIX] Test install.
CMake may change install directory structure (local/lib or
local/lib/arch). Use find to prevent tests from this.
2022-04-30 18:42:28 +02:00
Franck HOUSSEN e7abe8b42b Test install with suffix. (#352) 2022-04-24 22:14:28 +02:00
Franck HOUSSEN 9331036702 Test autotools pkg-config (*.pc files). (#351) 2022-04-23 23:08:08 +02:00
Franck HOUSSEN 3ba4dbfbe9 Test install cmake (#350)
Test CMake find_package (*.cmake files).
2022-04-23 22:44:06 +02:00
Franck HOUSSEN 7e85cb19ad CI: fix github-actions workflow.
c45094c broke the workflow: CI triggered on PR (modified code) was
actually testing master codebase (untouched code). Solution:
- Drop pull_request_target: use pull_request
- Drop all docker jobs (which need pull_request_target to be based
  on master to be able to access opencollab secrets)
- Remove opencollab secrets (docker login and password)
- Drop coverage jobs (OK with TravisCI but never worked with
  github-actions)
2022-04-10 20:00:13 +02:00
Franck HOUSSEN c45094c758 Github Actions: enable access to opencollab secrets for docker jobs. 2021-10-07 19:26:00 +02:00
Franck HOUSSEN 3b5dab9c93 [BUG FIX] arpackmm: command line sanity checks. 2021-10-04 22:50:56 +02:00
Franck HOUSSEN e3a1f97f2a [BUG FIX] arpackmm: Cut-off in case previous run used different nbDim. 2021-10-04 22:50:56 +02:00
Franck HOUSSEN 5f9bd674b1 [BUG FIX] Compile C programs with ICB. 2021-10-04 22:50:16 +02:00
Franck HOUSSEN 38902e024c [BUG FIX] BLAS/LAPACK: allow suffixes in case BLAS/LAPACK can not provide ICB. 2021-10-04 22:50:16 +02:00
Franck HOUSSEN c7382178cf [BUG FIX] autotools: ICB must be checked first (MPI changes compilers). 2021-10-04 22:50:16 +02:00
Franck HOUSSEN 8a129088e1 [BUG FIX] TravisCI: openmpi not found on osx. (#285)
* [BUG FIX] TravisCI: openmpi not found on osx.

* [BUG FIX] TravisCI: docker does no more provide this linuxmint image.
2020-11-19 23:03:53 +01:00
Franck HOUSSEN ff93cbc53b [CMake] Use targets following "modern CMake". 2020-08-14 23:01:04 +02:00
Franck HOUSSEN a04cf112ea Update changelog. 2020-08-09 17:47:22 +02:00
Franck HOUSSEN e0c308841e [TravisCI] OS X: running the whole test suite. 2020-08-09 13:02:29 +02:00
Franck HOUSSEN e260d411ea [BUG FIX] coverage.
With newer versions of cmake, an unquoted 6th argument gives the
following error:

    STRING sub-command REGEX, mode REPLACE needs at least 6 arguments
    total to command.

Quoting this fixes the issue.
2020-07-27 22:14:03 +02:00
Franck HOUSSEN f475fd9bee [TravisCI] Add centos build. 2020-07-20 21:39:57 +02:00
Franck HOUSSEN 3db367d0ff [TravisCI] Add linuxmint job. 2020-07-19 20:04:51 +02:00
Franck HOUSSEN df811f8441 [TravisCI] Rename existing jobs. 2020-07-19 20:04:51 +02:00
Franck HOUSSEN a0db6e8593 [TravisCI] Make CI faster : kill old not-so-usefull jobs. 2020-07-19 17:25:24 +02:00
Franck HOUSSEN 34ab5be34f [TravisCI] : add eoan / focal build. 2020-07-19 17:24:27 +02:00
Franck HOUSSEN 6b752a10ae [TravisCI] Test osx formula. 2020-07-18 21:03:24 +02:00
Franck HOUSSEN ce58425a01 TravisCI: add opensuse build. 2020-06-17 19:48:11 +02:00
Franck HOUSSEN 0692c687cf Update changelog. 2020-06-05 18:51:04 +02:00
Franck HOUSSEN 745114243c Revert "coverage: EXMM with -g1."
This reverts commit 6cd4d53934.
2020-06-04 09:50:05 +02:00
Franck HOUSSEN dfd801dbc6 Revert "coverage: gcc mem param."
This reverts commit 61b721932b.
2020-06-04 09:50:00 +02:00
Franck HOUSSEN 2803f701e6 Revert "debug ?"
This reverts commit be0c0b07b6.
2020-06-04 09:49:56 +02:00
Franck HOUSSEN 277e9e56ce Revert "param value."
This reverts commit 3b7aca7b26.
2020-06-04 09:49:52 +02:00
Franck HOUSSEN 3b7aca7b26 param value. 2020-06-03 21:49:21 +02:00
Franck HOUSSEN be0c0b07b6 debug ? 2020-06-03 20:13:49 +02:00
Franck HOUSSEN 61b721932b coverage: gcc mem param. 2020-06-03 11:22:55 +02:00
Franck HOUSSEN 6cd4d53934 coverage: EXMM with -g1. 2020-06-03 11:11:31 +02:00
Franck HOUSSEN face704209 suppress exmm (but keep icb) from coverage. 2020-06-02 22:56:13 +02:00
Franck HOUSSEN 6491e7774a Revert "debug ?"
This reverts commit 0c883893e8.
2020-06-02 22:54:44 +02:00
Franck HOUSSEN 0c883893e8 debug ? 2020-06-02 17:06:33 +02:00
Franck HOUSSEN b38933b98c Do test 'icb-exmm' on bionic which may have eigen 3.3 ! 2020-06-02 15:19:31 +02:00
Franck HOUSSEN 124c541c5f Do not test 'icb-exmm' on xenial whiach has not yet eigen 3.3 ! 2020-06-02 15:18:31 +02:00
Franck HOUSSEN f2a747c98a Use latest version of eigen. 2020-06-02 09:05:25 +02:00
Franck HOUSSEN c89b848a20 Revert README. 2020-06-01 22:18:17 +02:00
Franck HOUSSEN aa20bc5b8e ILP64 : need to use docker. mkl can't be installed from bionic. 2020-06-01 22:11:39 +02:00
Franck HOUSSEN fa8a1634a0 update needed to get mkl ? 2020-06-01 20:49:45 +02:00
Franck HOUSSEN caaac63f3d cov build break : no idea why - return to xenial ?... 2020-06-01 18:50:17 +02:00
Franck HOUSSEN 6952afef4f cd $TRAVIS_BUILD_DIR 2020-06-01 13:11:28 +02:00
Franck HOUSSEN 1a1371a166 Testing if ilp build can be achieved easily now on bionic with cmake. 2020-06-01 11:47:52 +02:00
Franck HOUSSEN a38b411291 move fedora up as it's tested first. 2020-06-01 11:27:37 +02:00
Franck HOUSSEN 2ddb03cf46 add sudo. 2020-06-01 11:26:34 +02:00
Franck HOUSSEN a5b0573808 move specific install in 'before_install' section. 2020-05-31 23:23:10 +02:00
Franck HOUSSEN 4e02e69902 TravisCI: use bionic as it's now available ! Dropping docker. 2020-05-31 22:55:01 +02:00
Franck HOUSSEN 8a97c96134 Try to run interface64 job with ubuntu (more stable than debian/testing). 2020-05-31 22:12:32 +02:00
Franck HOUSSEN 984335a15a [BUG FIX - TravisCI]: fix Interface64 job. 2020-05-31 18:58:56 +02:00
Franck HOUSSEN 160b572315 [BUG FIX - Architecture]: arpackdef.h for C/C++, and, arpackicb.h for F77/F90. (#249) 2020-05-31 14:01:20 +02:00
Franck HOUSSEN 07739ac229 pyarpack: improve python module documentation. 2020-03-03 13:18:36 +01:00
Franck HOUSSEN 259a1596a5 pyarpack: improve README documentation. 2020-03-03 13:17:45 +01:00
Franck HOUSSEN 5c988b0f41 [BUG FIX - ICB] iparam/ipntr sizes may change depending on cases. (#247)
* [BUG FIX - ICB] iparam/ipntr sizes may change depending on cases.

>> git grep "integer[ ]*iparam" SRC/*[ae]upd*.f
SRC/cnaupd.f:      integer    iparam(11), ipntr(14)
SRC/cneupd.f:      integer    iparam(11), ipntr(14)
SRC/dnaupd.f:      integer    iparam(11), ipntr(14)
SRC/dneupd.f:      integer    iparam(11), ipntr(14)
SRC/dsaupd.f:      integer    iparam(11), ipntr(11)
SRC/dseupd.f:      integer    iparam(7), ipntr(11)
SRC/snaupd.f:      integer    iparam(11), ipntr(14)
SRC/sneupd.f:      integer    iparam(11), ipntr(14)
SRC/ssaupd.f:      integer    iparam(11), ipntr(11)
SRC/sseupd.f:      integer    iparam(7), ipntr(11)
SRC/znaupd.f:      integer    iparam(11), ipntr(14)
SRC/zneupd.f:      integer    iparam(11), ipntr(14)

>> git grep "integer[ ]*iparam" PARPACK/SRC/MPI/*[ae]upd*.f
PARPACK/SRC/MPI/pcnaupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/pcneupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/pdnaupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/pdneupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/pdsaupd.f:      integer    iparam(11), ipntr(11)
PARPACK/SRC/MPI/pdseupd.f:      integer    iparam(7), ipntr(11)
PARPACK/SRC/MPI/psnaupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/psneupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/pssaupd.f:      integer    iparam(11), ipntr(11)
PARPACK/SRC/MPI/psseupd.f:      integer    iparam(7), ipntr(11)
PARPACK/SRC/MPI/pznaupd.f:      integer    iparam(11), ipntr(14)
PARPACK/SRC/MPI/pzneupd.f:      integer    iparam(11), ipntr(14)

* Kill else.
2020-03-02 22:49:21 +01:00
Franck HOUSSEN 79204e9713 [BUG FIX] configure must be Bourne shell compatible. 2020-03-01 21:58:32 +01:00
Franck HOUSSEN cfdb5f680f pyarpack: python binding based on Boost.Python.Numpy exposing C++ API. (#238)
* pyarpack: python binding based on Boost.Python.Numpy exposing C++ API.

* py3.
2020-02-26 12:32:59 +01:00
Franck HOUSSEN 6b04aa4bcc [BUG FIX] pc and cmake files: accounting for lib64. (#235) 2020-02-19 22:34:42 +01:00
Franck HOUSSEN 5100a99c1a parpack.hpp: don't use complex.h C macros. (#236) 2020-02-19 22:33:59 +01:00