Use hostfile for mpi slots allocation
@@ -33,19 +33,20 @@ test:
- openmpi
files:
- Verlet*.pickle
+ - hostfile
source_files:
- Test
imports:
- asap3
commands:
- - mv Verlet*.pickle Test
+ - cp Verlet*.pickle hostfile Test
- cd Test
- python TestAll.py
- - /usr/bin/sudo -n /usr/bin/yum -y install rsh # [linux]
+ - /usr/bin/sudo -n /usr/bin/yum -y -q install rsh # [linux]
# MPI setup for parallel tests has problems on CircleCI.
# So we test only on OSX for now.
# We still build with OpenMPI on both.
- - mpirun --oversubscribe -np 2 asap-python TestAll.py --parallel
+ - mpirun -np 2 --hostfile hostfile asap-python TestAll.py --parallel
about:
home: https://wiki.fysik.dtu.dk/asap
