plumed / plumed2

Development version of plumed 2
https://www.plumed.org
GNU Lesser General Public License v3.0
357 stars 284 forks source link

Added sigterm to the signal handler for Benchmark #1095

Closed Iximiel closed 2 months ago

Iximiel commented 2 months ago
Description

I added the handler for SIGTERM to the benchmark CL. I tried with kill -TERM pid and it seems to work I made the info message more pedantic.

@GiovanniBussi I added the handler correctly or should I add another function?

Target release

I would like my code to appear in release XXXXX

Type of contribution
Copyright
Tests
Iximiel commented 2 months ago

The motivation is that on an HPC queue the signal sent on "time expired" usually is SIGTERM and as now the benchmark exit gracefully only with SIGINT