Commit Graph
352 Commits
Author SHA1 Message Date
Franck HOUSSEN 2d969e902d [CLEAN] Run MPI tests with "mpirun -n 2". (#152) 2018-09-15 17:46:24 +02:00
Franck HOUSSEN 5872987e67 [BUG FIX] howmny is defined as character*1 in pdseupd subroutine. (#153)
Cosmetic bug ("safer" way to get same thing).
2018-09-15 17:38:27 +02:00
Franck HOUSSEN bbb87ba0ff Fix issue 144. Add -fdefault-integer-8/-i8 in FCFLAGS. (#147) 2018-09-15 17:36:42 +02:00
Franck HOUSSEN 78d781286a stat: initialize common block. (#148)
* stat: initialize common block.

* Move debug_init.f90/stat_init.f90 to dbgini.f/staini.f.

In cases where one has 2 fortran compilers (F77+F90), the reference code
base and (missing) related common initialisations will be compiled
consistently by the same (F77) compiler. F90 will handle ICB (f2003-f2008)
that could not be compiled by F77.

Note: in F77, code starts at col 7, continuation line with & at col 6,
length line is limited, names must be smaller than 7 chars (no underscore).

* [BUG FIX] compile dbgini.f staini.f with AND without ICB.
2018-09-15 17:35:57 +02:00
Franck HOUSSEN 3829c449c0 Add missing test binaries in gitignore. (#151) 2018-09-15 17:35:12 +02:00
Franck HOUSSEN b7ce7debe5 [BUG FIX] When using *zneupd, sigma is complex. (#154)
Cosmetic bug ("better" way to get same thing - without this, sigma which
is used as an input, is implicitely converted from real to complex. Same
thing for the callee, but more "logical" for the caller).
2018-09-15 17:31:35 +02:00
caliarim 31854cadaf Give up forcing the initial residual to be in the range of the operator OP after a restart (Closes: #142). (#143) 2018-08-07 19:00:50 +02:00
Sylvestre Ledru deb35559a6 Improve the changelog 3.6.2 2018-07-22 17:39:33 +02:00
Franck HOUSSEN cdfb08aac2 Travis-CI: use jobs (easier to check out what's wrong). (#138) 2018-06-30 22:43:31 +02:00
Franck HOUSSEN f532cc06a1 Various improvement on build systems
* [CLEAN] ICB saves you from old-fashion-boring-cumbersome-fortran/C crap...

* Run old-fashion cubersome Fortan/C tests only if ICB=OFF.
Getting them to work with BOTH ICB=ON/OFF would be adding tricky-messy
to already cubersome-crappy black magic...

Note that icb_arpack_c test (ICB=ON) do the same than bug_1315_*
tests (ICB=OFF): icb_arpack_c was initially a copy of bug_1315_*.
In the end, you don't loose anything (same functional coverage).
2018-06-29 11:41:41 +02:00
Franck HOUSSEN c61bb2c16a Clean (#136)
* [CLEAN] always define ICB.

* [BUG FIX] Can't call AC_PROG_CXX conditionally.
https://lists.gnu.org/archive/html/bug-automake/2002-11/msg00020.html

* [BUG FIX] ICB: set default value.

* Check options are set as expected.
Note: before previous fix, options were NOT set correctly !...
2018-06-26 17:35:32 +02:00
Franck HOUSSEN eb9d23dd3f Add configuration summary. (#135) 2018-06-26 14:51:14 +02:00
Franck HOUSSEN 68a420889c [BUG FIX] Missing include. (#134) 2018-06-26 14:18:35 +02:00
Franck HOUSSEN 277a6c8cfe C++11 (for ICB): do NOT use hard-coded gnu++11. (#133) 2018-06-25 21:38:48 +02:00
Sylvestre Ledru 2fede344e2 Update the changes file 2018-06-24 09:14:08 +02:00
Franck HOUSSEN e7e50bbc1b Auto-generated pc/cmake files: headers in dedicated files. 2018-06-24 09:12:41 +02:00
Franck HOUSSEN a4eaab6952 Revert " * Rename debug.h to debug-arpack.h to avoid collision (Closes #126)"
This reverts commit a48e17f7af.
2018-06-24 09:12:41 +02:00
Franck HOUSSEN 7a123870b2 Fix issue#130 for autotools. 2018-06-24 09:12:41 +02:00
Franck HOUSSEN e74e01dfc6 Fix issue#130 for cmake. 2018-06-24 09:12:41 +02:00
Sylvestre Ledru 9db8c86fdf fix some typos 2018-06-23 15:17:57 +02:00
Sylvestre Ledru 7f7c6fd93d Remove all trailing whitespaces 2018-06-23 15:17:57 +02:00
Sylvestre Ledru 26b936ba17 add the bug number 3.6.1 2018-06-23 09:58:36 +02:00
Sylvestre Ledru a48e17f7af * Rename debug.h to debug-arpack.h to avoid collision (Closes #126) 2018-06-23 09:54:52 +02:00
Sylvestre Ledru 63bde34786 fix a regression 2018-06-09 18:29:52 +02:00
Ruslan Kabatsayev 449dc71690 Fix C and C++ bindings for PARPACK 2018-06-09 18:28:12 +02:00
Ruslan Kabatsayev a50b68b48d Extend C++ test to also include double, not only float 2018-06-09 18:28:12 +02:00
Ruslan Kabatsayev ccd45494a8 Synchronize C++ bindings with the fixed C bindings
This no longer includes a tweaked copy of arpack.h. Maintaining both
sets of prototypes separately is too much manual labor.
2018-06-09 18:28:12 +02:00
Ruslan Kabatsayev 6194e09c65 Fix correctness of C bindings
Main problems found in the original version are:
I. C vs iso_c_binding:
    1. Mismatch between float complex and float parameters in C prototypes and
    icba*.f90 files
    2. Mismatch between passing of some arguments by pointer vs by value
II. iso_c_binding vs Fortran:
    1. Mismatch between real and complex parameters
    2. Wrong intent for 'workev'

These problems lead to UB, which, in particular, resulted in test
crashes on i686 targets. This patch fixes them.
2018-06-09 18:28:12 +02:00
Darcy Beurle 390a4457cf Update contribution 3.6.0 2018-06-04 16:52:54 +02:00
Darcy Beurle 9c9affa982 External "C" for .h file incase we have pre c++11 2018-06-04 16:52:54 +02:00
Darcy Beurle 2333f73976 Parpack bindings modernised 2018-06-04 16:52:54 +02:00
ypnos 278774b072 Add includedir to pkg-config file
Without this line, pkg-config 0.29.2 refuses to parse the arpack.pc file:

# pkg-config --libs arpack
Variable 'includedir' not defined in '/usr/lib/pkgconfig/arpack.pc'
2018-05-29 11:41:34 -07:00
Darcy Beurle d5153b941f Remove last comment 2018-05-22 14:43:00 +02:00
Darcy Beurle 34a81d09fb Remove _c and dead comments. Apply formatting. 2018-05-22 14:43:00 +02:00
Denis Davydov 834c9c53e3 add missing header (#120) 2018-05-22 14:41:27 +02:00
Darcy Beurle 079ca38ee6 Update CHANGES (#118) 2018-05-21 11:40:47 +02:00
Darcy Beurle 74784a5309 Add C++11 interface (#117) 2018-05-21 10:31:12 +02:00
Darcy Beurle d7deefda82 Add clang-format using the Google coding style (#116) 2018-05-20 23:31:47 +02:00
Sylvestre Ledru 534d6272d8 Merge pull request #113 from dbeurle/master
Test C++11 support on travis for autotools
2018-04-18 22:47:07 +02:00
Darcy Beurle 69f5411c1c Test C++11 support on travis for autotools 2018-04-18 22:32:47 +02:00
Sylvestre Ledru 9f6945657c Merge pull request #112 from dbeurle/master
Provide extern "C" when using C++ compiler for the C bindings
2018-04-18 22:00:55 +02:00
Darcy Beurle 33024f7d78 Provide extern "C" when using C++ compiler for the C bindings 2018-04-18 21:49:10 +02:00
Sylvestre Ledru 39258b58d4 Merge pull request #109 from fghoussen/icb_stat
iso_c_binding: add statistics support.
2018-04-12 16:54:17 +02:00
Sylvestre Ledru f686312826 Merge pull request #111 from fghoussen/cmake
[BUG FIX] CMake: test names should be different from exe names.
2018-04-12 16:46:56 +02:00
Franck HOUSSEN 9ffcb48193 [BUG FIX] CMake: test names should be different from exe names. 2018-04-12 16:03:05 +02:00
Sylvestre Ledru 194be499be Merge pull request #110 from fghoussen/cmake
CMake: merge "make test" and "make check"
2018-04-12 15:51:59 +02:00
Franck HOUSSEN 4db49c4687 CMake: kill "make check" as it's fully covered by "make test".
make check (autotools way) <=> make test ARGS="-V" (cmake way).
2018-04-12 13:16:22 +02:00
Franck HOUSSEN aaa357d96d CMake: get 100% tests OK when running "make test".
Kill EXCLUDE_FROM_ALL. Test name != executable name.
2018-04-12 13:09:14 +02:00
Franck HOUSSEN b521af291d iso_c_binding: README.md. 2018-04-11 18:40:43 +02:00
Franck HOUSSEN d67b323399 iso_c_binding: add statistics support. 2018-04-09 17:54:03 +02:00