question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"entropy" has two meanings depending on the computational package

See original GitHub issue

Hi, it’s me again.

Entropies extracted from Gaussian (09C01) or ORCA (4.0.1.2) logfiles have different meanings:

% # First a Gaussian logfile:
% ccget entropy enthalpy freeenergy gaussian_out.out
Attempting to read gaussian_out.out
entropy
0.00016293141036397934
enthalpy
-552.415496
freeenergy
-552.464074

Results from Gaussian assume $G = H - T S$ as usual (entropy means $S$ here):

In [1]: -298.15 * 0.00016293141036397934 + -552.415496                          
Out[1]: -552.464074
% # Now a ORCA logfile:
% ccget entropy enthalpy freeenergy orca_out.out
Attempting to read orca_out.out
entropy
0.04797662
enthalpy
-612.38317299
freeenergy
-612.43114961

But in results from ORCA, entropy means $T S$!

In [2]: -0.04797662 + -612.38317299                                             
Out[2]: -612.43114961

Is this wanted? I can imagine algorithms using ccclib not working across packages because of this.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Chokerinocommented, Mar 12, 2019

From what i understand this issue involves -

  1. Changing self.entropy = float(next(inputfile).split()[4]) to self.entropy = float(next(inputfile).split()[4]/self.temperature) in the orca parser.
  2. Adding a comment is that file to show the same. If this needs to be odcument anywhere else please let me know.
  3. The Qchem parser has a TODO comment # 'entropy' (incorrect)
1reaction
ATenderholtcommented, Jan 31, 2019

I definitely think we should have entropy be the standard definition (i.e. Gaussian, G = H - T * S).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Computer Science Definition of Entropy - Baeldung
Entropy is, therefore, a measure of uncertainty, surprise, or information related to a choice between a certain number of possibilities when we ...
Read more >
Entropy (computing) - Wikipedia
In computing, entropy is the randomness collected by an operating system or application for use in cryptography or other uses that require random...
Read more >
What is the computer science definition of entropy?
Entropy can mean different things: Computing. In computing, entropy is the randomness collected by an operating system or application for ...
Read more >
Software Entropy Explained: Causes, Effects, and Remedies
Software entropy arises from a lack of knowledge. It results from the divergence between our communal assumptions and the actual behavior of an...
Read more >
Entropy Definition - Investopedia
Entropy is a quantitative measure of randomness. Like the concept of noise, entropy is used to help model and represent the degree of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found