-
Notifications
You must be signed in to change notification settings - Fork 0
Installing AFINES
To install AFINES, you will need git, make, a C++11 compiler, and boost.
Downloading and compiling AFINES can be done as follows:
git clone https://github.com/Simfreed/AFINES
cd AFINES
git checkout master # or any other branch you want
make network
If everything goes well, there should now be an AFINES binary at bin/afines.
-
Make sure that gcc, intel, or any other compiler is not loaded using modules.
Running which g++ should give /bin/g++. -
Make sure that boost is not loaded using modules.
Running echo $BOOST_ROOT should give a blank line.
The Python bindings for AFINES are currently not mature and severely undocumented. However, as far as I (Chatipat) can tell, they appear to work properly. In addition to the usual dependencies, the Python bindings require cmake and a working installation of Python 2.7 or 3.x. If you are on Midway, install your own Python using Anaconda.
Downloading and compiling AFINES as a Python module can be done as follows:
git clone https://github.com/Chatipat-and-Steven-friendship-forever/AFINES.git
cd AFINES
git checkout chatipat_python
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release # change to -DCMAKE_BUILD_TYPE=Debug for debugging
make pyafines
- Home
- How-To Pages
- Python
- Midway Essentials
- Molecular Dynamics Essentials
- MD Intermediate Skills
- AFINES
- Figure Creation
- Troubleshooting Articles
- [GM4] Only one job runs at a time
- [MD/VMD] "Expected integer but got 08" Error When Running TCL Script
- [Midway] Modules need to be repeatedly loaded/unloaded before they work on a compute node
- [Midway] I accidentally deleted a file!
- [Midway] Help! I've lost write permissions!
- [MD] Mpiexec error prevents simulations from running
- Matplotlib animations don't work on Midway
- Parallel jobs only taking up one node of a multi-node job
- ThinLinc stops working after installing Anaconda