Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

PSOM tests

Pierre Bellec edited this page Jul 13, 2014 · 3 revisions

The test simply consists in running psom_config completely without errors. To run the pipeline in 'background' mode, type:

opt_pipe.mode = 'background';
psom_config('',opt_pipe);

To test other modes, just replace 'background' by an appropriate string ('session', 'batch', 'qsub', 'msub'). The result of the test is either 'pass' or 'fail'. If you ran a test on a configuration that is not listed here, please contribute to this project by reporting the result to pierre.bellec (at no spam) criugm.qc.ca

| PSOM  |  Octave  | Matlab | System           | Shell | Mode         | Result   |
| 1.0   |          | R2010b | Windows 7 Home   | NA    | 'session'    | pass     |
| 1.0   |          | R2010b | Windows 7 Home   | NA    | 'background' | pass     |
| 1.0   |          | R2010b | Windows 7 Home   | NA    | 'batch'      | pass     |
| 1.0   | 3.6.2    |        | Gentoo           | bash  | 'batch'      | pass**** |
| 1.0   | 3.6.2    |        | Gentoo           | bash  | 'session'    | pass     |
| 1.0   | 3.6.2    |        | Gentoo           | bash  | 'background' | pass     |
| 1.0   | 3.6.1    |        | Ubuntu 12.04     | tcsh  | 'session'    | pass     |
| 1.0   | 3.6.1    |        | Ubuntu 12.04     | tcsh  | 'background' | pass     |
| 1.0   | 3.6.1    |        | Ubuntu 12.04     | tcsh  | 'batch'      | pass     |
| 1.0   | 3.6.1    |        | Ubuntu 12.04     | bash  | 'session'    | pass     |
| 1.0   | 3.6.1    |        | Ubuntu 12.04     | bash  | 'background' | pass     |
| 1.0   | 3.6.1    |        | Ubuntu 12.04     | bash  | 'batch'      | pass     |
| 0.9   |          | R2008b | OSX 10.6.8       | NA    | 'session'    | pass     |
| 0.9   |          | R2008b | OSX 10.6.8       | NA    | 'background' | pass     |
| 0.9   |          | R2008b | OSX 10.6.8       | NA    | 'batch'      | pass*    |
| 0.9   | 3.4.3    |        | Ubuntu 11.04     | bash  | 'session'    | pass     |
| 0.9   | 3.4.3    |        | Ubuntu 11.04     | bash  | 'background' | pass     |
| 0.9   | 3.4.3    |        | Ubuntu 11.04     | bash  | 'batch'      | pass     |
| 0.9   | 3.2.4    |        | Ubuntu 10.10     | bash  | 'background' | pass     |
| 0.9   | 3.4.2    |        | Windows 7 Cygwin | NA    | 'batch'      | fail**   |
| 0.9   | 3.4.2    |        | Windows 7 Cygwin | NA    | 'session'    | pass     |
| 0.9   |          | R2010b | Windows 7 Home   | NA    | 'session'    | pass     |
| 0.9   |          | R2010b | Windows 7 Home   | NA    | 'background' | pass     |
| 0.9   |          | R2010b | Windows 7 Home   | NA    | 'batch'      | pass     |
| 0.9   |          | R2007b | Windows XP Pro   | NA    | 'session'    | pass     |
| 0.9   |          | R2007b | Windows XP Pro   | NA    | 'background' | pass     |
| 0.9   |          | R2007b | Windows XP Pro   | NA    | 'batch'      | pass     |
| 0.9   | 3.2.4    |        | openSUSE         | bash  | 'background' | pass     |
| 0.9   | 3.2.4    |        | openSUSE         | bash  | 'batch'      | pass***  | 
| 0.9   | 3.2.4    |        | openSUSE         | bash  | 'qsub'       | pass     |

* On Mac OSX, the "at" command is not available to users. The at command will not give any error, but the jobs will never get executed. It is necessary to run the following command in a shell to enable it:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

** The at command does not behave on Cygwin as it does on Linux, and is not appropriate for the purposes of PSOM. This is a known bug that will be fixed in a future release of PSOM (using cygstart).

*** On openSUSE, by default users cannot use "at" (it will return an error message). Please contact your system administrator to enable this command.

*** On Gentoo in batch mode, it is necessary to install the 'at' command, and start the service (type "sudo /etc/init.d/atd start"). To make the changes permanent, add the daemon to the boot list : "sudo rc-update add atd default"

Clone this wiki locally