xianyujie commented on issue #15348: Is it possible to add environment 
variables directly to compilation options when compiling Mxnet?
URL: 
https://github.com/apache/incubator-mxnet/issues/15348#issuecomment-505687785
 
 
   @vdantu I want to take part in the FRVT competition. They ask that mxnet 
runs in single-thread mode.
   ```
   Implementations must run in single-threaded mode, because NIST will 
parallelize the test 
   by dividing the workload across many cores and many machines. 
Implementations must ensure 
   that there are no issues with their software being parallelized via the 
fork() function. 
   Developers should take caution with checking threading when using 
third-party frameworks 
   (e.g., TensorFlow, MXNet, etc.).
   ```
   By setting the following steps, the mxnet could run in single-thread mode.
   ```
   compile mxnet with OPENMP=0 
   export OMP_NUM_THREADS=1
   export MXNET_ENGINE_TYPE=NaiveEngine
   ```
   Using NaiveEngine will cause a slight change in the calculation results of 
Ubuntu, but using NaiveEngine will result in errors in the calculation results 
of centos.
   So I want to know how to make mxnet run correctly in single-threaded mode:(

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to