Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | ||||||||
Line: 76 to 76 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | ||||||||
Line: 69 to 69 | ||||||||
14) Here (lmstat) is the details of the matlab licenses available to WESTGRID's GLACIER. Additionally, GLACIER was asked by UBC IT Services (the maintainers of the MATLAB license manager) to limit GLACIER to 20 concurrent matlab jobs. | ||||||||
Added: | ||||||||
> > | 15) For a complete PBS (Portable Batch System) reference on, please see PBS Professional User Guide 7.0![]() | |||||||
Note: Please feel free to edit this page. If something isn't clear, then feel free to email Albert Law. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | ||||||||
Line: 66 to 66 | ||||||||
13) If all else fails, then the ultimate matlab licensing solution would involved a system executable which attempts to launch a matlab engine![]() | ||||||||
Added: | ||||||||
> > | 14) Here (lmstat) is the details of the matlab licenses available to WESTGRID's GLACIER. Additionally, GLACIER was asked by UBC IT Services (the maintainers of the MATLAB license manager) to limit GLACIER to 20 concurrent matlab jobs. | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | ||||||||
Line: 33 to 33 | ||||||||
2) Matlab is available but only in single processor format on WESTGRID GLACIER. | ||||||||
Changed: | ||||||||
< < | 3) I have made a Matlab script that will take an M-file (whose primary function is to run many identical test cases with different parameters after some setup code at the top of the M-file) and create a queue to submit to the WESTGRID queue. See a graphics explanation here![]() | |||||||
> > | 3) I have made a Matlab script that will take an M-file (whose primary function is to run many identical test cases with different parameters after some setup code at the top of the M-file) and create a queue to submit to the WESTGRID queue. See a graphics explanation here![]() ![]() | |||||||
Changed: | ||||||||
< < | (Note: The picture was intended for CLUMEQ, but it serves to explain the WESTGRID as well). | |||||||
> > | Note: The picture was intended for CLUMEQ, but it serves to explain WESTGRID as well. | |||||||
4) Resource allocation is a complete mystery despite the assurance of these documents![]() | ||||||||
Line: 45 to 45 | ||||||||
7) WESTGRID GLACIER makes 2 files, stdout and errout, after running your job queue file (ie: PBS file). However, the error file sometimes cuts off if Matlab is writing to that error file (unknown why). This makes debugging Matlab sometimes difficult. Beware.... | ||||||||
Changed: | ||||||||
< < | 8) I have made a matlab script that will kill all the user queues. Check it out here qdelall.m. One uses it like this under matlab: qdelall('your_user_name'); | |||||||
> > | 8) I have made a matlab script that will kill all the user queues. Check it out here qdelall.m![]() | |||||||
9) Sometimes there aren't enough licenses free to execute your program. This is a pain. However, someone has solved this Stupid Cluster Tricks![]() | ||||||||
Line: 58 to 58 | ||||||||
Note: This can be done for every single toolbox required. However, to prevent possible license-required deadlocks![]() ![]() | ||||||||
Changed: | ||||||||
< < | 11) To solve the above 2 problems, one can take the ultimate step and compile the M-file into a system executable. This is done via matlab's compiler![]() ![]() | |||||||
> > | 11) To solve the above problem (not being able to start a matlab session due to lack of licenses), one may have a PBS call that doesn't execute your script until a license is available. Just add "#PBS -l software=MATLAB" to your PBS file (this is done automatically in qsuball.m![]() | |||||||
Changed: | ||||||||
< < | 12) The ultimate matlab licensing solution would involved a system executable which attempts to launch a matlab engine![]() | |||||||
> > | Note: Some PBS systems don't accept this option.
12) If the system does have matlab but lacks licenses for a particular toolbox (ie: it only has 1 license for a required toolbox-- sorta meaningless in a parallel system) or (yet worst) has the wrong version of matlab, then one can take the ultimate step and compile the M-file into a system executable. This is done via matlab's compiler![]() ![]() ![]() | |||||||
Line: 69 to 73 | ||||||||
Note: Please feel free to edit this page. If something isn't clear, then feel free to email Albert Law.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | ||||||||
Line: 33 to 33 | ||||||||
2) Matlab is available but only in single processor format on WESTGRID GLACIER. | ||||||||
Changed: | ||||||||
< < | 3) I have made a Matlab script that will take an M-file (whose primary function is to run many identical test cases with different parameters after some setup code at the top of the M-file) and create a queue to submit to the WESTGRID queue. See a graphics explanation here![]() | |||||||
> > | 3) I have made a Matlab script that will take an M-file (whose primary function is to run many identical test cases with different parameters after some setup code at the top of the M-file) and create a queue to submit to the WESTGRID queue. See a graphics explanation here![]() | |||||||
(Note: The picture was intended for CLUMEQ, but it serves to explain the WESTGRID as well). | ||||||||
Line: 47 to 47 | ||||||||
8) I have made a matlab script that will kill all the user queues. Check it out here qdelall.m. One uses it like this under matlab: qdelall('your_user_name'); | ||||||||
Added: | ||||||||
> > | 9) Sometimes there aren't enough licenses free to execute your program. This is a pain. However, someone has solved this Stupid Cluster Tricks![]() % halt execution for a minute if we can't get the image toolbox while (~license('checkout','image_toolbox')) pause(60); end;Note: This can be done for every single toolbox required. However, to prevent possible license-required deadlocks ![]() ![]() ![]() ![]() ![]() | |||||||
Note: Please feel free to edit this page. If something isn't clear, then feel free to email Albert Law. | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |