- Open a new instance of MATLAB.
- Run the following command:
Why is there a ~1 hour delay before a submitted job appears in Job Monitor?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 11 Jan 2023
Answered: MathWorks Support Team
on 27 Jan 2023
I am attempting to submit parallel jobs to a MATLAB Distributed Computing Server. After I submit a job, it takes approximately an hour for the job to appear in the Job Monitor. This also only occurs for the first job submitted on a new MATLAB session -- subsequent jobs appear in the Job Monitor shortly after submission.
Why is there such a delay between when the first job is submitted and when it appears in the Job Monitor?
Accepted Answer
MathWorks Support Team
on 11 Jan 2023
This issue may be due to a stale entry on the license search path.
Complete the following steps to help determine if this may be the cause of the delays:
tic; system_dependent('lmfeaturelist', 2); toc
If this command takes more than 2 minutes to run, feel free to stop execution.
Typical execution times for the check are between 0 to 10 seconds. Longer execution times of 10 seconds to 2 minutes indicate latency to license servers. Times greater than 2 minutes indicate a stale network license entry on the license search path. If this is the case, use the "-c" startup flag to test each entry on the license search path to determine which may be causing the delays.
There are two ways you may use the “-c” flag to test license path entries:
A. Start MATLAB from the system command line with the “-c” flag. Do this for each license path entry, until you determine which is causing the delay. For information on how to execute this command, refer to the following documentation links:
B. Edit the “Target” of the MATLAB shortcut to include the “-c” flag. For each entry on the license path, make this change, then attempt to start MATLAB. For information on how to do this, refer to the following documentation link:
To determine all entries being searched along your license path, refer to the following:
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Parallel Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!