蛙の井戸見聞記 Pretty frog in a well who knows nothing of the great web ocean!

~~ 好奇心は猫をも殺す Curiosity Kills the Cat ~~ ♪欲しいモノ・食べたいモノ・ネットで集めた情報と日々の記録の倉庫♪ Logging my life... Since 2003.12  

Compling the abinit-7.10.1

There were errors during compiling libXC-2.0.3…...
The file "libxc.f90" includes strange codes….the compiler said "unclassified error".

you may change the contents in file libxc.f90
exchanging from " ## " to "_". with some editor or regular expression tools.

Examples:
from

module xc_f90_ ## types_m
….

to

module xc_f90_types_m
….

before compiling the code.

(After the exchange, the code become almost the same as the libxc.f90 in libxc-2.0.2)

==
module **** ## type**

という記載ができるのかと思いきや
そうではなくて、自動生成の過程で何かミスしているらしい?
「 ## 」の部分を後半の文字列とつなげてやるとコンパイルは通る。

libxc-2.0.2のlibxc.f90の中身を見てみると、その違いがわかる。


プログラムで実践する 生体分子量子化学計算 - ProteinDF/ABINIT-MPの基礎と応用

プログラムで実践する 生体分子量子化学計算 - ProteinDF/ABINIT-MPの基礎と応用