ls1mardyn / ls1-mardyn

ls1-MarDyn is a massively parallel Molecular Dynamics (MD) code for large systems. Its main target is the simulation of thermodynamics and nanofluidics. ls1-MarDyn is designed with a focus on performance and easy extensibility.
http://www.ls1-mardyn.de
Other
28 stars 15 forks source link

New plugin: EnergyRAPL #305

Closed rubenhorn closed 5 months ago

rubenhorn commented 5 months ago

Description

A simple plugin to measure the energy consumption of the simulation using the RAPL sysfs interface in joules.

How Has This Been Tested?

rubenhorn commented 5 months ago

Just out of curiosity: Why tsv over csv? :D

I prefer tab separated because A) it is more human-readable in most editors and B) it avoids possible confusion about the decimal point (or rather comma) and thus also supports serialized arrays as cell values. Then again… I've seen code around here that uses semicolons in CSV files :D

Really not a fan of the one-line if and for blocks but ok...

Fixed!