Preliminaries

Obtaining the code

STATE is not (yet) in the public domain and please ask developers for the latest version of the code (5.6.5 or later).

Compilation

In this tutorial, we put source code, pseudopotentials, and data in the following directories

  • ${HOME}/STATE/src
  • ${HOME}/STATE/gncpp
  • ${HOME}/STATE/outs

and we are going to use the version 5.6.5 of STATE (state-5.6.5.tgz). copy the source code in the source directory (STATE/src) as

> cp /somewhere/state-5.6.5.tgz .

Untar the source code

> tar zxf state-5.6.5.tgz

and get the source directory state-5.6.5/ in the current directory. Then change directory

> cd state-5.6.5/src

and prepare Makefile (copy or make symbolic link to an appropriate hader file for Makefile)

> ln -s ../arch/make.arch.intel_smith make.arc

After editing "make.arch" as appropriate, type make

> make

to get the executable ("STATE").
Further, to generate utility programs, go to the utility directory

> cd ../util

Edit "make.inc" according to your environment and type make

> make

Setup

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS