<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://stage.nitrcce.org/export/rss20_forum.php?forum_id=1316" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC Pipeline system for Octave and Matlab Forum: open-discussion</title>
  <link>http://stage.nitrcce.org/forum/forum.php?forum_id=1316</link>
  <description>General Discussion</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Sat, 18 Apr 2026 10:00:43 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>Deactivate PSOM for debuging</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=9732&amp;forum_id=1316</link>
   <description>Is it possible to temporarily deactivate the error catching method of PSOM to debug a function?&lt;br /&gt;
&lt;br /&gt;
Arno</description>
   <author>Arnaud Delorme</author>
   <pubDate>Sat, 27 Oct 2018 18:08:52 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=9732&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>I have a problem about psom_run_script.m</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=8295&amp;forum_id=1316</link>
   <description>Dear Pierre:&lt;br /&gt;
There are some mistakes when I run the psom program:&lt;br /&gt;
&lt;br /&gt;
Error: File: psom_run_script.m Line: 413 Column: 29&lt;br /&gt;
Unexpected MATLAB expression.&lt;br /&gt;
&lt;br /&gt;
The Line 413 Column 29 is&lt;br /&gt;
psom_ppn = getenv(&amp;quot;PSOM_WORKER_PPN&amp;quot;) &lt;br /&gt;
&lt;br /&gt;
1）Double quotes are invalid characters in MATLAB, and I found out the Syntax os getenv is single quotes(http://cn.mathworks.com/help/matlab/ref/getenv.html), so I I turned double quotes into single quotes;&lt;br /&gt;
2)  But MATLAB still display the mistake &amp;quot;Error: File: psom_run_script.m Line: 413 Column: 29&lt;br /&gt;
Unexpected MATLAB expression.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Thanks so much.</description>
   <author>Jianing Zhang</author>
   <pubDate>Fri, 21 Jul 2017 13:24:48 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=8295&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>RE: Restart job if files_out are missing</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7646&amp;forum_id=1316</link>
   <description>Thanks for the reply!&lt;br /&gt;
&lt;br /&gt;
Yes, I was thinking of a use case like make: a simple `make` or `make all` will regenerate everything necessary to make the `all` target, including to recreate any dependency files.&lt;br /&gt;
&lt;br /&gt;
It sounds like a similar process for PSOM would be to create an 'all' job that depends on the others, or something similar. I'll play with it for my case.</description>
   <author>Joel Parker</author>
   <pubDate>Wed, 17 May 2017 20:03:50 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7646&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>RE: Restart job if files_out are missing</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7646&amp;forum_id=1316</link>
   <description>I somehow missed this post, sorry for the very late answer. PSOM does not automatically reprocess jobs with missing outputs. The main reason is that PSOM allows for &amp;quot;clean up&amp;quot; jobs, i.e. jobs that remove files. If you re-run a pipeline to change a job at the end, you will not expect to re-run all jobs that generate intermediate outputs, unless those are necessary to run the jobs that have changed. &lt;br /&gt;
&lt;br /&gt;
So, when re-running pipelines, any change in options or input/output file names will trigger a re-start of a job. If this job requires inputs that are missing, and that can be generated by other jobs, those will also be restarted (and that behavior is recursive).&lt;br /&gt;
&lt;br /&gt;
You can force to restart the job called 'job' with the following option for `psom_run_pipeline`:&lt;br /&gt;
&lt;br /&gt;
opt.restart = { 'job' };&lt;br /&gt;
&lt;br /&gt;
There is no flag to restart jobs with missing outputs. Would not be hard to implement though, if you think this is useful. &lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
&lt;br /&gt;
Pierre</description>
   <author>Pierre Bellec</author>
   <pubDate>Mon, 27 Feb 2017 4:13:04 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7646&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>Restart job if files_out are missing</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7646&amp;forum_id=1316</link>
   <description>Maybe I had the wrong expectation, but I assumed that if I created a job like this:&lt;br /&gt;
[code]&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;pipeline.job.command = 'mycommand';&lt;br /&gt;
&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;pipeline.job.files_out = 'myfile.txt';[/code]&lt;br /&gt;
Then if 'myfile.txt' was missing, 'job' would be run. But what I actually see is that if I run psom_run_pipeline once, then delete 'myfile.txt', then run psom_run_pipeline again, 'job' is not rerun.&lt;br /&gt;
&lt;br /&gt;
Was my expectation wrong, or is there some other way to trigger this behavior?</description>
   <author>Joel Parker</author>
   <pubDate>Tue, 24 Jan 2017 16:40:32 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7646&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>RE: File '1.txt' when 'background' mode is used </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</link>
   <description>Dear Pierre,&lt;br /&gt;
