![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Fortran
文章平均质量分 57
安达充
弱小和无知不是生存的障碍,傲慢才是。
展开
-
【Fortran】Fortran可选参数optional和接口interface的示例程序
代码module mod_tools implicit none integer,parameter :: its = 1 integer,parameter :: ite = 4 integer,parameter :: jts = 1 integer,parameter :: jte = 3 integer,parameter :: kms = 1 integer,parameter :: kme = 2 interface test_optional原创 2021-06-24 11:19:09 · 2632 阅读 · 0 评论 -
【Fortran】MPI_Gather及MPI_Gatherv的Fortran测试代码
1.函数说明MPI_Gather:收集相同长度的数据块。MPI_Gatherv:收集不同长度的数据块。与MPI_Gather类似,但允许每个进程发送的数据块长度不同,并且根进程可以任意排放数据块在recvbuf中的位置。MPI_GatherMPI_Gather( void* sendbuf, int sendcnt, MPI_Datatype sendtype, void* recvbuf, int recvcnts, MPI_Datatype r原创 2021-04-01 18:00:09 · 1160 阅读 · 6 评论 -
【Fortran】CUDA+PGI Fortran安装教程
0 前言教程以Ubuntu系统,显卡为GTX960为例。仅供参考。1 CUDA安装教程1.1 安装前的操作1.1.1 验证是否具有支持CUDA的GPUlspci | grep -i nvidia# result :01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)01:00.1 Audio device: NVIDIA Corporation Device 0原创 2021-02-04 10:10:10 · 4235 阅读 · 12 评论