make dependency of CG-DNA on ASPHERE and MOLECULE a hard dependency
This commit is contained in:
@ -305,6 +305,8 @@ pkg_depends(LATBOLTZ MPI)
|
||||
pkg_depends(PHONON KSPACE)
|
||||
pkg_depends(SCAFACOS MPI)
|
||||
pkg_depends(DIELECTRIC KSPACE)
|
||||
pkg_depends(CG-DNA MOLECULE)
|
||||
pkg_depends(CG-DNA ASPHERE)
|
||||
|
||||
# detect if we may enable OpenMP support by default
|
||||
set(BUILD_OMP_DEFAULT OFF)
|
||||
|
||||
@ -311,6 +311,11 @@ rigid-body integrators with improved stability.
|
||||
|
||||
**Author:** Oliver Henrich (University of Strathclyde, Glasgow).
|
||||
|
||||
**Install:**
|
||||
|
||||
The CG-DNA package requires that also the `MOLECULE <PKG-MOLECULE>`_ and
|
||||
`ASPHERE <PKG-ASPHERE>`_ packages are installed.
|
||||
|
||||
**Supporting info:**
|
||||
|
||||
* src/CG-DNA: filenames -> commands
|
||||
|
||||
@ -26,10 +26,25 @@ action () {
|
||||
fi
|
||||
}
|
||||
|
||||
# the CG-DNA package cannot be used without
|
||||
# the MOLECULE and ASPHERE packages installed.
|
||||
|
||||
if (test $1 = 1) then
|
||||
if (test ! -e ../bond_harmonic.cpp) then
|
||||
echo "Must install MOLECULE package with CG-DNA"
|
||||
exit 1
|
||||
fi
|
||||
if (test ! -e ../fix_nve_asphere.cpp) then
|
||||
echo "Must install ASPHERE package with CG-DNA"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# list of files with dependcies
|
||||
|
||||
action atom_vec_oxdna.cpp atom_vec.h
|
||||
action atom_vec_oxdna.h atom_vec.h
|
||||
action atom_vec_oxdna.cpp
|
||||
action atom_vec_oxdna.h
|
||||
action bond_oxdna_fene.cpp bond_fene.h
|
||||
action bond_oxdna2_fene.cpp bond_fene.h
|
||||
action bond_oxrna2_fene.cpp bond_fene.h
|
||||
|
||||
Reference in New Issue
Block a user