Open fMeow opened 3 years ago
Fix the compatibility issue with old age matlab (tested with MATLAB 2012b on Linux, Centos 8):
sparse([], [], [], 1, []) % this is NOT acceptable sparse([], [], [], 1, 0) % this is acceptable
regexp(script,'(^.*)/logs','tokens'){1}{1}
Slurm offers a set of PBS command (qsub, qdel and etc), but it mandatorily require shebang.
And the solution is simple that to add #!/bin/sh to worker script ($LOG_DIR/tmp/psomX.sh).
#!/bin/sh
$LOG_DIR/tmp/psomX.sh
Matlab backward compatibility
Fix the compatibility issue with old age matlab (tested with MATLAB 2012b on Linux, Centos 8):
regexp(script,'(^.*)/logs','tokens'){1}{1}
Slurm support
Slurm offers a set of PBS command (qsub, qdel and etc), but it mandatorily require shebang.
And the solution is simple that to add
#!/bin/sh
to worker script ($LOG_DIR/tmp/psomX.sh
).