Skip to content

Removed ddx_driver.f90 from the ddX library source files#177

Open
robin-dahl wants to merge 4 commits into
ddsolvation:mainfrom
robin-dahl:meson_fix
Open

Removed ddx_driver.f90 from the ddX library source files#177
robin-dahl wants to merge 4 commits into
ddsolvation:mainfrom
robin-dahl:meson_fix

Conversation

@robin-dahl
Copy link
Copy Markdown
Contributor

Summary
This PR removes src/ddx_driver.f90 from the ddx_library source list in meson.build

ddx_driver.f90 defines a Fortran program main, so it should only be compiled as the source for the ddX_exec executable. Including it in the library means the library may also contain an executable entry point, which can conflict with test executables that define their own program main.

Keeping ddx_driver.f90 only in the ddX_exec executable target matches its role as a driver program and keeps the library limited to reusable ddX implementation sources.

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.

1 participant