Compiling Amber on Pete#
This follows the bible (reference manual) !!!
Amber#
In
Programs/sources
, extract AmberTools then Amber
tar xvjf AmberTools[VERSION].tar.bz2
tar xvjf Amber[VERSION].tar.bz2
Go to the
build/
directory
cd build/
Run the script,
./run_cmake
, compiling CPU, MPI, then CUDA.
cmake $AMBER_PREFIX/amber22_src \
-DCMAKE_INSTALL_PREFIX=/scratch/van/.Programs/amber22 \
-DCOMPILER=INTEL \
-DMPI=FALSE -DCUDA=FALSE -DINSTALL_TESTS=FALSE \
-DFORCE_EXTERNAL_LIB=mkl \
-DDOWNLOAD_MINICONDA=FALSE -DBUILD_PYTHON=FALSE \
2>&1 | tee cmake.log
Check if everything is properly linked.
Before we run
make install -j 8
, we’ll build sander first, and test it.
make sander -j 8
Test sander using the source in the AmberTools directory.
If the test went well, go back to the build/
and compile the MPI version.
make sander.MPI -j 8