[SCM] LAMMPS Molecular Dynamics Simulator branch, master, updated. upstream/20120221.git18e3637-28-g3fd3392
Anton Gladky
gladky.anton at gmail.com
Tue Mar 6 19:04:09 UTC 2012
The following commit has been merged in the master branch:
commit c2d8e831aea2e11de5746f4b0530b4e1c301821f
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Tue Mar 6 20:03:01 2012 +0100
Enable auto-test.
diff --git a/debian/rules b/debian/rules
index 883bac2..4293056 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export OMPI_MCA_plm_rsh_agent=/bin/false #workaround to start MPI-applications in chroot
+
%:
dh $@ --parallel
@@ -11,3 +13,11 @@ override_dh_auto_build:
cd src; make openmpi
mv src/lmp_openmpi src/lammps
chmod 644 examples/USER/sph/shock_tube/shock2d.lmp
+
+override_dh_auto_test:
+ mkdir test; cp examples/crack/* test/
+ cd test; ./../src/lammps < in.crack || true
+ rm -rf test
+ mkdir test; cp examples/crack/* test/
+ cd test; mpirun -np 2 ./../src/lammps < in.crack || true
+ rm -rf test
--
LAMMPS Molecular Dynamics Simulator
More information about the debian-science-commits
mailing list