Current Release 2020aYou can run matlab from any node in the psana pool:
No Format |
---|
From any LCLS host:
ssh psana
matlab & |
Current Release is R2020a.
If the matlab command is not accessible, please do the following:
No Format |
---|
export PATH=/usr/local/bin:$PATH |
No Format |
/reg/common/package/scripts/matlic --show-users |
The parallel toolbox allows you to make use of multiple cores on your local node (for example the parfor command will launch matlab workers on the multiple cores that are available).
...
If you have a matlab script named myscript.m in your current directory, a good way to launch matlab in the background is
No Format |
---|
nohup /reg/common/package/matlab/r2013a/bin/matlab -nodesktop -nosplash -r "try; myscript; quit; catch; end" > myoutput.log 2>&1 & |
...
Let's suppose this was done on the host psanacs040psanaxyz. If you lose the connection to psanacs040psanaxyz, you can go back to that node and reattach:
No Format |
---|
ssh psanacs040psanaxyz tmux attach |
You need to remember the node you ran tmux on, or you can use the --show-users switch to matlic to discover this.
...