Installation: Difference between revisions

Jump to navigation Jump to search
→‎WSL2: Win11
(→‎WSL2: Win11)
(2 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' Eiger detectors, use the [https://strucbio.biologie.uni-konstanz.de/pub/mac_bin/dectris-neggia-Apple-arm64.so Neggia plugin for Apple ARM64 processors] in the LIB= line of [[XDS.INP]]. However, for data from Diamond Light Source 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]).
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.
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.
Line 120: 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


Line 210: Line 210:


Update September 2021: With the current version of Windows 10 and WSL, the Qt5 binary of XDSGUI does not seem to allow editing in the XDS.INP tab. If this happens, either use an external editor or use xdsgui.qt4. In the latter case, you may have to install Qt4 libraries.
Update September 2021: With the current version of Windows 10 and WSL, the Qt5 binary of XDSGUI does not seem to allow editing in the XDS.INP tab. If this happens, either use an external editor or use xdsgui.qt4. In the latter case, you may have to install Qt4 libraries.
Update 2022: Windows 11 supports WSL2 even better, and does not need installation of X-server. https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-11-with-gui-support#5-install-and-use-a-gui-package


== See also ==
== See also ==


[[Cluster Installation]]
[[Cluster Installation]]
2,652

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu