GROMACS is versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.

It is primarily designed for biochemical molecules like proteins, lipids and nucleic acids that have a lot of complicated bonded interactions, but since GROMACS is extremely fast at calculating the non-bonded interactions (that usually dominate simulations) many groups are also using it for research on non-biological systems, e.g. polymers.


To install this portlet the WAR file has to be deployed into the application server.

As soon as the portlet has been successfully deployed on the Science Gateway the administrator has to configure:

  • the list of e-Infrastructures where the application can be executed;
  • some additional application settings.

1.) To configure a generic e-Infrastructure, the following settings have to be provided:

Enabled: A true/false flag which enables or disable the generic e-Infrastructure;

Infrastructure: The acronym to reference the e-Infrastructure;

VOName: The VO for this e-Infrastructure;

TopBDII: The Top BDII for this e-Infrastructure;

WMS Endpoint: A list of WMS endpoint for this e-Infrastructure (max. 10);

MyProxyServer: The MyProxyServer for this e-Infrastructure;

eTokenServer: The eTokenServer for this e-Infrastructure;

Port: The eTokenServer port for this e-Infrastructure;

Serial Number: The MD5SUM of the robot certificate to be used for this e-Infrastructure;

WebDAV: The EMI-3 DPM Grid Storage Element, with WebDAV interface, to be used for this e-Infrastructure;

In the following figure is shown how the portlet has been configured to run simulation on the EUMEDGRID-Support e-Infrastructure.


2.) To configure the application, the following settings have to be provided:

AppID: The ApplicationID as registered in the UserTracking MySQL database (GridOperations table);

Log Level: The log level for the application (e.g.: INFO or VERBOSE);

Metadata Host: The Metadata hostname where download/upload digital-assets (e.g.;

Software TAG: The list of software tags requested by the application;

SMTP Host: The SMTP server used to send notification to users;

Sender: The FROM e-mail address to send notification messages about the jobs execution to users;

In the figure below is shown how the application settings have been configured to run on the CHAIN-REDS Science Gateway.



To run a molecular dynamic simulation with GROMACS the user has to:

  • click on the third accordion of the portlet,
  • select the GROMACS release to use (e.g. v4.6.5 or v5.0.4),
  • upload the input macro file (.tpr).

For demonstrative use cases, the user can also click on ‘Run demo’ check-box and execute a simulation with some pre-configured inputs.

Each molecular dynamic simulation will produce:

  • std.txt: the standard output file;
  • std.err: the standard error file;
  • gromacs.log: the application log file;
  • some additional log files;
  • .tar.gz: the application results available through the gLibrary Metadata Server.

A typical simulation produces, at the end, the following files:

]$ tree GROMACSSimulationStarted_147118/
├── curl.log
├── env.log
├── gromacs.log
├── output.README
├── std.err
└── std.txt

To inspect GROMACS log files:

  • navigate the digital repository for the application clicking [ here ];
  • select the digital assets of any interest for downloading as shown in the figure below:


  • CHAIN-REDS Conference: “Open Science at the Global Scale: Sharing e-Infrastructures, Sharing Knowledge, Sharing Progress” – March 31, 2015 – Brussels, Belgium [1];


Please feel free to contact us any time if you have any questions or comments.


Giuseppe LA ROCCA - Italian National Institute of Nuclear Physics (INFN),

Mario TORRISI - University of Catania (DFA),

Sarath Kumar BASKARAN - Centre for Biotechnology, Anna University, Chennai (AUC)