# mpi framework
About mpi
---------------
HPCmatlab is a framework for fast prototyping of parallel applications on Matlab.
It uses the Message Passing Interface (MPI) for sending and receiving messages among
different Matlab processes. The users can use mex functions with syntax similar
to the MPI standard syntax.
### This version of HPCmatlab is compatible with Matlab versions up to R2015a only. It is not compatible with Matlab versions R2015b onward. We are currently adding support for newer Matlab versions.
Version 2.0
-----------
This version includes our MPI functions.
Documentation
-------------
The User Guide for this version is included in form of the PDF file
"HPCmatlab_1.0_User_Guide.pdf" under `doc/`
For users new to parallel programming, we recommend trying out the simple
send-receive examples first to get started with the framework.
For details on implementation and performance results, refer our conference paper
URL: http://dx.doi.org/10.1016/j.procs.2016.05.467
A PDF copy of this paper can also be found under `doc/`. ([CC BY-NC-ND 4.0] (https://creativecommons.org/licenses/by-nc-nd/4.0/ "CC BY-NC-ND 4.0"))
Examples
--------
The examples of simple programs using point-to-point, collective and one-sided
communications are included under `examples/` directory.
They also have sample job submission files for SLURM.
Installation and Use
--------------------
在yhmatsoft中,pkg install name.tar.gz
GitHub download page: https://github.com/xinchenguo/HPCmatlab
1. Make sure Matlab's `mex` compiler is in your $PATH.
Also, `mpicc` and `mpicxx` should be in $PATH with all environment variables set up
for MPI libraries.
2. Run `make` to compile the MEX functions from source code.
The MEX functions will be placed under `matlab/` directory.
3. There are two ways to add the path to these functions to Matlab's search path:
* Before running your script, set the `MATLABPATH` environment variable, e.g.
`export MATLABPATH=/path/to/HPCmatlab/matlab:$MATLABPATH`
* At the start of your Matlab script, use Matlab's `addpath` function.
Refer examples for how to do this.
4. Use the default MPI command (`mpirun`,`mpiexec`,`srun`, etc.) of a cluster to start MATLAB with HPCmatlab framework.
* `mpirun -n 2 matlab -r "test,exit"`
* Refer to your cluster's user guide or consult your system admin for the proper MPI command
Contact
-------
Use our GitHub page for questions, bug reports, comments, feedback and suggestions:
https://github.com/xinchenguo/HPCmatlab/issues
Citation
--------
```
@article{Guo20161461,
title = "HPCmatlab: A Framework for Fast Prototyping of Parallel Applications in Matlab ",
journal = "Procedia Computer Science ",
volume = "80",
number = "",
pages = "1461 - 1472",
year = "2016",
note = "International Conference on Computational Science 2016, \{ICCS\} 2016, 6-8 June 2016, San Diego, California, \{USA\} ",
issn = "1877-0509",
doi = "http://dx.doi.org/10.1016/j.procs.2016.05.467",
url = "http://www.sciencedirect.com/science/article/pii/S1877050916309516",
author = "Xinchen Guo and Mukul Dave and Mohamed Sayeed",
keywords = "Parallel Programming",
keywords = "Message Passing Interface",
keywords = "Matlab",
keywords = "MEX Functions",
keywords = "Parallel I/O "
}
```
没有合适的资源?快使用搜索试试~ 我知道了~
octave/matlab mpi并行包
需积分: 0 1 下载量 110 浏览量
2023-07-21
16:24:46
上传
评论
收藏 936KB GZ 举报
温馨提示
共71个文件
c:45个
m:10个
sh:8个
该第三方包并不是octave官网的mpi包,增加了较多的通信函数,适用于LINUX octave开源数值计算软件,可直接pkg install xxx.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
mpi-v2.0.tar.gz (71个子文件)
mpi-v2.0
doc
ICCS_HPCmatlab_paper.pdf 646KB
HPCmatlab_1.0_User_Guide.pdf 413KB
src
MPI_Init.c 1KB
MPI_Cart_coords.c 2KB
MPI_Isend.c 2KB
MPI_Allgather.c 2KB
Makefile 472B
MPI_Comm_rank.c 1KB
MPI_Win_create.c 2KB
MPI_File_close.c 2KB
MPI_Send.c 2KB
MPI_Barrier.c 1KB
MPI_Gather.c 2KB
MPI_Sendrecv.c 2KB
GetMPIDataType.c 2KB
MPI_Comm_size.c 2KB
MPI_Scatter.c 2KB
MPI_Win_unlock.c 2KB
MPI_Alltoall.c 2KB
MPI_Bsend.c 2KB
MPI_Irecv.c 2KB
MPI_Put.c 2KB
GetMPITYPES.c 2KB
MPI_File_read.c 2KB
GetMPIEnvironment.m 3KB
MPI_Waitall.c 2KB
MPI_Bcast.c 2KB
MPI_Finalize.c 1KB
GetMPIOp.c 2KB
MPI_Win_fence.c 2KB
MPI_Reduce.c 2KB
MPI_Win_lock.c 2KB
MPI_Abort.c 1KB
MPI_File_write.c 2KB
MPI_Win_flush.c 1KB
MPI_Win_free.c 1KB
MPI_Cart_create.c 2KB
MPI_File_open.c 2KB
MPI_Allreduce.c 2KB
GetMPIIO.c 2KB
GetMPICOMMWORLD.c 2KB
MPI_Get.c 2KB
MPI_Recv.c 2KB
MPI_File_set_size.c 2KB
MPI_File_iread_at.c 2KB
MPI_File_seek.c 2KB
MPI_File_read_at.c 2KB
MPI_File_write_at.c 2KB
MPI_File_iwrite_at.c 2KB
LICENSE 26KB
examples
collective
matlabtest.sh 190B
octavetest.sh 136B
test.m 3KB
rma
matlabtest.sh 195B
lock_test.m 1KB
octavetest.sh 136B
test.m 1KB
io
matlabtest.sh 190B
octavetest.sh 137B
itest.m 918B
seek.m 764B
test.m 910B
point2point
sendrecv.m 949B
matlabtest.sh 177B
octavetest.sh 136B
itest.m 1KB
test.m 2KB
.gitignore 340B
DESCRIPTION 394B
README.md 3KB
COPYING 34KB
共 71 条
- 1
资源评论
fireAj
- 粉丝: 7
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- pta题库答案c语言之排序4统计工龄.zip
- pta题库答案c语言之树结构7堆中的路径.zip
- pta题库答案c语言之树结构3TreeTraversalsAgain.zip
- pta题库答案c语言之树结构2ListLeaves.zip
- pta题库答案c语言之树结构1树的同构.zip
- 基于C++实现民航飞行与地图简易管理系统可执行程序+说明+详细注释.zip
- pta题库答案c语言之复杂度1最大子列和问题.zip
- 三维装箱问题(Three-Dimensional Bin Packing Problem,3D-BPP)是一个经典的组合优化问题
- 以下是一些关于Linux线程同步的基本概念和方法.txt
- 以下是一个简化的示例,它使用pygame库来模拟烟花动画的框架.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功