&lt;br /&gt;
I'm sorry. &lt;br /&gt;
Maybe it's my modification of the original code.&lt;br /&gt;
&lt;br /&gt;
The new version work well.&lt;br /&gt;
Thanks very much.&lt;br /&gt;
&lt;br /&gt;
Best wishes &lt;br /&gt;
&lt;br /&gt;
Zaixu</description>
   <author>Zaixu Cui</author>
   <pubDate>Tue, 14 Jul 2015 6:15:52 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>RE: File '1.txt' when 'background' mode is used </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</link>
   <description>Dear Zaixu,&lt;br /&gt;
&lt;br /&gt;
I was unable to find the line of code you are referring to. In the current version of the code there is no file '1.txt'. This does not ring a bell, and I would be surprised if any component of PSOM wrote files without specifying the full path. I suspect this may be a modification to the original code. If you do find the problematic code in the head revision of PSOM, please let me know the line number:&lt;br /&gt;
https://github.com/SIMEXP/psom/blob/master/psom_run_script.m&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
&lt;br /&gt;
Pierre</description>
   <author>Pierre Bellec</author>
   <pubDate>Fri, 10 Jul 2015 3:37:35 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>RE: File '1.txt' when 'background' mode is used </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</link>
   <description>Dear Pierre,&lt;br /&gt;
&lt;br /&gt;
I think I have found the solution of this problem.&lt;br /&gt;
&lt;br /&gt;
I have modified 'fopen('1.txt', 'w')' in the script 'psom_run_script.m' to 'fopen(['~' filesep '1.txt'], 'w')'.&lt;br /&gt;
As we know, in the linux '~' is a symbol of the personal directory, so this command will create file 1.txt in the personal directory of the user and there is no permission problem.&lt;br /&gt;
&lt;br /&gt;
Best wishes&lt;br /&gt;
&lt;br /&gt;
Zaixu</description>
   <author>Zaixu Cui</author>
   <pubDate>Mon, 06 Jul 2015 8:50:52 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>File '1.txt' when 'background' mode is used </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</link>
   <description>Dear Pierre,&lt;br /&gt;
&lt;br /&gt;
I have noticed that PSOM will create a file named '1.txt' in the current path of matlab when 'background' mode is used (the code is in the psom_run_script.m). &lt;br /&gt;
[size= 10px]However, if we don't write permission in the current path, then the error occurred.[/size]&lt;br /&gt;
[size= 10px]In fact, this is very common when PANDA used.[/size]&lt;br /&gt;
&lt;br /&gt;
[size= 10px]I recommend that this file can be stored in the personal fold (/home/username) of users in Linux.[/size]&lt;br /&gt;
[size= 10px]Because we can ensure that the user have the write permission for the fold /home/username.[/size]&lt;br /&gt;
&lt;br /&gt;
[size= 10px]Best wishes[/size]&lt;br /&gt;
&lt;br /&gt;
[size= 10px]Zaixu[/size]&lt;br /&gt;
[size= 10px]&lt;br /&gt;
[/size]&lt;br /&gt;
&lt;br /&gt;
[size= 10px] [/size]</description>
   <author>Zaixu Cui</author>
   <pubDate>Sat, 04 Jul 2015 1:20:33 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5672&amp;forum_id=1316</guid>
  </item>
  <item>
   <title>RE: Jobs keep on running</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5342&amp;forum_id=1316</link>
   <description>Dear Chaoyi,&lt;br /&gt;
&lt;br /&gt;
I realize this update probably comes too late to be relevant anymore, but I am posting this as a future reference. I just released PSOM 1.2.0 which should be stable on *nix systems. &lt;br /&gt;
https://github.com/SIMEXP/psom/releases/tag/v1.2.0&lt;br /&gt;
&lt;br /&gt;
One of the new features is the detection of inactive jobs, which become marked as failed. You should therefore not have jobs &amp;quot;running&amp;quot; forever. You can use opt.nb_resub to automatically resubmit jobs that fail a number of times before giving up. So if some of your jobs randomly crash with an out of memory, setting opt.nb_resub to 1 or 2 may be enough to complete the pipeline fully automatically despite the failures. &lt;br /&gt;
&lt;br /&gt;
I hope this helps. Best,&lt;br /&gt;
&lt;br /&gt;
Pierre</description>
   <author>Pierre Bellec</author>
   <pubDate>Mon, 22 Jun 2015 21:36:06 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5342&amp;forum_id=1316</guid>
  </item>
 </channel>
</rss>
