[AMBER] [PATCH 5/8] test/nab: Use paths to scripts

From: Reinis Danne <gam4rei.gmail.com>
Date: Tue, 23 Oct 2012 01:14:58 +0300

From: Reinis Danne <rei4dan.gmail.com>

There is no guarantee that current directory will be in PATH and in
general it shouldn't be.
---
 AmberTools/test/nab/Run.rism_sp  | 2 +-
 AmberTools/test/nab/Run.rism_sp2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/AmberTools/test/nab/Run.rism_sp b/AmberTools/test/nab/Run.rism_sp
index bd8471d..a88bf58 100755
--- a/AmberTools/test/nab/Run.rism_sp
+++ b/AmberTools/test/nab/Run.rism_sp
.. -47,7 +47,7 .. $DO_PARALLEL $cmd --pdb ala.pdb --prmtop ala.parm7 --traj ala.nc \
                   --polarDecomp\
                   --noprogress > rism3d.snglpnt.out || error
 
-checkrism3d -err 1e-6 rism3d.snglpnt.out.check rism3d.snglpnt.out
+./checkrism3d -err 1e-6 rism3d.snglpnt.out.check rism3d.snglpnt.out
 
 awk '{if (NR % 10 == 0) print $0}' quv.1.xyzv > quv.1.xyzv.trunc
 ../dacdif -r 1e-6 quv.1.xyzv.trunc.check quv.1.xyzv.trunc
diff --git a/AmberTools/test/nab/Run.rism_sp2 b/AmberTools/test/nab/Run.rism_sp2
index a2b9521..11da8de 100755
--- a/AmberTools/test/nab/Run.rism_sp2
+++ b/AmberTools/test/nab/Run.rism_sp2
.. -38,7 +38,7 .. $DO_PARALLEL $cmd --pdb ala.pdb --prmtop ala.parm7 --traj ala.crd \
                   --buffer 10 --guv guv.2\
                   --noprogress > rism3d.snglpnt.2.out || error
 
-checkrism3d -err 1e-6 rism3d.snglpnt.2.out.check rism3d.snglpnt.2.out
+./checkrism3d -err 1e-6 rism3d.snglpnt.2.out.check rism3d.snglpnt.2.out
 ../dacdif -a 1e-6 guv.2.O.1.dx.check guv.2.O.1.dx
 ../dacdif -a 1e-6 guv.2.H1.2.dx.check guv.2.H1.2.dx
 ../dacdif -a 1e-6 guv.2.O.3.dx.check guv.2.O.3.dx
-- 
1.7.12.4
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Oct 22 2012 - 15:30:08 PDT
Custom Search