本家様 https://www.phenix-online.org/
アプリケーションを入手するためにはユーザ登録が必要で、http://www.phenix-online.org/phenix_request/index.cgi
からその登録を行う
登録が完了すると登録したメールアドレスにログインユーザ名とパスワードが送られる。
それを使って、ダウンロードページhttps://www.phenix-online.org/download/
の
Downloadリンクボタンを押下して認証を進めます。
ダウンロード可能なファイルはLinux, macOS, windows毎に用意されている。
ここでは「Kernel 2.6 (64-bit; CentOS 6)」を取得した
取得したファイルをまずは展開して、--prefixでインストール先を指定する
[root@c ~]# yum install xorg-x11-font-utils
[root@c ~]# cd /Appl/Linux/src
[root@c src]# tar xf ./phenix-installer-1.13-2998-intel-linux-2.6-x86_64-centos6.tar.gz
[root@c src]# cd phenix-installer-1.13-2998-intel-linux-2.6-x86_64-centos6
[root@c phenix-installer-1.13-2998-intel-linux-2.6-x86_64-centos6]#
[root@c phenix-installer-1.13-2998-intel-linux-2.6-x86_64-centos6]# ./install --help
:
Usage: install [options]
Options:
--prefix=<path> Determines PHENIX installation path, which
will be <path > /phenix-[version]
:
[root@c phenix-installer-1.13-2998-intel-linux-2.6-x86_64-centos6]# ./install --prefix=/Applこれで/Applを起点に展開される
[root@c ~]# cd /Appl/phenix-1.13-2998
[root@c phenix-1.13-2998]# ls -l
total 168
drwxr-xr-x 9 root root 4096 Feb 8 11:08 base
drwxr-xr-x 47 root root 4096 Feb 8 11:08 build
-rw-r--r-- 1 root root 107760 Feb 8 11:09 CHANGES
drwxr-xr-x 9 root root 4096 Feb 8 11:09 doc
-rw-r--r-- 1 root root 10172 Feb 8 11:09 LICENSE
drwxr-xr-x 38 root root 4096 Feb 8 11:08 modules
-rw-r--r-- 1 root root 119 Feb 8 11:08 phenix_env.csh
-rw-r--r-- 1 root root 111 Feb 8 11:08 phenix_env.sh
-rw-r--r-- 1 root root 9568 Feb 8 11:09 README
-rw-r--r-- 1 root root 8876 Feb 8 11:09 SOURCES
[root@c phenix-1.13-2998]#実行するには、各ユーザでbashユーザなら
source /Appl/phenix-1.13-2998/phenix_env.shcsh/tcshユーザなら
source /Appl/phenix-1.13-2998/phenix_env.cshを実行して環境整備後に使用します。
ただ、pythonのバージョンが変わってしまうので
bash:
alias phenix='(source /Appl/phenix/phenix_env.sh && /Appl/phenix/build/bin/phenix)'
csh:
alias phenix '(source /Appl/phenix/phenix_env.csh;/Appl/phenix/build/bin/phenix)'とかの方がいいのかもしれない。
Phenixからcootボタンを押して起動させる場合、PATH環境変数にcootが必要みたい。
alias coot='/Appl/coot/bin/coot'
と横着したら起動できなくなった.....