Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
Перейти к файлу
Hakan Erdogan fe68c14b9d Add explicit template instantiation for TaskDescriptor and update Makefile for other readers. 2015-01-27 16:41:54 -05:00
CNTKSolution split all CUDA-specific code off from CNTKMath into a separate project CNTKMathCUDA, with the final goal that the Math project can compile without the (1 GB large) CUDA SDK installed; 2014-11-04 08:38:32 -08:00
CheckInSuites minor fix to TIMIT examples 2014-11-03 15:51:53 -08:00
Common A temporary fix for Linux and Windows wstring handls. 2015-01-24 13:42:42 -05:00
DataReader Merge remote-tracking branch 'origin/master' into linux-gcc 2015-01-23 15:47:18 -05:00
Demos Added README. 2015-01-20 14:41:29 +08:00
Documentation First Release of CNTK 2014-08-29 16:21:42 -07:00
ExampleSetups "Correct Fix for bugs in SLU example in CNTKBook" 2014-12-04 16:23:14 -08:00
MachineLearning Add explicit template instantiation for TaskDescriptor and update Makefile for other readers. 2015-01-27 16:41:54 -05:00
Math Merge branch 'linux-gcc' of https://git.codeplex.com/cntk into linux-gcc 2015-01-24 13:47:46 -05:00
license First Release of CNTK 2014-08-29 16:21:42 -07:00
papers/CNTK-TechReport Changes in the CNTK book: 2015-01-04 23:54:16 -08:00
.gitignore Merge branch 'master' of https://git.codeplex.com/cntk 2015-01-17 21:40:37 +08:00
Makefile.cpu Add explicit template instantiation for TaskDescriptor and update Makefile for other readers. 2015-01-27 16:41:54 -05:00
Makefile.gpu More changes to Makefiles. Eventually, they probably could be merged. 2015-01-22 17:23:36 -05:00
README Modified readme for ACML. 2015-01-24 13:39:40 -05:00

README

== Author of the README ==
	Wengong Jin,
	Shanghai Jiao Tong University
	email: acmgokun@gmail.com

	Hakan Erdogan
	MERL, Sabanci University
	email: haerdogan@sabanciuniv.edu

== Preeliminaries ==
To build the cpu version, you have to install intel MKL blas library or ACML library first. Note that ACML is free, where MKL may not be.

for MKL:
1. Download from https://software.intel.com/en-us/intel-mkl
2. You can modify variable MKL_PATH in makefile.cpu to change your mkl path.
Then add ${MKL_PATH}/mkl/lib/intel64, ${MKL_PATH}/mkl/lib/mic, ${MKL_PATH}/compiler/lib/intel64. ${MKL_PATH}/compiler/lib/mic to your ${LD_LIBRARY_PATH} to make sure the program links the library correctly.

for ACML:
1. Download from http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/
2. Modify ACML_PATH in the makefile.cpu and makefile.gpu to provide your ACML library path.
You need to add ${ACML_PATH}/lib to your ${LD_LIBRARY_PATH}.

To build the gpu version, you have to install NIVIDIA CUDA first
You can modify the path CUDA_PATH in makefile.cpu to change your cuda path
We use cuda-6.5 as default.
Then add ${CUDA_PATH}/lib, ${CUDA_PATH}/lib64 to your ${LD_LIBRARY_PATH} to make sure the program links to the library correctly.

== Build ==
To build the cpu version, run
	make -f Makefile.cpu 
To build the gpu version, run
	make -f Makefile.gpu
To clean the compile, just run
	make -f Makefile.cpu clean
or
	make -f Makefile.gpu clean

== Run ==
All executables are in bin/ directory:
	cn.exe: The main executable for CNTK
	*.so: shared library for corresponding reader, these readers will be linked and loaded dynamically at runtime.

To run the executable, make sure bin/ is in your ${LD_LIBRARY_PATH}, if not, running cn.exe will fail when cn.exe tries to link the corresponding reader. Once it's done, run in command line:
	./cn.exe configFile=${your config file}