mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-11-03 20:54:08 +01:00
Merge pull request #1 from pablooliveira/qmckl_integration
Fix linking problem against libqmckl
This commit is contained in:
commit
4f29412bbb
@ -2,7 +2,11 @@
|
|||||||
#include "hdf5/serial/hdf5.h"
|
#include "hdf5/serial/hdf5.h"
|
||||||
|
|
||||||
#include "Helpers.hpp"
|
#include "Helpers.hpp"
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
#include "qmckl.h"
|
#include "qmckl.h"
|
||||||
|
}
|
||||||
|
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -86,13 +90,13 @@ int test_cycle(H5::H5File file, int cycle, std::string version, double tolerance
|
|||||||
// const uint64_t cdim = dim;
|
// const uint64_t cdim = dim;
|
||||||
// const uint64_t cnupdates = nupdates;
|
// const uint64_t cnupdates = nupdates;
|
||||||
// const uint64_t* ccol_update_index = col_update_index;
|
// const uint64_t* ccol_update_index = col_update_index;
|
||||||
// const double* cu = u;
|
// const double* cu = u;
|
||||||
// rc = qmckl_sherman_morrison_c(
|
// rc = qmckl_sherman_morrison_c(
|
||||||
// context,
|
// context,
|
||||||
// cdim,
|
// cdim,
|
||||||
// cnupdates,
|
// cnupdates,
|
||||||
// cu,
|
// cu,
|
||||||
// ccol_update_index,
|
// ccol_update_index,
|
||||||
// slater_inverse_nonpersistent);
|
// slater_inverse_nonpersistent);
|
||||||
const uint64_t Dim = 2;
|
const uint64_t Dim = 2;
|
||||||
const uint64_t N_updates = 2;
|
const uint64_t N_updates = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user