Amber on Polaris
What is Amber?
Amber is a suite of biomolecular simulation programs. Amber is distributed in two parts: AmberTools24 and Amber24. Please visit the Amber website for additional information on capabilities and licensing.
Using Amber at ALCF
ALCF offers assistance with building binaries and compiling instructions for Amber. For questions, contact us at [email protected].
Building Amber
The following build instructions can be applied to both free and licensed versions of Amber.
- Download AmberTools24 and Amber24 from Amber website. Note, they are two separate downloads. Copy the tarballs
AmberTools24.tar.bz2
andAmber24.tar.bz2
into a home or project directory (e.g. $HOME/Amber).
-
Download and install the bzip2 library. Insert the
-fPIC
into theCFLAGS
variable in the Makefile and build with installation to a local directory (e.g.make install PREFIX=$HOME/bzip2
). -
Download and install the FFTW3 library, extract the tarball, an rename it as
fftw
. Proceed to build with installation to a local directory (e.g../configure --prefix=$HOME/fftw ; make ; make install
). -
Update user environment to include the newly installed
bzip2
andfftw
and use the GNU programming environment.
$ export PATH="/PATH-TO/bzip2/lib:$PATH"
$ export PATH="/PATH-TO/bzip2:$PATH"
$ export PATH="/PATH-TO/bzip2/include:$PATH"
$ export PATH="/PATH-TO/fftw:$PATH"
$ export PATH="/PATH-TO/fftw/lib:$PATH"
$ export PATH="/PATH-TO/fftw/include:$PATH"
$ module use /soft/modulefiles
$ module load PrgEnv-gnu/8.5.0
$ module load cudatoolkit-standalone/12.4.0
- Proceed with building Amber binaries by first modifying
run_cmake
and setting the following. - -DMPI=TRUE
- -DCUDA=TRUE
- -DCOMPILER=MANUAL
- -DDISABLE_TOOLS=FEW
- -DCMAKE_C_COMPILER=gcc-12
- -DCMAKE_CXX_COMPILER=g++-12
- -DCMAKE_Fortran_COMPILER=gfortran-12
All Amber binaries will be installed to the amber24
folder.