Jayden

Jayden

Deploy SPA software on ubuntu

Install NVIDIA driver & CUDA#

You can skip this part If you have installed

  1. Remove existing version:https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
  2. Install NVIDIA Drive:https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html
  3. Install CUDA Toolkit:https://developer.nvidia.com/cuda-12-1-0-download-archive

Standalone CryoSPARC#

  1. Request academic license: https://cryosparc.com/download, then you will get your license ID in the email.
  2. Export your License ID as an environment variable:
export LICENSE_ID="<license_id>"
  1. Download with curl
mkdir cryosparc && cd cryosparc
curl -L https://get.cryosparc.com/download/master-latest/$LICENSE_ID -o cryosparc_master.tar.gz
curl -L https://get.cryosparc.com/download/worker-latest/$LICENSE_ID -o cryosparc_worker.tar.gz
  1. Extract
tar -xf cryosparc_master.tar.gz cryosparc_master
tar -xf cryosparc_worker.tar.gz cryosparc_worker
  1. Make directory for cache and databse
mkdir cryosparc_database cryosparc_worker/cryosparc_cache
  1. Install
cd cryosparc_master

./install.sh    --standalone \
                --license $LICENSE_ID \
                --worker_path $HOME/cryosparc/cryosparc_worker \
                --ssdpath $HOME/cryosparc/cryosparc_worker/cryosparc_cache \
                --initial_email yourEmail \
                --initial_username "username" \
                --initial_firstname "firstname" \
                --initial_lastname "lastname" \
                --port 40000 \
                --initial_password yourPassword
  1. Add environmental variable
echo "export PATH=$PATH:$HOME/cryosparc/cryosparc_master/bin" >> ~/.bashrc
echo "export PATH=$PATH:$HOME/cryosparc/cryosparc_worker/bin" >> ~/.bashrc

RELION#

  1. Install dependencies
sudo apt install cmake git build-essential mpi-default-bin mpi-default-dev libfftw3-dev libtiff-dev libpng-dev ghostscript libxft-dev
  1. Download RELION
git clone https://github.com/3dem/relion.git
git checkout ver4.0
git pull
  1. Compilation
mkdir relion/build && cd build
cmake .. && make -j
  1. Add environmental variable
echo "export PATH=$HOME/relion/build/bin:$PATH" >> ~/.bashrc
  1. Install MotionCor2

    mkdir $HOME/MotionCor2 && cd $HOME/MotionCor2
    wget https://drive.google.com/uc\?export\=download\&id\=1hskY_AbXVgrl_BUIjWokDNLZK0c1FLxF -O MotionCor2_1.6.4_Mar31_2023.zip
    unzip MotionCor2_1.6.4_Mar31_2023.zip
    chmod +x MotionCor2_1.6.4_Cuda121_Mar312023
    

EMAN2#

  1. Install Miniconda:
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init bash

# Or you are using zshell
~/miniconda3/bin/conda init zsh
  1. Install

    conda update --all
    conda install mamba -c conda-forge
    
  2. If you'd prefer that conda's base environment not be activated on startup, run:

    conda config --set auto_activate_base false
    

IMOD#

https://bio3d.colorado.edu/imod/

  1. Download and set execute permission:
wget https://bio3d.colorado.edu/imod/AMD64-RHEL5/imod_4.11.25_RHEL7-64_CUDA10.1.sh --no-check-certificate
sudo chmod +x imod_4.11.25_RHEL7-64_CUDA10.1.sh
  1. Install to /usr/local, and the IMOD-linux.sh will be added to /ect/profile.d.

    sudo ./imod_4.11.25_RHEL7-64_CUDA10.1.sh
    

此文由 Mix Space 同步更新至 xLog
原始链接为 https://xxu.do/posts/structure/Deploy-SPA-software-on-ubuntu


Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.