Skip to content
Snippets Groups Projects
Commit 6fc9c49b authored by Yoann Guilhem's avatar Yoann Guilhem
Browse files

Update README.txt.

parent 6e34c00b
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@
# - astra (version >= 1.0) www.code.google.com/p/astra-toolbox
# - cuda (version >= 4.0) www.nvidia.com/object/cuda_home_new.html
1. Download the DCT install bundle from http://sourceforge.net/projects/dct/
1. Download the DCT install bundle from:
http://sourceforge.net/projects/dct/
2. Extract the zip in a temporary directory (here it is /tmp)
......@@ -16,14 +17,18 @@ user1@host1 ~/Downloads $ ls
dct-install.zip
user@host1 ~/Downloads $ unzip dct-install.zip -d /tmp
Archive: dct-install.zip
extracting: dct-install/dct_compile_matlab_functions.py
extracting: dct-install/dct_compile_mex_functions.py
extracting: dct-install/dct_io_xml.py
extracting: dct-install/dct_utils_git.py
extracting: dct-install/dct_utils_platform.py
extracting: dct-install/dct_setup.py
extracting: /tmp/dct-install/dct_compile_matlab_functions.py
extracting: /tmp/dct-install/dct_compile_mex_functions.py
extracting: /tmp/dct-install/dct_io_xml.py
extracting: /tmp/dct-install/dct_utils_git.py
extracting: /tmp/dct-install/dct_utils_platform.py
extracting: /tmp/dct-install/dct_matlab_invocation.py
extracting: /tmp/dct-install/dct_batch.py
extracting: /tmp/dct-install/dct_notification.py
extracting: /tmp/dct-install/dct_setup.py
user1@host1 ~/Downloads $ cd /tmp/dct-install
user1@host1 /tmp/dct-install $ ls
dct_batch.py dct_notification.py
dct_compile_matlab_functions.py dct_setup.py
dct_compile_mex_functions.py dct_utils_git.py
dct_io_xml.py dct_utils_platform.py
......@@ -38,16 +43,17 @@ Installs DCT for both users and developers
-h | --help : to show this help
-v | --verbose : to show more detailed output
-b <branch_name> : to select a specific branch from the listed here:
master
stable_1.0
master
stable_1.0
-d <dir_name> : to specify directory name, where dct will be
-u <user_name> : selects developer mode and specifies the developer sf_username
-u <user_name> : selects developer mode and specifies the developer
sf_username
-m <matlab_version> : selects the matlab version to be used
-mp <matlab_dir> : selects the path to matlab (not needed at ESRF)
4. Now you can run the installation with your personal settings. As a user,
you don't need to specify a user name (only for developers). So to install
the stable_1.0 version in ~/dct_1.0 directory, let's run:
4. Now you can run the installation with your personal settings. As a
user, you don't need to specify a user name (only for developers).
To install the stable_1.0 version in ~/dct_1.0 directory, let's run:
user1@host1 /tmp/dct-install $ python dct_setup.py -b stable_1.0 -d ~/dct_1.0
Checking system...
......@@ -86,25 +92,24 @@ Done.
Compiling batch functions... (may take several minutes)
[...]
Done.
DCT is now Installed in: '/users/user1/dct_1.0'
5. Using the dct_launch.py script with the proper argument, you can:
- run matlab with the DCT code [ matlab ] (works also with no arguments)
- update the code [ update ]
- update the configuration [ update_conf ]
- recompile the mex functions [ compile_mex ] (sub-options, see --help)
- recompile the matlab functions [ compile_matlab ] (sub-options, see --help)
- list all options [ -h | --help ]
- run matlab with the DCT code [ matlab ] (works also with no arguments)
- update the code [ update ]
- update the configuration [ update_conf ]
- recompile mex functions [ compile_mex ] (sub-options, see --help)
- recompile matlab functions [ compile_matlab ] (sub-options, see --help)
- list all options [ -h | --help ]
$ python /users/user1/dct_1.0/dct_launch.py
6. Have fun with DCT!
7. Update regularly the code with "update" command and the configuration with
"update_conf" command.
7. Update regularly the code with "update" command and the configuration
with "update_conf" command.
8. Submit bug reports to https://sourceforge.net/p/dct/tickets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment