Examples

In this chapter we present example PLAMS scripts covering various applications, from very simple tasks (like running the same calculation for multiple molecules) to more advanced dynamic workflows.

Most of these example scripts use computational engines from the Amsterdam Modeling Suite, and you will need a license to run them. Contact license@scm.com for further questions.

In order to run the examples, the AMSBIN environment variable should be properly set. You can test this by typing $AMSBIN/plams -h in a terminal: this should print PLAMS’ help message. If this is not the case (e.g. you get ‘No such file or directory’), you need to set up the environmental variable $AMSBIN (see the Linux Quickstart guide for details).

Advanced examples

Recipes

The examples presented in here are simple job types built using basic PLAMS elements. They are shipped with PLAMS in the recipes subpackage and can be directly used in your scripts. In other words, the code presented there is already included in PLAMS and (unlike examples from two other sections) does not need to be copied to your script. The source code of recipes modules is presented here to demonstrate how easy it is to build on top of existing PLAMS elements and create your own fully customized job types.