-
Notifications
You must be signed in to change notification settings - Fork 18
/
env_sirf.csh.in
executable file
·36 lines (30 loc) · 1.11 KB
/
env_sirf.csh.in
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
# This file sets environment variables for the CCP SyneRBI software.
# Use it like this
# source /path/to/whereever/env_ccppetmr.csh
# Preferably add this line to your .cshrc
setenv SIRF_PATH @SIRF_SOURCE_DIR@
# Where all binaries are installed
setenv SIRF_INSTALL_PATH @SyneRBI_INSTALL@
# Where to find shared libraries
# Setting for Linux but doesn't harm elsewhere
if $?LD_LIBRARY_PATH then
setenv LD_LIBRARY_PATH @SyneRBI_INSTALL@/lib:@SyneRBI_INSTALL@/lib64:$LD_LIBRARY_PATH@Matlab_extra_ld_path@
else
setenv LD_LIBRARY_PATH @SyneRBI_INSTALL@/lib:@SyneRBI_INSTALL@/lib64:@Matlab_extra_ld_path@
endif
# Setting for MacOS but doesn't harm elsewhere
if $?DYLD_FALLBACK_LIBRARY_PATH then
setenv DYLD_FALLBACK_LIBRARY_PATH @SyneRBI_INSTALL@/lib:$DYLD_FALLBACK_LIBRARY_PATH
else
setenv DYLD_FALLBACK_LIBRARY_PATH @SyneRBI_INSTALL@/lib
endif
##### Environment variables for Python
@ENV_PYTHON_CSH@
##### Environment variables for Matlab
@ENV_MATLAB_CSH@
set path=( @SyneRBI_INSTALL@/bin $path )
# Export Gadgetron Home
@ENV_GADGETRON_HOME_CSH@
if $?STIR_PATH then
setenv STIR_PATH @STIR_SOURCE_DIR@
endif