Add Gctf buildblock

No new versions were installed, but this documents the build process and
updates the modulefile.
This commit is contained in:
2020-11-18 21:03:35 +01:00
parent b28e9a8a39
commit 5bdf6b2952
5 changed files with 54 additions and 0 deletions

6
EM/Gctf/Gctf Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Wrapper for Gctf on merlin
module purge
module use EM
module load cuda/8.0.44 Gctf/1.06
exec Gctf-v1.06_sm_30_cu8.0_x86_64 "$@"

10
EM/Gctf/README Normal file
View File

@@ -0,0 +1,10 @@
# GCTF
## Installation
1. Download binaries from https://www2.mrc-lmb.cam.ac.uk/research/locally-developed-software/zhang-software/
2. Update files/variants
3. Run `./build <version>` to create directories
4. Move all executables to /opt/psi/EM/Gctf/$VERSION/bin
5. Create wrapper script at /opt/psi/EM/Gctf/$VERSION/bin/Gctf based on ./Gctf
6. Fix permissions: chmod 755 /opt/psi/EM/Gctf/$VERSION/bin/*

22
EM/Gctf/build Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env modbuild
# Binary distribution with manual installation. See README.md
pbuild::add_to_group 'EM'
pbuild::prep() {
:
}
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
:
}

2
EM/Gctf/files/variants Normal file
View File

@@ -0,0 +1,2 @@
Gctf/0.50 stable
Gctf/1.06 stable

14
EM/Gctf/modulefile Normal file
View File

@@ -0,0 +1,14 @@
#%Module1.0
module-whatis "Real-time CTF determination and correction"
module-url "https://www2.mrc-lmb.cam.ac.uk/research/locally-developed-software/zhang-software/"
module-license "free"
module-maintainer "Spencer Bliven <spencer.bliven@psi.ch>"
module-help "
Citation: Zhang K. (2016). Gctf: Real-time CTF determination and correction. JSB, 193: 1-12.
The `Gctf` script in this module includes the correct CUDA dependency. Other
executables need CUDA loaded separately.
"