Site Tools

Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)


Please prepare your job_script which should be capable of storing and loading configuration snapshots and of returning the relevant metadata for the particular sampling method (at least reaction coordinate and calculation steps/time).


Open a terminal and start the server (you may edit the configuration file first):

cd freshs/server
python -c server-sample.conf


Open another terminal and start the client, e.g.:

cd freshs/client
python -c client-sample.conf

Thereby, the executable of your simulation and the harness script are read from the configuration file. According to your resources, you can connect multiple clients to the server.

Very Quick Start (single particle in sinusoidal potential)

In the tests, the test_ffs_particle subdirectory contains a very simple ffs calculation where there is no real client or harness script: the client-side communications and the dynamics calculation are folded into a single small python program, intended to act as a test of the server. The README file explains how to run this:

cd freshs/server
python -c server-sample.conf

In a separate terminal:

cd freshs/test/test_ffs_particle

This is probably the minimal use of FRESHS that can justify making the download, but can perhaps help you to get started in setting up a more interesting calculation. If you have a python-based dynamics program you might choose to plug it into FRESHS by making your own version of instead of following the full server-client-job_script-md_program route.

Very Quick Start : output

Once you have run the test_ffs_particle example, a reaction rate for the barrier-crossing should be printed to the console. Also, have a look at the OUTPUT and DB directories which were created in whatever directory you ran the server from (probably freshs/server/OUTPUT and freshs/server/DB). They should contain some logging, and also an sql database which you can interrogate to learn more about the configurations generated during the run.

Have a look at the DB using sqlitebrowser (or some other viewer, such as a web-browser plugin):

sqlitebrowser DB/*_configpoints.sqlite


You can have parallelism without using MPI, but if you want individual path fragments themselves to be parallel, then you can do that by passing the mpirun prefix for your executable as a command line option to the client, e.g.:

python -c client-sample.conf -e "mpirun -np 8"

SSH tunnel

If you need a secure ssh tunnel between machines hosting the server and client processes, then ssh tunnel can be turned on in the client configuration file, and the tunnel command can also be set:

# ssh tunnel
ssh_tunnel = 1
# ssh tunnelcommand
ssh_tunnelcommand = ssh -N -L 10000:localhost:10000 tunneluser@tunnelhost
freshs/quickstart.txt · Last modified: 2014/02/06 11:25 (external edit)