Multiwfn forum

Multiwfn official website: http://sobereva.com/multiwfn. Multiwfn forum in Chinese: http://bbs.keinsci.com/wfn. E-mail of admin: sobereva[at]sina.com

You are not logged in.

#1 2023-02-05 10:11:41

kjelljorner
Member
Registered: 2022-06-15
Posts: 11

dislin module name

I ran into some compilation issues with my CMake build script for the Mac build, due to the discrepancy between the module name of dislin in dislin_d.f90 ("dislin") and the imports in other files ("use dislin_d"). In your makefile, I believe this is currently obscured by the rule to create the mod-file dislin_d.mod from the source file dislin_d.f90:

dislin_d.mod : dislin_d.f90
    $(FC) $(OPT) -c dislin_d.f90

For consistency and portability I would suggest to either:
1. Change the module name to "dislin_d"
2. Change the imports and the Makefile rule to use "dislin"

https://github.com/kjelljorner/multiwfn … eLists.txt

Offline

#2 2023-02-05 18:44:20

sobereva
Tian Lu (Multiwfn developer)
From: Beijing
Registered: 2017-09-11
Posts: 1,631
Website

Re: dislin module name

I agree with you. I just updated Multiwfn source code package on the website, now all "use dislin_d" in source code have been changed to "use dislin", and all "dislin_d.mod" in Makefile has been changed to "dislin.mod".

Offline

Board footer

Powered by FluxBB