next up previous contents index
Next: 7 Difference of Computation Up: 6 Execution result(実行結果) Previous: 6.3 Brief of prjao


6.4 Maintenance of Calculation Data

Calculation data is output in the work directory below application/ directory. If you want to move this to another computation environment or strorage media, you should do as shown below.

%> compress.sh

If you run such a script, the tar-file named after this work directory which involves pre-established a lot of files is generated. However, if you run this script in a default setteing, your own files are not involved in this tar-file. Because details of pre-established files are written in compress-result.sh and compress-shset, you can move your own files conveniently by rewriting the lists of such files.

If you uncompress this tar-file in the destination directory, you can use it for analyzing data or caluculation with another computation environment. If you uncompress this tar-file, a directory named after original work directory is generated. There is a directory named result,shset in new work directory and compressed files are generated below these directory. If you use a script decompress.sh in new work directory, you can decompress the compressed file conveniently. Additionally, if you want to reconstruct original work directory from the compressed file, you should do as shown below.

%> build.sh

After doing that, if you specify new directory incpvo.sh, you can use this directory as a work directory in new calculation environment.

計算データは、application/ディレクトリ下の作業ディレクトリに入っているが、これを別の計算環境 や記憶媒体に移動するときには、

%> compress.sh

のように実行とすると決められた多数のファイルが、その作業ディレクトリの名前を冠したtarファイルにまとめられて 生成される。ただし、既定の設定ではユーザが独自に作成したファイルは、このtarファイルには入らない。 まとめられるファイルの詳細は、compress-result.sh, compress-shsetに記述されているので、このリスト書き換えるとユーザ作成の ファイルを便利に移動することができる。

移動した先で、tarファイルを展開すれば、データ解析の計算や別の計算環境を用いた計算などに用いることができる。 tarファイルを展開すると元の作業ディレクトリ名でディレクトリが作成されてそこにresult,shsetという ディレクトリがあり、それらの下に圧縮したファイルができている。これらのディレクトリが存在するディレクトリに decompress.shというスクリプトファイルがありこれを用いると圧縮ファイルの 解凍が便利に実行することができる。また、圧縮されたファイルから元の作業ディレクトリを再現するためには、

%> build.sh

のように実行すればよい。 cpvo.sh中のディレクトリの指定を行えば、新しい計算環境での作業ディレクトリとして利用することができる。


next up previous contents index
Next: 7 Difference of Computation Up: 6 Execution result(実行結果) Previous: 6.3 Brief of prjao
Copyright (C), Tatsuki Oda (oda@cphys.s.kanazawa-u.ac.jp, Kanazawa University)