Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiwfn with fpm #2

Open
aslozada opened this issue Jun 15, 2022 · 1 comment
Open

Multiwfn with fpm #2

aslozada opened this issue Jun 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@aslozada
Copy link

Nice!
What do you think about building the program with fpm < https://fpm.fortran-lang.org/en/index.html >?

@kjelljorner
Copy link
Collaborator

It's a good idea. I tried it very quickly but couldn't get it to work with the default folder structure of Multiwfn.

name = "multiwfn-mac-build"
version = "0.0.1"
license = "MIT"
author = "Kjell Jorner"
maintainer = "[email protected]"
copyright = "Copyright 2022, Kjell Jorner"

[library]
source-dir = "."

[[ executable ]]
name = "multiwfn"
source-dir = "."
main = "Multiwfn.f90"

[install]
library = false

I get the following error. Also, the compiler flags to handle the non-standard code and the Fortran preprocessing would need to be added. Maybe you can take a look if you have time and interest.

(base) kjelljorner@mba-m1-kjell-jorner Multiwfn % fpm run
<ERROR>*cmd_run*:targets error:Unable to find source for module dependency: "util" used by "././libreta_hybrid/libreta.f90"
STOP 1

@kjelljorner kjelljorner added the enhancement New feature or request label Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants