Commit 5bdf6b29 authored by bliven_s's avatar bliven_s

Add Gctf buildblock

No new versions were installed, but this documents the build process and
updates the modulefile.
parent b28e9a8a
# 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 "$@"
## Installation
1. Download binaries from
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/*
#!/usr/bin/env modbuild
# Binary distribution with manual installation. See
pbuild::add_to_group 'EM'
pbuild::prep() {
pbuild::configure() {
pbuild::compile() {
pbuild::install() {
Gctf/0.50 stable
Gctf/1.06 stable
module-whatis "Real-time CTF determination and correction"
module-url ""
module-license "free"
module-maintainer "Spencer Bliven <>"
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment