~ubuntu-branches/ubuntu/vivid/psicode/vivid

« back to all changes in this revision

Viewing changes to src/lib/libdpd/buf4_axpy.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-06-07 16:49:57 UTC
  • mfrom: (2.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080607164957-8pifvb133yjlkagn
Tags: 3.3.0-3
* debian/rules (DEB_MAKE_CHECK_TARGET): Do not abort test suite on
  failures.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Set ${bindir} to /usr/lib/psi.
* debian/rules (install/psi3): Move psi3 file to /usr/bin.
* debian/patches/07_464867_move_executables.dpatch: New patch, add
  /usr/lib/psi to the $PATH, so that the moved executables are found.
  (closes: #464867)
* debian/patches/00list: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
  for(h=0; h < nirreps; h++) {
32
32
 
33
 
    memoryd = dpd_memfree()/2; /* use half the memory for each buf4 */
 
33
    memoryd = (dpd_memfree()-BufX->file.params->coltot[h^my_irrep])/2; /* use half the memory for each buf4 */
34
34
    if(BufX->params->rowtot[h] && BufX->params->coltot[h^my_irrep]) {
35
35
 
36
36
      rows_per_bucket = memoryd/BufX->params->coltot[h^my_irrep];
48
48
      incore = 1;
49
49
      if(nbuckets > 1) {
50
50
        incore = 0;
51
 
#if 1
 
51
#if DPD_DEBUG
52
52
        fprintf(stderr, "buf4_axpy: memory information.\n");
53
53
        fprintf(stderr, "buf4_axpy: rowtot[%d] = %d\n", h, BufX->params->rowtot[h]);
54
54
        fprintf(stderr, "buf4_axpy: nbuckets = %d\n", nbuckets);