build system and maintenance updates
This commit is contained in:
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@ -72,6 +72,8 @@ src/MC/fix_sgcmc.* @athomps
|
||||
src/REAXFF/compute_reaxff_atom.* @rbberger
|
||||
src/KOKKOS/compute_reaxff_atom_kokkos.* @rbberger
|
||||
src/REPLICA/fix_pimd_langevin.* @Yi-FanLi
|
||||
src/DPD-BASIC/pair_dpd_coul_slater_long.* @Eddy-Barraud
|
||||
src/GPU/pair_dpd_coul_slater_long.* @Eddy-Barraud
|
||||
|
||||
# core LAMMPS classes
|
||||
src/lammps.* @sjplimp
|
||||
|
||||
@ -689,7 +689,7 @@ endif()
|
||||
# packages which selectively include variants based on enabled styles
|
||||
# e.g. accelerator packages
|
||||
######################################################################
|
||||
foreach(PKG_WITH_INCL CORESHELL DPD-SMOOTH MC MISC PHONON QEQ OPENMP KOKKOS OPT INTEL GPU)
|
||||
foreach(PKG_WITH_INCL CORESHELL DPD-BASIC DPD-SMOOTH MC MISC PHONON QEQ OPENMP KOKKOS OPT INTEL GPU)
|
||||
if(PKG_${PKG_WITH_INCL})
|
||||
include(Packages/${PKG_WITH_INCL})
|
||||
endif()
|
||||
|
||||
2
src/.gitignore
vendored
2
src/.gitignore
vendored
@ -1704,6 +1704,8 @@
|
||||
/pair_dpd.h
|
||||
/pair_dpd_tstat.cpp
|
||||
/pair_dpd_tstat.h
|
||||
/pair_dpd_coul_slater_long.cpp
|
||||
/pair_dpd_coul_slater_long.h
|
||||
/pair_dpd_ext.cpp
|
||||
/pair_dpd_ext.h
|
||||
/pair_dpd_ext_tstat.cpp
|
||||
|
||||
39
src/DPD-BASIC/Install.sh
Executable file
39
src/DPD-BASIC/Install.sh
Executable file
@ -0,0 +1,39 @@
|
||||
# Install/unInstall package files in LAMMPS
|
||||
# mode = 0/1/2 for uninstall/install/update
|
||||
|
||||
mode=$1
|
||||
|
||||
# enforce using portable C locale
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
|
||||
# arg1 = file, arg2 = file it depends on
|
||||
|
||||
action () {
|
||||
if (test $mode = 0) then
|
||||
rm -f ../$1
|
||||
elif (! cmp -s $1 ../$1) then
|
||||
if (test -z "$2" || test -e ../$2) then
|
||||
cp $1 ..
|
||||
if (test $mode = 2) then
|
||||
echo " updating src/$1"
|
||||
fi
|
||||
fi
|
||||
elif (test -n "$2") then
|
||||
if (test ! -e ../$2) then
|
||||
rm -f ../$1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# list of files with optional dependcies
|
||||
action pair_dpd_coul_slater_long.cpp pppm.cpp
|
||||
action pair_dpd_coul_slater_long.h pppm.h
|
||||
action pair_dpd.cpp
|
||||
action pair_dpd_ext.cpp
|
||||
action pair_dpd_ext.h
|
||||
action pair_dpd_ext_tstat.cpp
|
||||
action pair_dpd_ext_tstat.h
|
||||
action pair_dpd.h
|
||||
action pair_dpd_tstat.cpp
|
||||
action pair_dpd_tstat.h
|
||||
@ -116,6 +116,7 @@ if (test $1 = "KSPACE") then
|
||||
depend CG-SPICA
|
||||
depend CORESHELL
|
||||
depend DIELECTRIC
|
||||
depend DPD-BASIC
|
||||
depend GPU
|
||||
depend KOKKOS
|
||||
depend OPT
|
||||
|
||||
Reference in New Issue
Block a user