open-discussion > I have a problem
Showing 1-4 of 4 posts
Display:
Results per page:
Sep 21, 2011  09:09 AM | cui zaixu
I have a problem
Dear Pierre,

I'm Zaixu. My OS is Ubuntu 11.04.
After reading your email, I set opt.flag_debug = true.
The process is as listed:



The pipeline has been successfully initialized !

opt_proc = 

                     mode: 'batch'
    mode_pipeline_manager: 'batch'
               max_queued: 2
             qsub_options: ''
            shell_options: ''
           command_matlab: 'matlab'
      time_between_checks: []
      nb_checks_per_point: []
               flag_debug: 1
             flag_verbose: 1
              init_matlab: ''

I am sending the pipeline manager in the background using the 'batch' command.


The following shell script is used to run the pipeline manager in the background :
matlab -nosplash -nodesktop -r "load('/home/cuizaixu-node1/program/matlab_work/logs/PIPE.mat','path_work'), if ~strcmp(path_work,'gb_psom_omitted'), path(path_work), end, load('/home/cuizaixu-node1/program/matlab_work/logs/PIPE_manager_opt.mat'), psom_pipeline_process('/home/cuizaixu-node1/program/matlab_work/logs/PIPE.mat',opt),exit"


The pipeline manager is about to start up now. Press CTRL-C to abort.

The call to at/qsub/msub produced the following message :
warning: commands will be executed using /bin/sh
job 92 at Wed Sep 21 17:29:00 2011




*********************************
The pipeline is currently running
*********************************

I could not find any log file. This pipeline has not been started (yet?). Press CTRL-C to cancel.
I could not find any log file. This pipeline has not been started (yet?). Press CTRL-C to cancel.

***********************************************
The pipeline PIPE is now being processed.
Started on 21-Sep-2011 17:29:04
user: cuizaixu-node1, host: node1, system: unix
***********************************************
21-Sep-2011 17:29:04 - The job message has been submitted to the queue (1 jobs in queue).
The batch command was : at -f /home/cuizaixu-node1/program/matlab_work/logs/tmp/message.sh now
 The feedback was : warning: commands will be executed using /bin/sh
job 93 at Wed Sep 21 17:29:00 2011

21-Sep-2011 17:29:04 - The job tseries1 has been submitted to the queue (2 jobs in queue).
The batch command was : at -f /home/cuizaixu-node1/program/matlab_work/logs/tmp/tseries1.sh now
 The feedback was : warning: commands will be executed using /bin/sh
job 94 at Wed Sep 21 17:29:00 2011

.....

Could you figure out something wrong from information listed .
Thanks for your help.


Attachment is log files. 
Attachment: logs.tar.gz
Sep 21, 2011  03:09 PM | Pierre Bellec
RE: I have a problem
Dear Zaixu,

I may know what the problem is. When you specify the name of the log folder, it has to end with '/' on unix or Mac (or '\' on windows). A correct example is:
>> opt.path_logs = '/home/pbellec/svn/psom/trunk/data_demo/';

While the following example will result in the problem you describe:

>> opt.path_logs = '/home/pbellec/svn/psom/trunk/data_demo';

This is not exactly a bug, but certainly qualifies for annoying behavior. In the next release of PSOM (coming out really really soon), the final '/' will be automatically added if missing.

Please let me know if I guessed correctly.

Best regards,

Pierre
Sep 22, 2011  12:09 AM | cui zaixu
RE: I have a problem
Dear Pierre ,

Your are right. This is the problem , and the PSOM runs sucessfully now.

Thanks for your help.

In the next days, I will use PSOM for a long time .

I may bother you if I encounted a problem.

Thanks for your patient guidance.

Best regards,

Zaixu
Sep 28, 2011  01:09 AM | Pierre Bellec
RE: I have a problem
Sorry for the late answer. For some reason I had not turned on the monitoring of the forum :) . Please let me know if you run into any problem. I am preparing for release 1.0 (and a paper), so now is a good time to fix any glitches.

Best,

Pierre