SIMEXP / psom

pipeline system for octave and matlab
http://psom.simexp-lab.org
Other
24 stars 13 forks source link

getpid does not exist in matlab #93

Open pbellec opened 8 years ago

pbellec commented 8 years ago

PSOM 2.0 makes heavy use of so-called "heartbeat", small processes that can be used to monitor or kill other processes. A the core of this mechanism is the use of process IDs. It so happens that matlab does not have the function getpid that exists in Octave. Instead it has feature('getpid'), which is a syste-dependent feature. Even if this works on linux, it may totally break on windows or OSX. Fun (testing) times ahead....

pbellec commented 8 years ago

successful test run on matlab and linux using feature('getpid'). More testing necessary on OSX and Windows.

pbellec commented 8 years ago

I am closing this issue for now, as it has been addressed for Matlab on Linux. Will re-open if tests on Windows reveal more problems.