Skip to content

meson: build anharmonic_free_energy from its current sources - #192

Open
ramic-k wants to merge 1 commit into
tdep-developers:mainfrom
ramic-k:meson-anharmonic-free-energy-sources
Open

ramic-k wants to merge 1 commit into
tdep-developers:mainfrom
ramic-k:meson-anharmonic-free-energy-sources

Conversation

@ramic-k

@ramic-k ramic-k commented Oct 12, 2026

Copy link
Copy Markdown

On main, src/anharmonic_free_energy/meson.build still lists energy.f90, which no longer exists. meson setup therefore stops with:

src/anharmonic_free_energy/meson.build:2:0: ERROR: File energy.f90 does not exist.

This change lists the sources that the Makefile in the same directory builds: epot.f90, fourthorder.f90, main.f90, options.f90, thermodynamic_helpers.f90 and thirdorder.f90.

With the change, meson setup and meson compile complete on macOS with gfortran 16.2.0, and anharmonic_free_energy --help runs.

src/anharmonic_free_energy/meson.build still listed energy.f90, which no
longer exists, so `meson setup` stopped with "File energy.f90 does not
exist". List the sources the Makefile builds: epot, fourthorder, main,
options, thermodynamic_helpers and thirdorder.
@mjv500
mjv500 requested a review from MMignolet October 13, 2026 07:32

@MMignolet MMignolet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good! Thank you for the fix!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants