diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-17 09:35:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-17 09:35:14 +0000 |
commit | 7cf86277f85ee09f1efdd07a90ecff95f94ac607 (patch) | |
tree | c2fd0ec4e9ed525ccef208adb1b3d45fe1b89cba | |
parent | 58b5c90cccbe0bfff9301d35d0903c6c734a3429 (diff) |
automatic import of lammps
-rw-r--r-- | lammps.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lammps.spec b/lammps.spec index 5c3f64a..c5108b4 100644 --- a/lammps.spec +++ b/lammps.spec @@ -259,10 +259,10 @@ for mpi in '' mpich %{?with_openmpi:openmpi} %{?el7:openmpi3} ; do test -n "${mpi}" && module load mpi/${mpi}-%{_arch} && export PYTHONPATH="${MPI_PYTHON3_SITEARCH}:${PYTHONPATH}" if [ -z "$mpi" ]; then cd build - %ctest %{?testargs} + ctest %{?testargs} else cd build-${mpi} - %ctest %{?testargs} + ctest %{?testargs} fi cd .. test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} && export PYTHONPATH="${old_PYTHONPATH}" |