The error message can be ignored. Both MATLABPOOLs are expected to function regardless of the message.
To work around this issue, a unique data location directory must be specified for each local worker pool session on each computer. This may be done according to the following steps:
1. On the MATLAB desktop, navigate to:
Parallel -> Manage Configurations
2. Select the "Local" configuration.
3. Right-click and select "Properties..."
4. Specify the DataLocation directory in the corresponding text box.
Change the 'DataLocation' property programmatically to unique locations by executing the following MATLAB code before starting the Local Scheduler, i.e. before running MATLABPOOL:
sched.DataLocation = /home/users/JohnSmith/.matlab/local_scheduler_data/<directory name>
If using Parallel Computing Toolbox on MATLAB R2012b or later, please consider using the following new API to set the unique scheduler data locations and to start the MATLAB pool. This is because the old API using 'findResource' will be deprecated in a future release.
pc = parcluster('local')
pc.JobStorageLocation = 'C:\temp'