
Ubuntu日本語フォーラム

ログインしていません。
Higuchiです。Octopusのインストールでは大変お世話になりました。
お陰さまで、Ubuntu 14.04 LTSでOctopus-4.1.2という第一原理計算コードを動かしています。
今後の予定として、Octopusの中にある"td.F90"というソースコードを修正したいと思っています。
ソースコードの修正は"gedit"を用いて行うことが出来ますが、コンパイルあるいはビルドの方法が分かりません。
ソースコードに依存関係が無い場合は、
$ gfortran sample.f90 -o higuchi
などでコンパイルできるのですが、Octopusの"td.F90"ソースコードは複数のコードがリンクし合っています。
このような複数のコードがリンクし合っているソースコードの修正方法をご存じの方がいらっしゃいましたら、ご指導願いたく、よろしくお願い致します。
【ご参考】
(1)PC
OS: Ubuntu 14.04LTS
プロセッサー: Intel core [email protected] x 8
OS種別: 32ビット
メモリ: 3.8GiB
ディスク: 488.0 GB
(2)Fortran: gfortran
(3)Editor: gedit: Visual Studioなどは持っていません。
(4)Octopus: Octopus is a scientific program aimed at the ab initio virtual experimentation
on a hopefully ever-increasing range of system types. Electrons are described
quantum-mechanically within density-functional theory (DFT), in its time-dependent
form (TDDFT) when doing simulations in time. Nuclei are described classically
as point particles. Electron-nucleus interaction is described within the
pseudopotential approximation.
http://www.tddft.org/programs/octopus/wiki/index.php/Main_Page
(5)td.F90: OctopusのFortran ソースコード
https://searchcode.com/codesearch/view/75292400/
オフライン