diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-17 13:43:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-17 13:43:10 +0000 |
commit | 1773ec5f7c01ca8338fbff206e85403760e2155b (patch) | |
tree | 006d807b95ac832f54614d854e91b3ae8702ef46 | |
parent | b0033d7184685d749caf984971bad78e9b6c8b86 (diff) |
automatic import of lammps
-rw-r--r-- | lammps.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lammps.spec b/lammps.spec index b0fbea3..0ff9df9 100644 --- a/lammps.spec +++ b/lammps.spec @@ -215,7 +215,7 @@ for mpi in '' mpich %{?with_openmpi:openmpi} ; do -DCMAKE_INSTALL_BINDIR=${MPI_BIN:-%{_bindir}} -DCMAKE_INSTALL_LIBDIR=${MPI_LIB:-%{_libdir}} -DLAMMPS_MACHINE="${MPI_SUFFIX#_}" -DLAMMPS_LIB_SUFFIX="${MPI_SUFFIX#_}" -DCMAKE_INSTALL_MANDIR=${MPI_MAN:-%{_mandir}} \ ${mpi:+-DBUILD_MPI=ON -DFFT_USE_HEFFTE=ON -DCMAKE_EXE_LINKER_FLAGS="%{__global_ldflags} -Wl,-rpath -Wl,${MPI_LIB} -Wl,--enable-new-dtags" -DCMAKE_SHARED_LINKER_FLAGS="%{__global_ldflags} -Wl,-rpath -Wl,${MPI_LIB} -Wl,--enable-new-dtags" $(test "$mpi" != openmpi || echo "-DMPIEXEC_PREFLAGS=--oversubscribe") } \ $(test -z "${mpi}" && echo -DBUILD_MPI=OFF -DBUILD_LAMMPS_SHELL=ON -DBUILD_TOOLS=ON) - cmake --build . -j64 + cmake --build . -j8 test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} cd .. done |