Installation: Difference between revisions

m
(4 intermediate revisions by the same user not shown)
Line 99: Line 99:
  ln -sf XDS-Apple_M1/* .
  ln -sf XDS-Apple_M1/* .


If you want to process .h5 files written by Dectris' detectors, use the [https://strucbio.biologie.uni-konstanz.de/pub/mac_bin/dectris-neggia-Apple-arm64.so Neggia plugin for Apple ARM64 processors]. I could not successfully compile the Durin plugin for data from DLS, see https://github.com/DiamondLightSource/durin/issues/24 .
If you want to process .h5 files written by Eiger detectors, use the [https://strucbio.biologie.uni-konstanz.de/pub/mac_bin/durin-plugin-Apple-arm64.so Durin plugin for Apple ARM64 processors] ([https://github.com/DiamondLightSource/durin source code]).
 
A message like "Note: The following floating-point exceptions are signalling: IEEE_DIVIDE_BY_ZERO IEEE_UNDERFLOW_FLAG" may be printed after running XDS or XSCALE. This is harmless.


=== Prerequisites (Xcode, CCP4) for [[generate_XDS.INP]], [[XDSGUI]] and other programs ===
=== Prerequisites (Xcode, CCP4) for [[generate_XDS.INP]], [[XDSGUI]] and other programs ===
[[generate_XDS.INP]] requires the [https://developer.apple.com/download/more/ Xcode command line tools] to be installed (free of charge): open a Terminal window, and enter <code>sudo xcode-select --install</code> (for Big Sur, the download has a size of about half a GB; the downloader is much too pessimistic about the time it takes).
[[generate_XDS.INP]] requires the [https://developer.apple.com/download/more/ Xcode command line tools] to be installed (free of charge): open a Terminal window, and enter <code>sudo xcode-select --install</code> (the download has a size of about 750MB; the downloader is much too pessimistic about the time it takes).


Although CCP4 is not required by XDS itself, some of the programs (XDSSTAT, and MTZ file creation in XDSCONV, POINTLESS and COOT) use CCP4 tools or libraries. Therefore, CCP4 should be installed. Open a Terminal and check the existence of the file .zprofile , and its content:<pre>
Although CCP4 is not required by XDS itself, some of the programs (XDSSTAT, and MTZ file creation in XDSCONV, POINTLESS and COOT) use CCP4 tools or libraries. Therefore, CCP4 should be installed. Open a Terminal and check the existence of the file .zprofile , and its content:<pre>
Line 118: Line 120:
Only Terminal windows that are opened afterwards will have access to the CCP4 programs!
Only Terminal windows that are opened afterwards will have access to the CCP4 programs!


Become familiar with the concept and ways to run commands as "root" - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile</code>)
Become familiar with the concept and ways to run commands as "root" - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile; echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile</code>)


So, prepare the following steps by opening the Terminal window, and then
So, prepare the following steps by opening the Terminal window, and then
  sudo su                   # this will make you root, and ask for your password
  sudo su               # this will make you root, and ask for your password
  mkdir /usr/local/bin  # only if /usr/local/bin was not created before
  mkdir /usr/local/bin  # only if /usr/local/bin was not created before


2,684

edits