2,652
edits
(→The script: rev 0.69 add CMOS1 detector at ALS 4.2.2 as a new detector type) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 852: | Line 852: | ||
On Mac OS X, installation of the "Command Line Tools" (from http://developer.apple.com/downloads; requires Apple ID) is required. These are also part of the (larger, but also free) [http://developer.apple.com/tools/xcode Xcode] package. This package comes with a license that has to be accepted by the user when running a Command Line Tool for the first time. | On Mac OS X, installation of the "Command Line Tools" (from http://developer.apple.com/downloads; requires Apple ID) is required. These are also part of the (larger, but also free) [http://developer.apple.com/tools/xcode Xcode] package. This package comes with a license that has to be accepted by the user when running a Command Line Tool for the first time. | ||
== | == Obtaining generate_XDS.INP from this webpage == | ||
Instead of cutting-and-pasting the lines of the script, you (or the system administrator) could just cut-and-paste the following four lines | Instead of cutting-and-pasting the lines of the script, you (or the system administrator) could just cut-and-paste the following four lines | ||
Line 884: | Line 884: | ||
== Dependencies == | == Dependencies == | ||
The script makes use of many GNU commands, like <code>ls, grep, egrep, awk, cut, cat, echo, wc, bc, head, sed, tail, cp, od, python</code>. Some of them (like <code>od</code> and <code>python</code>) are only used in case of specific detectors. | The script makes use of many GNU commands, like <code>ls, grep, egrep, awk, cut, cat, echo, wc, bc, head, sed, tail, cp, od, python</code>. Some of them (like <code>od</code> and <code>python</code>) are only used in case of specific detectors (MarCCD and RAXIS, respectively). | ||
The script will only work if all the required commands are available. They reside in either the <code>coreutils</code> RPM, or specific RPMs (<code>sed, bc, grep, python</code> ...). Please note that to get the <code>strings</code> command on some Linux distributions (e.g. FC23) you need to install the <code>binutils</code> RPM package. | The script will only work if all the required commands are available. They reside in either the <code>coreutils</code> RPM, or specific RPMs (<code>gawk, sed, bc, grep, python</code> ...). Please note that to get the <code>strings</code> command on some Linux distributions (e.g. FC23) you need to install the <code>binutils</code> RPM package. | ||
For Eiger data processing, the <code>h5dump</code> program must be installed. This is part of <code>hdf5-tools</code> (Ubuntu) or <code>hdf5</code> (RHEL). | For Eiger data processing, the <code>h5dump</code> program must be installed. This is part of <code>hdf5-tools</code> (Ubuntu) or <code>hdf5</code> (RHEL). | ||
An easy way to check for missing programs is | |||
which ls grep egrep awk cut cat echo wc bc head sed tail cp od python strings h5dump | |||
A command that should go a long way in providing all these tools for RedHat-derived distros is (as root) | |||
yum -y install coreutils binutils gawk sed bc grep python hdf5 | |||
and for Ubuntu this would be (untested!) | |||
sudo apt-get install coreutils binutils gawk sed bc grep python hdf5-tools | |||
== Limitations == | == Limitations == |