Configuring analysis machine: Difference between revisions

From MEG Core
Jump to navigation Jump to search
Content added Content deleted
Line 1: Line 1:
Under Construction
Under Construction
====Installing Pyctf====
====Installing Pyctf====
Download the pyctf folder
cd $PYCTF_FOLDER_PATH
make

Add the pyctf path to your pythonpath variable
PYTHONPATH=$PYTHONPATH:$PYCTF_FOLDER_PATH

If you are using an Anaconda python manager<br>
*Create a file pyctf.pth
echo $PYCTF_FOLDER_PATH > pyctf.pth
*Add at pyctf_pth file to your Anaconda folder
For example /home/User/miniconda3/envs/ENV_NAME/lib/python3.7/site-packages/pyctf.pth


====Installing SAMsrc====
====Installing SAMsrc====

Revision as of 09:09, 13 November 2019

Under Construction

Installing Pyctf

Download the pyctf folder

 cd $PYCTF_FOLDER_PATH
 make

Add the pyctf path to your pythonpath variable

 PYTHONPATH=$PYTHONPATH:$PYCTF_FOLDER_PATH

If you are using an Anaconda python manager

  • Create a file pyctf.pth
 echo $PYCTF_FOLDER_PATH > pyctf.pth
  • Add at pyctf_pth file to your Anaconda folder
 For example /home/User/miniconda3/envs/ENV_NAME/lib/python3.7/site-packages/pyctf.pth

Installing SAMsrc

 #Install gsl
 #Fedora
 sudo dnf install nifticlib-devel
 sudo dnf install gifticlib-devel
 sudo dnf install motif motif-devel
 sudo dnf install fftw fftw-devel
 sudo dnf install libpng12.x86_64
 sudo dnf install -y tcsh libXp op  ## Not sure of the op
 sudo dnf install gsl, gsl-devel    ## If errors when running SAM software, you may need to link the library

Installing Afni

https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/background_install/install_instructs/index.html

Installing CTF software

To view and process the data using the native ctf software, the packages have been incorporated into a singularity container
Install singularity on your computer

 #Fedora Linux
 sudo dnf install singularity
 #Redhat/Centos Linux
 sudo yum install singularity
 #Ubuntu/Debian Linux 
 sudo apt-get install singularity-container

Download the current CTF singularity container and components

  • ctf.sif
  • wrap
  • mkwrappers
 cd $Directory_With_CTF_Container
 mkwrappers  #This will install the container in /usr/local/ctf/bin and the links to all of the functions in /usr/local/ctf/bin

Link the ctf commands