matlab createtask,MATLAB中进行并行计算.pdf

MATLAB中进行并行计算

Getting Started with Parallel Computing using

MATLAB: Interactive and Scheduled Applications

Created by S. Zaranek, E. Johnson and A. Chakravarti

1. Objectives

This user guide provides an end user with instructions on how to get started running

parallel MATLAB applications using a desktop computer or a cluster.

2. Assumptions

User has access to MATLAB and Parallel Computing Toolbox on the desktop

computer or head node of the cluster.

If running on a cluster:

MATLAB Distributed Computing Server has been installed by an administrator on

the cluster.

The desktop MATLAB client has been configured to connect to the cluster. If this has

not been done, you should contact the cluster administrator.

3. Getting the Example Files

Unzip the demoFiles.zip file that was provided along with this guide. You can

add the files to the MATLAB path by running the addpath command in

MATLAB.

>> addpath

4. Examples Running Locally

In this section, you will be running and submitting job s using the local

configuration.

If your workflow will ultimately involve submitting jobs to a cluster, you can

follow this section by switching the default configuration from local to that of

your cluster and running these jobs again. This is described in Section 5.

You can set the configuration to local, either at the command-line

>> defaultParallelConfig('local')

or by using the user interface found in the parallel menu. See screen snapshot

below.

For more information on configurations and programming with user

configurations, see:

/access/helpdesk/help/toolbox/distcomp/index.html?/a

ccess/helpdesk/help/toolbox/distcomp/f5-16141.html#f5-16540

1. Using an Interactive MATLAB pool

To interactively run your parallel code, you first need to open a MATLAB pool.

This reserves a col

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值