Window/ linux configuration and rules

cellprofiler

#1

Hi Cpcluster developper and user,

we would like to use Cpcluster, but we meet some problemes/
We compile cpcluster on the cluster. good
We create a pipeline on a windows Desktop with Create BatchFiles.
Then we would like to test our batch, so we try to execute with appropriate path
path1/Cpcluster path2/Batch_data.mat path2/Batch_2_to_11.mat

But we encounter an error


Warning: Could not find appropriate function on path loading function handle
C:\CellProfiler_MATLAB_1.0.4942\CellProfiler_mcr\CellProfiler\CellProfiler.m>LoadPipeline_Callback

In CPCluster at 7
Analyzing set 2
Elapsed time is 0.000589 seconds.
Batch Error: LoadImages: Error using ==> feval
Undefined function or method ‘LoadImages’ for input arguments of type ‘struct’.
(file: /software/master/discovery/opensource/cpcluster/1.0.5122/CPCluster_mcr/CPCluster/CPCluster.m function: CPCluster line: 31)
??? Error using ==> feval
Undefined function or method ‘LoadImages’ for input arguments of type ‘struct’.

Error in ==> CPCluster at 33


C:\CellProfiler_MATLAB_1.0.4942\CellProfiler_mcr\CellProfiler\CellProfiler.m>LoadPipeline_Callback
This path is a windows path.
We don’t understand why this path appear here and why Cpcluster have a to access to cellprofiler.
Any ideas ?

We compile with Matlab2007b, is it possible to interfere with it ?

Thank you for your answers.

Marie Laure


#2

Hello,
The error that you are receiving is from the CreateBatchFiles module. You will need to change the path as it is specified from the cluster. Note: The slashes are reversed for linux and windows. So, Windows uses a forwardslash and Linux uses a backslash.
~martha