1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-30 00:44:52 +02:00
Commit Graph

96 Commits

Author SHA1 Message Date
60ef0dc7a6 Redesign walkers 2022-08-07 15:28:00 +02:00
3cbe893a8a Final modifications in the Guix manifest
Added SWIG input to make the dev build pass, otherwise the installation of the python_DATA files fails. This has to be fixed in the upstream build system!
2022-07-28 13:00:25 +02:00
26f8a1b906 Adapt htmlize installer for the case of existing git submodule 2022-07-28 12:02:18 +02:00
fe9050c29b Add manifests for Guix packages 2022-07-27 20:57:20 +02:00
b33d6e523d Replace python2 with general python 2022-07-27 19:48:24 +02:00
85a0d48557 Drop the use of git command to get data files 2022-07-27 19:30:43 +02:00
e08456bd61 Introduced write_provider org functions 2022-07-09 13:11:20 +02:00
5ecb1d6326 Faster AOs 2022-03-21 18:32:39 +01:00
2ffcf25492 Out of source build 2022-02-17 23:40:44 +01:00
dcb392c0af Swap indices 1..5 with points in AOs/MOs 2022-02-11 16:07:25 +01:00
f7ce203db7 Fix makefiles 2022-01-08 16:04:04 +01:00
1b24d12fbb Fixed install in Makefile 2022-01-07 14:22:23 +01:00
53e2e7bb05 All tests pass without trexio 2022-01-06 02:28:13 +01:00
5b6404db92 Cleaned AO file 2022-01-05 19:25:51 +01:00
1be1a99529 Documentation of Aos 2022-01-05 15:56:25 +01:00
Evgeny Posenitskiy
12fc6533da
Fix TREXIO installation in the Verificarlo workflow (#55)
* specify CC and FC at configure time

* use verificarlo-c instead of verificarlo-f

* install TREXIO in ci_install.sh script

* use GNU compiler instead of verificarlo ones to build TREXIO

* install BLAS and LAPACK due to the recent change in configure of QMCkl

* Fix QMCkl pre-build issue

* move TREXIO installation back to .yml file and downgrade to v.1.1.0

* formatting .yml
2021-12-14 10:43:36 +01:00
e45325e25a Fixing tests 2021-11-25 15:48:53 +01:00
e505f991df Fixed generated.mk 2021-11-25 15:46:42 +01:00
18a2af8025 Fix tests 2021-11-25 15:29:47 +01:00
0c2ea40593 configure fixed in other directory 2021-11-17 17:41:21 +01:00
970026c9a6 Removed QMCKL_DEVEL=1 in configure 2021-11-01 09:55:51 +01:00
cc4382997a Improved autoconf scripts 2021-10-28 17:58:15 +02:00
08f13d29b4 Cleaning tangle 2021-10-14 21:39:08 +02:00
4a3a169e03 Less verbose output when tangling 2021-10-14 19:53:00 +02:00
c4467abb28 Merge branch 'master' into trexio 2021-10-14 10:52:35 +02:00
4e36bba278 Fixed distcheck with updated trexio 2021-10-14 10:50:51 +02:00
6afb78429a Added new test 2021-10-13 10:10:09 +02:00
vijay
ccd179397b
Merge branch 'master' into master 2021-10-11 10:07:59 +02:00
71ad7abb7f Fixed #40 2021-10-06 10:35:43 +02:00
6d19d416fa
Merge branch 'master' into master 2021-10-06 09:34:45 +02:00
vijay
61751c307f
Merge branch 'master' into ao_mo_vj 2021-09-15 11:21:21 +02:00
v1j4y
eeaee39acd Removed RETURN blocks from lib to avoid dead code. 2021-09-14 12:05:10 +02:00
v1j4y
ec9d5d23a2 Bug fix for get_value lisp function. 2021-09-14 09:56:31 +02:00
Pablo de Oliveira Castro
7a082a44eb
Merge branch 'master' into master 2021-09-13 08:16:33 +02:00
v1j4y
a41c67b94f Working on qmckl_dgemm. 2021-09-07 16:36:26 +02:00
Aurelien Delval
5e18523274 Properly comment qmckl_probes
Add comment to explicit the use of qmckl_probes and provide a link to
Verificarlo's documentation
2021-08-26 09:50:05 +00:00
Aurelien Delval
26ca2d3907 Modify behaviour of QMCkl probes when VFC_CI is disabled
Now, probes witth absolute check and relative checks perform the
verification with the expected/actual value as expected and returns a
boolean to indicate the result.
2021-08-20 15:11:28 +00:00
PurplePachyderm
f59a6385ee Correctly wrap qmckl_dump_probes in preprocessor guard 2021-08-19 12:47:50 +02:00
vijay
3f4ace0425
Merge branch 'master' into sherman-morrison-woodbury 2021-07-23 15:08:31 +02:00
Aurélien Delval
68dc374422 Merge branch 'master' of https://github.com/TREX-CoE/qmckl into TREX-CoE-master 2021-07-23 12:27:18 +02:00
Aurélien Delval
145f4fba40
Add the qmckl_probes interface (#2)
* comment

* Update distance test code

The distance test has been updated to the latest version, with a first attempt at using vfc_probes inside it

* Functional implementation of vfc_probes in the distance tests

This commit has the first functional vfc_ci tests. Verificarlo tests
should be written over the existing tests, and they can be enabled with
the following configure command:

QMCKL_DEVEL=1 ./configure --prefix=$PWD/_install --enable-maintainer-mode --enable-vfc_ci CC="verificarlo-f -Mpreprocess -D VFC_CI" FC="verificarlo-f -Mpreprocess -D VFC_CI" --host=x86_64

The --enable-vfc_ci flag will trigger the linking of the vfc_ci
library. Moreover, as of now, the "-Mpreprocess" and "-D VFC_CI" flags
have to be specified directly here. There is probably an appropriate
macro to place those flags into but I couldn't find it yet, and could
only manage to build the tests this way.

When the VFC_CI preprocessor is defined, somme additional code to
register and export the test probes can be executed (see
qmckl_distance.org).

As of now, the tests are built as normal, even though they are expected
to fail :

make all
make check

From there, the test_qmckl_distance (and potentially the others)
executable can be called at will. This will typically be done
automatically by vfc_ci, but one could manually execute the executable
by defining the following env variables :

VFC_PROBES_OUTPUT="test.csv" VFC_BACKENDS="libinterflop_ieee.so"

depending on the export file and the Verificarlo backend to be used.

The next steps will be to define more tests such as this one, and to
integrate them into a Verificarlo CI workflow (by writing a
vfc_tests_config.json file and using the automatic CI setup
command).

* Error in FOrtran interface fixed

* Added missing Fortran interfaces

* Modify distance test and install process integration

All probes are now ignored using only the preprocessor (instead
of checking for a facultative argument) in the distance test.
Moreover,preprocessing can now be enabled correctly using FCFLAGS
(the issue seemed to come from the order of the arguments passed
to gfortran/verificarlo-f with the preprocessor arg having to come
first).

* Add vfc_probes to AO tests

vfc_probes have been added to qmckl_ao.org in the same way as
qmckl_distance.org, which means that it can be enabled or disabled at
compile time using the --enable-vfc_ci option.

qmckl_distance.org has been slightly modified with a better indentation,
and configure.ac now adds the "-D VFC_CI" flag to CFLAGS when vfc_ci is
enabled.

* Start work on the vfc tests config file and on a probes wrapper

The goal in the next few commits is to make the integration of
vfc_probes even easier by using a wrapper to vfc_probe dedicated to
qmckl. This will make it easier to create a call to vfc_probe that can be
ignored if VFC_CI is not defined in the preprocessor. Once this is done,
the integration will be completed by trying to create an actual workflow
to automatically build the library and execute CI tests.

* Moved qmckl_probes out of src

As of now, qmckl_probes have been moved to tools, and can be built via a
bash script. This approach seems to make more sense, as this should not
be a part of the library itself, but an additional tool to test it.

* Functional Makefile setup to enable qmckl_probes

The current setup builds qmck_probes by adding it to the main QMckl
libray (by adding it to the libtool sources). The Fortran interface's
module still need to be compiled separately.

TODO : Clean the build setup, improve integration in qmckl_tests and
update tests in qmckl_ao with the new syntax.

* New probes syntax in AO tests

* Clean the probes/Makefile setup

The Fortran module is now built a the same time than the main library.
The commit also adds a few fixes in the tests and probes wrapper.

Co-authored-by: Anthony Scemama <scemama@irsamc.ups-tlse.fr>
2021-07-23 12:01:14 +02:00
Pablo de Oliveira Castro
e5806e676b
Make sure qmckl.h can be imported from C++ (#26)
When qmckl.h is included in a C++ file wrap the definitions in
an extern "C" block to avoid mangling.
2021-07-23 09:02:25 +02:00
vijay gopal chilkuri
dce8cad154 Modified autogen functions to incorporate unsigned. #25 2021-07-19 18:24:19 +02:00
75a93d12c6 Added AO polynomials 2021-07-12 15:04:21 +02:00
vijay gopal chilkuri
0df816c0ba Finished ee_deriv_e. #20 2021-07-06 12:57:14 +05:30
vijay gopal chilkuri
ad824d0f71 Renamed test file to n2 and fixed a few bugs. #162 2021-07-05 14:37:09 +05:30
vijay gopal chilkuri
25b30382dc Modified library function. #20 2021-06-23 15:08:38 +05:30
6b2c188475 Computation of shells 2021-06-22 23:33:09 +02:00
eb09d47bc0 Fixing Actions 2021-06-03 01:50:51 +02:00
36293d892e Clean configure 2021-06-03 01:32:50 +02:00