本家様: http://bio3d.colorado.edu/imod/
ダウンロード先
http://bio3d.colorado.edu/imod/download.html
linuxに関してcudaが絡んでいるバージョンが提供されている。
cudaカードを持ってないなら
If are not using an NVIDIA card for GPU computing, just pick the package with the lowest CUDA version, since it will be smaller.
とある。
[root@c ~]# cd /Appl/src/
[root@c src]# curl -O http://bio3d.colorado.edu/imod/AMD64-RHEL5/imod_4.9.4_RHEL5-64_CUDA3.0.sh
[root@c src]# bash ./imod_4.9.4_RHEL5-64_CUDA3.0.sh -h
This is a self-installing IMOD package which will install IMOD in a default
or specified location and set up startup files.
Options can be added after the name of the package on the command line.
Options may be abbreviated. The options are:
-dir dir Install IMOD within the given directory. The directory must
exist (unless -name is entered also) and you must have
permission to write to it.
-name dir Rename the IMOD directory to the given name. The script will
automatically remove an existing version by this name and not
offer to clean up of other versions
-extract Just extract the package and the real IMOD install script into
a directory named IMODtempDir, without installing
-script dir Place the IMOD startup scripts in the given directory. On Linux
and Windows, scripts will be copied there instead of to
/etc/profile.d. On Mac, scripts will be copied there
and the system startup files will not be modified.
-skip Skip copying startup scripts (Linux and Windows) or modifying
system startup files (Mac)
-debian Modify /etc/csh.cshrc and /etc/bash.bashrc instead of
copying startup scripts to /etc/profile.d
- this option is set automatically for Ubuntu versions < 10
-yes Install this version and remove old versions without asking for
confirmation
-test Run this self-installing script but not the real install script
-h, --help Print this help
[root@c src]#
インストール先(-dir)は /Appl とすると、 /Appl/imod_4.9.4 を作って展開してくれる。
その後、「ln -s imod_4.9.4 IMOD」を実施してくれた。
環境設定ファイルは/Applに配置したが、後ほど調整は可能みたい
[root@c src]# bash ./imod_4.9.4_RHEL5-64_CUDA3.0.sh -dir /Appl -script /Appl
This script will install IMOD in /Appl and rename
any previous version, or remove another copy of this version.
It will copy IMOD-linux.csh and IMOD-linux.sh to /Appl
You can add the option -h to see a full list of options
Enter Y if you want to proceed: y
Extracting imod_4.9.4_RHEL5-64_CUDA3.0.tar.gz ...
Extracting installIMOD
Checking system and package types
Unpacking IMOD in /Appl ...
Linking imod_4.9.4 to IMOD
Editing startup scripts for custom install location
Copying startup scripts to /Appl: IMOD-linux.csh IMOD-linux.sh
The installation of IMOD 4.9.4 is complete.
You may need to start a new terminal window for changes to take effect
If there are version-specific IMOD startup commands in individual user
startup files (.cshrc, .bashrc, .bash_profile) they should be changed
or removed.
Cleaning up imod_4.9.4_RHEL5-64_CUDA3.0.tar.gz, installIMOD, and IMODtempDir
[root@c src]#
一部javaを使うので
dnf groupinstall "Java Platform"
を実行します.
「qt-x11」「hdf5-devel」パッケージが必要っぽいのだが、、
RHEL8系だと「/usr/bin/python」がないのでそれを調整する必要がある
alternatives --config python
でpython3にするといいかも
CentOS8にてimodを起動すると
「Gtk-Message: 01:12:10.056: Failed to load module "canberra-gtk-module"」と表記されることがある。
これは「libcanberra-gtk2」をインストールすれば解消される
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
apt install openjdk-11-jdk