Package Details: cntk 2.3-1

Git Clone URL: https://aur.archlinux.org/cntk.git (read-only)
Package Base: cntk
Description: Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
Upstream URL: https://github.com/Microsoft/CNTK
Licenses: custom
Submitter: petronny
Maintainer: petronny
Last Packager: petronny
Votes: 1
Popularity: 0.060798
First Submitted: 2017-10-02 19:16
Last Updated: 2017-12-09 08:03

Dependencies (24)

Required by (0)

Sources (1)

Latest Comments

jerry73204 commented on 2017-12-01 04:42

/tmp/cntk is fine to place lock files or any other temporarily used file. Please upload the patch if possible. Thanks.

petronny commented on 2017-11-03 09:22

Can it be /tmp/cntk?

jerry73204 commented on 2017-11-03 08:24

CNTK currently has permission issue on /var/lock directory. Here is the GitHub link:
https://github.com/Microsoft/CNTK/issues/1719

I created a patch file to resolve it.
----------
diff --git a/Manual/Manual_How_to_debug.ipynb b/Manual/Manual_How_to_debug.ipynb
index c1c07ebca..809cd8023 100644
--- a/Manual/Manual_How_to_debug.ipynb
+++ b/Manual/Manual_How_to_debug.ipynb
@@ -41,9 +41,9 @@
"\n",
"- on Linux\n",
" ```bash\n",
- " $ fuser -k /var/lock/CNTK_exclusive_lock_for_GPU_0\n",
+ " $ fuser -k /run/cntk/CNTK_exclusive_lock_for_GPU_0\n",
" ```\n",
- " will kill the process that created `/var/lock/CNTK_exclusive_lock_for_GPU_0`\n",
+ " will kill the process that created `/run/cntk/CNTK_exclusive_lock_for_GPU_0`\n",
"- on Windows\n",
" * Make sure you have [Process Explorer](https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx)\n",
" * Open Process Explorer and under View -> Select Columns... click on the GPU tab and check all the checkboxes\n",
diff --git a/Source/Common/CrossProcessMutex.h b/Source/Common/CrossProcessMutex.h
index 2f3ce7046..bb3a3b472 100644
--- a/Source/Common/CrossProcessMutex.h
+++ b/Source/Common/CrossProcessMutex.h
@@ -128,7 +128,7 @@ class CrossProcessMutex
public:
CrossProcessMutex(const std::string& name)
: m_fd(-1),
- m_fileName("/var/lock/" + name)
+ m_fileName("/run/cntk/" + name)
{
}

----------

Also please install this cntk.conf file to /usr/lib/tmpfiles.d/cntk.conf to make cntk co-operate with systemd-tmpfiles.
----------
d /run/cntk 0777 root root -
----------

jerry73204 commented on 2017-10-12 02:22

Please add the missing dependency "lapacke".