Commit Graph
333 Commits
Author SHA1 Message Date
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
Sylvestre Ledru 18e6709a2b Merge pull request #107 from fghoussen/icb_dbg
iso_c_binding: add debug support.
2018-04-08 14:27:06 +02:00
Sylvestre Ledru 87178d7ce1 Merge pull request #108 from fghoussen/ignore
Add bug_79_double_complex in .gitignore.
2018-04-08 10:39:34 +02:00
Franck HOUSSEN 76b5c5017a Initialize debug common block with "block data" (at Fortran side). 2018-04-08 10:37:02 +02:00
Franck HOUSSEN 2652660765 [BUG FIX] : debug.h should always be installed. 2018-04-07 22:44:57 +02:00
Franck HOUSSEN 5829df36a7 Add bug_79_double_complex in .gitignore. 2018-04-07 21:56:03 +02:00
Franck HOUSSEN be538c87c2 Revert "Move init debug common block from debug_icb.f90 to debug.h : this way you"
This reverts commit 22d1b3b0b5.
2018-04-07 17:21:38 +02:00
Franck HOUSSEN 22d1b3b0b5 Move init debug common block from debug_icb.f90 to debug.h : this way you
should benefit from that whatever you use (or not !) icb.
2018-04-07 17:16:09 +02:00
Franck HOUSSEN 64f3c1b8dc Initialisation of the debug common block to "no debug". 2018-04-07 17:04:39 +02:00
Franck HOUSSEN a9c71f3180 iso_c_binding : debug - stupid coverage....
CI fails because of -0.2% coveralls reg + noticed that cnappas.f and
friend are NOT fully covered => turn ALL flags to 1 hoping this will
get back a +0.2% coverage...
2018-04-07 16:53:36 +02:00
Franck HOUSSEN 533b9487b0 iso_c_binding : debug - cosmetic changes hoping the coverage
will get back from 69.8 to 70 % !...
2018-04-07 16:16:49 +02:00
Franck HOUSSEN 40ed22e42f iso_c_binding: debug - examples with and without debug traces. 2018-04-06 22:25:50 +02:00
Franck HOUSSEN 449ae6b95a iso_c_binding: add debug support. 2018-04-05 18:47:35 +02:00
Sylvestre Ledru ececcc167b Merge pull request #106 from fghoussen/cmake
CMake: cmake files install.
2018-04-05 15:25:29 +02:00
Franck HOUSSEN 2ed9d33a13 CMake: cmake files install.
find_package files (*.cmake) stand for pkg-config files (*.pc).
pc files are supposed to be installed in local/lib/pkgconfig.
cmake files are supposed to be installed in local/lib/cmake.
2018-04-05 10:31:02 +02:00
Sylvestre Ledru edce634363 Merge pull request #105 from luzpaz/misc-typos
Misc. typos
2018-04-04 09:05:17 +02:00
luz.paz 442e2ee534 Misc. typos
Found via `codespell -q 3`
2018-04-03 18:46:31 -04:00
Sylvestre Ledru 431d45b5a2 update of the makefile as the readme as be renamed 2018-03-26 00:41:48 +02:00
Sylvestre Ledru 5360fb7885 Fix the syntax 2018-03-26 00:31:57 +02:00
Sylvestre Ledru f3974f9720 Update of the doc to use markdown 2018-03-26 00:28:40 +02:00