MATLAB: Does the MDCS 3.3 (MATLAB Distributed Computing Server R2008a) or newer service fail to start on the Linux machine

MATLAB Parallel Server

I am setting up the MATLAB Distributed Computing Server service on my Linux machine in order to run the jobmanager and workers. After I start the MDCS service, I am unable to start a jobmanager or worker. When I check nodestatus, it states that the service is not running.

Best Answer

This issue is generally caused when the MDCS service is started on a machine that is not configured with glibc version 2.3.6 or higher. MATLAB 7.6 (R2008a) and newer are built using glibc 2.3.6, and machines that run glibc 2.3.4 (e.g. RHEL 4) cause MATLAB to prompt the user to continue in order to run MATLAB. This prompt fails to display when starting the MDCS service.
In order to bypass the prompt and allow the MDCS service to start, replace the file
$MATLABROOT/bin/util/oscheck.sh
(where $MATLABROOT is the MATLAB root directory) with the attached file and restart the MDCS service.
For more information about the glibc warning, see the Related Solution listed below.
If you are upgrading to a newer version of MDCS, make sure you stopped the old service and cleared the temporary files:
1. Log in as root.
2. On each cluster node, stop the mdce service by typing the commands
cd oldmatlabroot/toolbox/distcomp/bin
./mdce stop
3. On each cluster node, delete the existing log and checkpoint directories or their contents. By default, these directories are:
/var/log/mdce
/var/lib/mdce