-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
79 lines (63 loc) · 2.29 KB
/
.profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# Default EDITOR
export EDITOR=emacsclient
# LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
# NVIDIA CUDA
#PATH=/usr/local/cuda/bin:$PATH
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
# Pyhst
export CUDAHOME=/usr/local/cuda
# ASTRA
#export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
# PyASTRA
export LD_LIBRARY_PATH=/usr/local/astra/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/usr/local/astra/python:$PYTHONPATH
# NiftyRec
export LD_LIBRARY_PATH=/usr/local/niftyrec:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$HOME/Software/NiftyRec/NiftyRec-2.0.1/build/bin:$LD_LIBRARY_PATH
# Python
export PYTHONSTARTUP=~/.pythonrc
#export PYTHONPATH=~/git/LCR/libastra/python:$PYTHONPATH
#export PYTHONPATH=~/git/LCR/libastra/pyastra:$PYTHONPATH
# export PYTHONPATH=~/git/LCR/ODL/odl:$PYTHONPATH
export PYTHON_NUMPY_INCLUDE_DIR=/usr/local/lib/python2.7/dist-packages/numpy/core/include
# FreeSurfer
export FREESURFER_HOME=/usr/local/freesurfer
# putting statement in bash, to check if it works
# source $FREESURFER_HOME/SetUpFreeSurfer.sh
# FSL
#export FSLDIR=`pwd`/fsl
#. ${FSLDIR}/etc/fslconf/fsl.sh
# required for building libwavelets
export MATLAB_ROOT=usr/local/MATLAB/R2014b
# RTK
export RTK_DIR=$HOME/git/RTK/RTK-bin
#export RTK_LIBRARIES=$HOME/git/RTK/RTK-bin
# ITK
#export ITK_LIBRARIES=$HOME/git/ITK/ITK-bin
export ITK_DIR=$HOME/git/ITK/ITK-bin
# PyCharm error message at start up related to (not personlly
# encounterd) problem: Keyboard input sometimes is blocked when IBus
# is active
IBUS_ENABLE_SYNC_MODE=1