mirror of
https://github.com/openmm/openmm
synced 2026-06-03 06:39:48 +09:00
* Use PocketFFT instead of FFTW * Minor cleanup * Use PocketFFT instead of fftpack for reference platform * Remove FFTW as a dependency * Converted a test case to use PocketFFT * Fixed an incorrect comment
33 lines
893 B
Bash
Executable File
33 lines
893 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Prepare for build by ensuring necessary prerequisites are locally installed.
|
|
|
|
# Set relative workspace path.
|
|
export WORKSPACE=`pwd`
|
|
|
|
# Install miniconda
|
|
export VERSION="latest"
|
|
export PLATFORM="Linux"
|
|
export ARCH="x86_64"
|
|
export MINICONDA="Miniconda3-$VERSION-$PLATFORM-$ARCH.sh"
|
|
if [ -f miniconda ];
|
|
then
|
|
echo "miniconda already exists"
|
|
else
|
|
echo "Downloading miniconda..."
|
|
rm -rf Miniconda-* miniconda ~/.condarc
|
|
wget --quiet https://repo.continuum.io/miniconda/${MINICONDA}
|
|
bash ${MINICONDA} -b -p miniconda
|
|
PIP_ARGS="-U"
|
|
fi
|
|
|
|
# Add to path.
|
|
export PATH=$WORKSPACE/miniconda/bin:$PATH
|
|
|
|
# Workaround for missing libgcrypt
|
|
yum install -y libgcrypt
|
|
|
|
# Ensure configuration is up to date.
|
|
conda config --add channels omnia
|
|
conda install --yes --quiet swig pip doxygen sphinx sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen lxml cmake
|