- NOTE: Starting in R2019a the following name changes occurred:
- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs
- mjs_def.bat file is located in $MATLAB/R20XXx/toolbox/distcomp/bin for R2019a and earlier.
Why do I receive a segmentation violation when starting a worker for the MATLAB Distributed Computing Engine?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 27 Jun. 2009
Bearbeitet: MathWorks Support Team
am 5 Dez. 2019
I have configured the mdce service on my Red Hat machine and have verified that mdce is running. When starting a worker on the Red Hat machine, I receive a segmentation violation in the worker log containing the followin stack trace:
Stack Trace:
[0] libmwmpath.so:mpCombinePathName(0x401885a0, 0, 0x40172a60 "toolbox_cache-7.0.1-glnx86.xml", 0) + 32 bytes
[1] libmwservices.so:svGetToolboxCacheFile(0, 0, 0, 0xbfffd210) + 96 bytes
[2] libmwbridge.so:mnRunLoginScript(0x4026fbb0, 0x08672720, 0xbfffd338, 0x40266b54) + 641 bytes
[3] libmwbridge.so:mnRunPathDependentInitialization()(0, 0x4026fe64, 335, 0xbfffd2c4) + 37 bytes
[4] libmwmcr.so:mcr_init_handler_cpp(mcrInstance*, mcrOptionsInternal*, MfileReader*, bool volatile*, bool volatile*)(0x0809f260, 0x0809d240, 0x0809f288, 0xbfffd36f) + 492 bytes
[5] libmwmcr.so:mcrInstance::mcrInstance(mcrOptions&, MfileReader*)(0x0809f260, 0xbfffd600, 0x0809f288, 0xbfffdc4c) + 481 bytes
[6] MATLAB:mcrMain(int, char**)(11, 0xbffff6b4, 0xbffff668, 0x4202b319) + 239 bytes
[7] MATLAB:main(11, 0xbffff6b4, 0xbffff6e4, 0x400124b8) + 23 bytes
[8] MATLAB:data_start(0x0804a7c4, 11, 0xbffff6b4, 0x0804a3d8) + 72444 bytes
Akzeptierte Antwort
MathWorks Support Team
am 6 Dez. 2019
Bearbeitet: MathWorks Support Team
am 5 Dez. 2019
This error might occur when the mjs service is configured to start at boot time.
To start the mjs manually you must run
$MATLABROOT/toolbox/parallel/bin/mjs start
To allow the mjs service to start properly at boot time, open the mjs script in your $MATLABROOT/toolbox/parallel/bin directory, where $MATLABROOT is your MATLAB installation directory, and add the following two lines to the beginning of the mjs script:
HOME=/
export HOME
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!