ARCHER logo ARCHER banner

The ARCHER Service is now closed and has been superseded by ARCHER2.

  • ARCHER homepage
  • About ARCHER
    • About ARCHER
    • News & Events
    • Calendar
    • Blog Articles
    • Hardware
    • Software
    • Service Policies
    • Service Reports
    • Partners
    • People
    • Media Gallery
  • Get Access
    • Getting Access
    • TA Form and Notes
    • kAU Calculator
    • Cost of Access
  • User Support
    • User Support
    • Helpdesk
    • Frequently Asked Questions
    • ARCHER App
  • Documentation
    • User Guides & Documentation
    • Essential Skills
    • Quick Start Guide
    • ARCHER User Guide
    • ARCHER Best Practice Guide
    • Scientific Software Packages
    • UK Research Data Facility Guide
    • Knights Landing Guide
    • Data Management Guide
    • SAFE User Guide
    • ARCHER Troubleshooting Guide
    • ARCHER White Papers
    • Screencast Videos
  • Service Status
    • Detailed Service Status
    • Maintenance
  • Training
    • Upcoming Courses
    • Online Training
    • Driving Test
    • Course Registration
    • Course Descriptions
    • Virtual Tutorials and Webinars
    • Locations
    • Training personnel
    • Past Course Materials Repository
    • Feedback
  • Community
    • ARCHER Community
    • ARCHER Benchmarks
    • ARCHER KNL Performance Reports
    • Cray CoE for ARCHER
    • Embedded CSE
    • ARCHER Champions
    • ARCHER Scientific Consortia
    • HPC Scientific Advisory Committee
    • ARCHER for Early Career Researchers
  • Industry
    • Information for Industry
  • Outreach
    • Outreach (on EPCC Website)

You are here:

  • ARCHER
  • User Guides & Documentation
  • Essential Skills
  • Quick Start Guide
  • ARCHER User Guide
  • ARCHER Best Practice Guide
  • Scientific Software Packages
  • UK Research Data Facility Guide
  • Knights Landing Guide
  • Data Management Guide
  • SAFE User Guide
  • ARCHER Troubleshooting Guide
  • ARCHER White Papers
  • Screencast Videos

Contact Us

support@archer.ac.uk

Twitter Feed

Tweets by @ARCHER_HPC

ISO 9001 Certified

ISO 27001 Certified

Adding PLUMED 2 Plugin to Gromacs 5.0.x

These instructions assume that you have downloaded your own copy of the Gromacs source code and unpacked it to a directory identified by the environment variable $GROMACS_TOP. e.g. for the central installation:

export GROMACS_TOP=/work/y07/y07/gmx/5.0.5-phase2-plumed/source

To add PLUMED to Gromacs $GROMACS_TOP must be on the /work filesystem. This is because the MPI version of PLUMED must be used to patch the Gromacs source code and MPI PLUMED will ony run on the compute nodes. As only /work is mounted on the compute nodes, the files to be patched must be on /work also.

As you must run the patch command on the compute nodes, you must run this from within an interactive job. Submit an interactve job on the short queue with (replacing "budget" with your project code):

qsub -IVl select=1,walltime=0:20:0 -q short -A budget

(please note the short queue is only available between 0900 and 1700, Monday to Fridays.) Wait for the job to start. Once it has started move to the GROMACS_TOP directory:

cd $GROMACS_TOP

Setup your environment to patch Gromacs using PLUMED:

module swap PrgEnv-cray PrgEnv-gnu
module load plumed2/2.1.2-gnu

You must set $TMPDIR to point to a location on /work so that the plumed executable can create files:

export TMPDIR=/work/y07/y07/gmx

Apply the PLUMED patch to Gromacs

aprun -n 1 plumed-mpi patch -p

Select the option for Gromacs 5. Once the patch has been applied, finish the interactive job:

exit

Now that Gromacs has been patched, you should rebuild it by following the build instructions for ARCHER.

Copyright © Design and Content 2013-2019 EPCC. All rights reserved.

EPSRC NERC EPCC