Skip to content

Autumn1998/GisSPA

Repository files navigation

GisSPA

Time for compling: short
No need to install

Introduction

GPU parallel for isSPA, pick particle with CC.
CPU version from CJ, BeiJing

######################################
This site is no longer updated, please check "https://www.x-mol.com/groups/Zhang_Xinzheng" for subsequent updates.
Please find the test data on this website.

pipeline

see GisSPA-protocal.pdf

structure

./deprated_code/:ignored this file
./EMReader/: read .hdf and .mrc file(just read data). Extracted from EMAN1.9.
./main.cu: main function
./GPU_func.cu(h): function processed on GPU
./Makefile: complier
./hdf5: the source package of hdf5
temp file:
./Data_TEST: test data
./Output: res for test data and obj files.
./Config_example: configure file to run test data.

Install

  1. install git lfs to get the test_Data
  2. install hdf5 1.8 (https://portal.hdfgroup.org/display/support/HDF5+1.8.21), the source is attached at ./hdf5
  3. Fill the "LIB_HDF5" and "INCLUDE_HDF5" (row 4 & 5) in Makefile with your install path to set hdf5 available.
  4. complie with Makefile.
  5. write a config file
  6. ./main + config_file

Quick start

-> inatll git lfs

  1. sudo apt-get update
  2. sudo apt-get install git-lfs
  3. git lfs install
  4. git lfs clone https://github.com/Autumn1998/GisSPA.git

-> install hdf5

  1. cd GisSPA
  2. cd ./hdf5
  3. tar zvxf hdf5-1.8.21.tar.gz
  4. cd hdf5-1.8.21
  5. ./configure --prefix="your hdf5 install path"
  6. make
  7. make install
  8. export LD_LIBRARY_PATH="your hdf5 install path"/lib:$LD_LIBRARY_PATH
    at /etc/profile or ~/.bashrc
  9. source /etc/profile or ~/.bashrc

-> run GisSPA

  1. cd GisSPA
  2. vim Makfile, set LIB_HDF5="your hdf5 install path"/lib, set INCLUDE_HDF5="your hdf5 install path"/include
  3. make clean
  4. make
    If "can not create /Output/Objects/main.o", mkdir /Output/Objects
  5. ./main ./Data_TEST/config

WARNING:The Data_TEST need at least 13GB memory at GPU!
If error occurred and temp_size = 10,10 and img_size = 10,10, check the git lfs.
If "error while loading shared libraries", check your LD_LIBRARY_PATH, and source. If it not work, do
cp "your hdf5 install path"/lib/libhdf5.so.10 .
Make ./main and libhdf5.so.10 in the same path.

How to use this problem: "./main config_file"
use "./main -h" to get help msg

contributor

LT & CJ.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published