Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f3604edfa2 | |||
| 977b1f477f | |||
|
838016f473
|
|||
| 1b8342f4cc | |||
|
f93e5a0ce7
|
@@ -1,25 +1,7 @@
|
|||||||
XDS
|
# Olex2
|
||||||
|
|
||||||
Step 1: login with your -adm account
|
Olex2 is a free, open-source software program used for determining, visualizing, and analyzing small-molecule crystal structures. It provides a comprehensive and user-friendly graphical interface to guide users through the process of crystal structure solution, refinement, and report generation. This workflow-oriented program is designed to be useful for both experienced crystallographers and chemists who may not have specialized training.
|
||||||
|
|
||||||
```
|
## Installation guide
|
||||||
[smith_k@ra-l-005 xds]$ kinit smith_k-adm
|
1. First, download the zip archive with the binaries. For example for version 1.5, it was download from https://secure.olex2.org/olex2-distro/1.5/olex2-linux64.zip
|
||||||
[smith_k@ra-l-005 xds]$ aklog
|
2. Build the module with the correct version.
|
||||||
```
|
|
||||||
|
|
||||||
Step 2: load the latest Pmodules package
|
|
||||||
|
|
||||||
```
|
|
||||||
module use unstable
|
|
||||||
module load Pmodules/2.0.0
|
|
||||||
```
|
|
||||||
|
|
||||||
Step 3: go into olex2 directory, update config.yaml to add newest release version and build module with that release name (e.g. below is for 1.5)
|
|
||||||
|
|
||||||
```
|
|
||||||
cd olex2
|
|
||||||
vi files/config.yaml
|
|
||||||
./build 1.5
|
|
||||||
```
|
|
||||||
|
|
||||||
Step 4: confirm that the module loads as expected
|
|
||||||
|
|||||||
32
olex2/build
Normal file → Executable file
32
olex2/build
Normal file → Executable file
@@ -1,15 +1,33 @@
|
|||||||
#!/usr/bin/env modbuild
|
#!/usr/bin/env modbuild
|
||||||
|
|
||||||
|
pbuild::configure(){
|
||||||
|
# Get the OS and architecture
|
||||||
|
os=$(uname -s | tr '[:upper:]' '[:lower:]')
|
||||||
|
arch=$(uname -m)
|
||||||
|
case "$arch" in
|
||||||
|
x86_64|amd64) arch="64" ;;
|
||||||
|
i386|i686) arch="32" ;;
|
||||||
|
aarch64) arch="arm64" ;;
|
||||||
|
armv7*) arch="arm" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
pbuild::prep() { :; }
|
ZIP="${SRC_DIR}/${P}-${os}${arch}.zip"
|
||||||
|
|
||||||
pbuild::configure() { :; }
|
# Copy the zip archive from the build directory
|
||||||
|
cp -n "${BUILDBLOCK_DIR}/${P}-${os}${arch}.zip" "$ZIP"
|
||||||
|
|
||||||
pbuild::compile() { :; }
|
# Extract contents directly into SRC_DIR
|
||||||
|
unzip -o -q "$ZIP" -d "${SRC_DIR}"
|
||||||
|
|
||||||
|
# Clean up the zip file
|
||||||
|
rm -f "$ZIP"
|
||||||
|
}
|
||||||
|
|
||||||
|
pbuild::compile(){
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
pbuild::install() {
|
pbuild::install() {
|
||||||
#wget --no-check-certificate https://xds.mr.mpg.de/XDS-gfortran_Linux_x86_64.tar.gz
|
# Move all contents of the zip archive into PREFIX
|
||||||
mkdir -p "${PREFIX}/bin"
|
mv "${SRC_DIR}/${P}/"* "${PREFIX}/"
|
||||||
cd "${PREFIX}/bin"
|
|
||||||
unzip "${BUILDBLOCK_DIR}/Olex2Linux64.zip"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ olex2:
|
|||||||
group: MX
|
group: MX
|
||||||
overlay: base
|
overlay: base
|
||||||
relstage: stable
|
relstage: stable
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
1.5:
|
1.5:
|
||||||
config:
|
config:
|
||||||
|
|||||||
@@ -1,12 +1,21 @@
|
|||||||
#%Pmodule
|
#%Pmodule
|
||||||
|
|
||||||
module-whatis "OlexSys Ltd is a scientific software company providing State of the Art Crystallographic Software as well as the best Laboratory Chemicals Management there is."
|
module-whatis "Olex2 is a free and comprehensive software package for determining, visualizing, and analyzing small-molecule crystal structures"
|
||||||
module-url "https://www.olexsys.org/categories/installation/"
|
module-url "https://www.olexsys.org/olex2"
|
||||||
module-license "Olex2 is completely free to use for anyone. There is no catch here – whether you are in industry, academia or a student, it’s free!"
|
module-license "https://www.olexsys.org/tags/licence/"
|
||||||
module-maintainer "MX Data <jiaxin.duan@psi.ch>"
|
module-maintainer "MX Data <jiaxin.duan@psi.ch>"
|
||||||
|
|
||||||
module-help "
|
module-help "
|
||||||
Olex2 is open source – all our code is available for you to look at, check and – hopefully!
|
Olex2 is a free and comprehensive software package for determining,
|
||||||
|
visualizing, and analyzing small-molecule crystal structures. It features a
|
||||||
|
user-friendly, mouse-driven graphical interface to assist both chemists and
|
||||||
|
crystallographers with tasks like structure solution, refinement, and report
|
||||||
|
generation. The program seamlessly links all aspects of the crystallography
|
||||||
|
workflow into a single, intuitive package.
|
||||||
"
|
"
|
||||||
|
|
||||||
setenv Olex2 $PREFIX/bin
|
# Use software OpenGL explicitly to avoid Vulkan drivers missing error
|
||||||
|
setenv LIBGL_ALWAYS_SOFTWARE 1
|
||||||
|
|
||||||
|
# Because the executable files need to be in the top directory
|
||||||
|
prepend-path PATH $PREFIX
|
||||||
|
|||||||
Binary file not shown.
@@ -9,3 +9,6 @@ xds:
|
|||||||
20250523:
|
20250523:
|
||||||
config:
|
config:
|
||||||
relstage: stable
|
relstage: stable
|
||||||
|
20251103:
|
||||||
|
config:
|
||||||
|
relstage: stable
|
||||||
|
|||||||
Reference in New Issue
Block a user