- 博客(3)
- 收藏
- 关注
原创 vs2019 使用Pthreads--并行计算
参考:https://blog.csdn.net/lhw_666/article/details/108430647https://blog.csdn.net/weixin_40614261/article/details/89552222下载地址:ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip有以下文件:Pre-built.2Pthreads.2QueueUserAPCEx配置要点记录:
2020-11-28 22:00:07 1293
原创 vs2019 使用OpenMP--并行计算
要点记录1.调试→xxxx属性,找到 “配置管理器”,选x64;2. 调试→xxxx属性→C/C++→所有选项→OpenMP支持改为是;3. 注意项目添加C/C++文件后出现"C/C++ ";测试程序,判断素数#include <omp.h>#include <iostream>#include <time.h>#include <math.h>#include <stdlib.h>using namespace std;
2020-11-28 21:42:05 2746
原创 vs2019 使用MPI--并行计算
并行计算–vs2019 使用MPI参考:https://www.jianshu.com/p/119265e21cdfMPI下载地址地址:http://www.mpich.org/downloads/页面最下方找windows版,点击"http",下载msmpisdk.msi和MSMpiSetup.exe,双击安装(默认路径)。配置要点记录:在“调试”->“xxxxx属性”中设置参数;“配置管理器”,选x64;C/C+±>“预处理器”>“编辑”,添加: MPICH_SK
2020-11-28 21:28:22 1166
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人