~ubuntu-branches/ubuntu/saucy/nwchem/saucy

« back to all changes in this revision

Viewing changes to src/util/util_ga_test.F

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2012-02-09 20:02:41 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120209200241-jgk03qfsphal4ug2
Tags: 6.1-1
* New upstream release.

[ Michael Banck ]
* debian/patches/02_makefile_flags.patch: Updated.
* debian/patches/02_makefile_flags.patch: Use internal blas and lapack code.
* debian/patches/02_makefile_flags.patch: Define GCC4 for LINUX and LINUX64
  (Closes: #632611 and LP: #791308).
* debian/control (Build-Depends): Added openssh-client.
* debian/rules (USE_SCALAPACK, SCALAPACK): Removed variables (Closes:
  #654658).
* debian/rules (LIBDIR, USE_MPIF4, ARMCI_NETWORK): New variables.
* debian/TODO: New file.
* debian/control (Build-Depends): Removed libblas-dev, liblapack-dev and
  libscalapack-mpi-dev.
* debian/patches/04_show_testsuite_diff_output.patch: New patch, shows the
  diff output for failed tests.
* debian/patches/series: Adjusted.
* debian/testsuite: Optionally run all tests if "all" is passed as option.
* debian/rules: Run debian/testsuite with "all" if DEB_BUILD_OPTIONS
  contains "checkall".

[ Daniel Leidert ]
* debian/control: Used wrap-and-sort. Added Vcs-Svn and Vcs-Browser fields.
  (Priority): Moved to extra according to policy section 2.5.
  (Standards-Version): Bumped to 3.9.2.
  (Description): Fixed a typo.
* debian/watch: Added.
* debian/patches/03_hurd-i386_define_path_max.patch: Added.
  - Define MAX_PATH if not defines to fix FTBFS on hurd.
* debian/patches/series: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
c $Id: util_ga_test.F,v 1.2 2007-10-30 18:15:34 d3p307 Exp $
 
1
c $Id: util_ga_test.F 21315 2011-10-27 22:58:38Z d3p852 $
2
2
c vector boxes lack arithmetic precision 
3
3
#ifdef CRAY_YMP
4
4
# define THRESH 1d-10
19
19
      implicit none
20
20
#include "mafdecls.fh"
21
21
#include "global.fh"
22
 
#ifdef NO_UTIL_TESTS
23
 
      if (ga_nodeid() .eq. 0) then
24
 
        write(6,*) "util_test is disabled"
25
 
      endif
26
 
      return
27
 
      end
28
 
#else
29
22
#include "testutil.fh"
30
23
      integer heap, stack, fudge, ma_heap, me, nproc
31
24
      logical status
1293
1286
c     
1294
1287
         nwords = nwords + (ihi-ilo+1)*(jhi-jlo+1)
1295
1288
c
1296
 
         call util_ifill(n*n, 0.0d0, b, 1)
 
1289
         call util_ifill(n*n, 0, b, 1)
1297
1290
         call ga_get(g_a, ilo, ihi, jlo, jhi, b(ilo, jlo), n)
1298
1291
c
1299
1292
         sum1 = 0.0d0
2332
2325
 
2333
2326
 
2334
2327
      integer function iran(i)
 
2328
      implicit none
 
2329
      double precision util_drand
 
2330
      external util_drand
2335
2331
      integer i
2336
2332
      iran = int(util_drand(0)*dfloat(i))+1
2337
2333
      return
2338
2334
      end
2339
 
#endif