![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
openMP
文章平均质量分 80
清钟沁桐
for study
展开
-
mpirun 学习验证
1、测试用例基础mpicxx -g -O3 -DLAMMPS_GZIP -DLMP_USER_OMP -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 demo.cppmpirun --bind-to core --allow-run-as-root -np 6 --mca btl ^openib ./a.out#include <mpi.h>#include <stdio.h>int main( int argc, char..原创 2021-07-20 16:26:44 · 2539 阅读 · 1 评论 -
fortran 语法学习之二
1、参考offloading_success.c的写法,将C++翻译为fortran的写法如下 参考https://www.ibm.com/support/knowledgecenter/SSXVZZ_16.1.0/com.ibm.xlcpp161.lelinux.doc/compiler_ref/prag_omp_target.html,第一个参数的默认属性是tofrom!$OMP TARGET MAP (from: isHost) isHost = OMP_IS_INITIAL_D...原创 2021-01-29 12:54:45 · 268 阅读 · 0 评论 -
openMP学习笔记之一 -- 杂记
1、使用libffi启动执行,ffi全称Foreign Function Interface,参考https://www.cnblogs.com/findumars/p/4882620.html的介绍,原创 2021-01-15 12:32:01 · 601 阅读 · 1 评论