A sample, called sample.m, is provided with is located in the
IBM® Spectrum Symphony Developer Edition.
Modify this sample to suit your environment.
About this task
The sample.m sample is located in the following directory:
Procedure
- Modify sample.m based on your environment:
- Change the data location on line 10. It should be a network shared file system path
that can be read and written from all client hosts.
- Change the compute hosts' MATLAB installation root path on line 16.
- The sample uses
Admin
as an
example for both the username and password. On line 19, replace Admin
with the real
username and password for your cluster.
- Enable application symexecversion:
soamcontrol app enable symexecversion
- Start MATLAB:
- Open the command console.
- Source client profile:
- Linux:
source ${SOAM_HOME}/profile.client
- Windows:
%SOAM_HOME%\version\w2k3_x64-vc7-psdk\bin\symclientenv.bat
- In the same console window, run the command matlabto start MATLAB.
- Add the directories of the integration scripts and sample.m into the
MATLAB search path. On Windows, MATLAB R2012b and later
versions all use the scripts under the %SOAM_HOME%\integration\Matlab\R2012b\
directory.
- Run the sample.