openmpi

    0热度

    1回答

    我想使用MPI_SEND()和MPI_RECV()一个孩子,其父进程,通过使用MPI_Comm_spawn创造之间的沟通创造了父子进程之间MPI_RECV如下面可以看到: Parent.f90 program master use mpi implicit none integer :: ierr, num_procs, my_id, intercomm, i, array(10)

    0热度

    2回答

    我在global_filetable中有4个文件路径,我试图将2个pilepath分散到每个进程。 0有适当的2路,但有一点很奇怪的过程中1(空)的过程... 编辑: 下面是完整的代码: #include <stdio.h> #include <limits.h> // PATH_MAX #include <mpi.h> int main(int argc, char *argv[])

    0热度

    1回答

    首先:我在Linux Mint的17.3 64 什么我迄今所做的: Guide to install Open MPI 1.8 Guide to install MPI 试图删除执行的MPI:sudo apt-get install libcr-dev mpich2 mpich2-doc(实际上应该没有安装) 我可以从终端看: 输出:echo $PATH /path/to/mpj//bin:/ho

    3热度

    1回答

    我需要更新一些旧代码以使用最新版本的OpenMPI,但我很困惑新的--map - 系统。特别是,我不知道如何替换--cpus-per-proc N. 有几个网站建议使用--map-by节点:pe = N,但是当我尝试这个时,它给了我一个不同的结果。 原来的命令是: mpirun -np 3 --report-bindings --bind-to-core --cpus-per-proc 3 ./t

    0热度

    1回答

    在OpenMPI代码库中,每个模块都有多个变体。拨打mpirun时,您可以从Modular Component Architecture (MCA)中选择您想要使用的模块。这些选项包括... 集体算法(COLL):基本的,调谐,间,CUDA,毫升,SM,... 字节转移层(BTL):openib,TCP,.. 。 点至点管理层(PML):厘米,OB1,... 匹配传输层(MTL):MXM,PSM,

    1热度

    1回答

    我有一个可在多个计算节点上运行的大规模代码,可运行在许多CPU内核上。代码使用C++并与OpenMPI并行。 我的代码有一个非常大的对象(〜10GB内存使用量),它是由每个MPI进程读取的。该对象偶尔会更新(可以通过单个进程完成,只需读取数据文件即可)。 我到目前为止一直在做的是给每个MPI过程一个这个对象的副本;但这意味着我受到严格的RAM限制,无法使用节点的全部CPU功能。所以,我一直在阅读有

    0热度

    2回答

    我试图在主从之间来回发送std::list<int>。但我不确定如何创建MPI数据类型并将列表传递给从机。我想这样做,而不使用另一个库,如boost。我正在努力解决这个post,但我无法与list一起工作。以下是我正在使用的代码。 #include <iostream> #include <list> #include "mpi.h" #include <stdio.h> #include

    4热度

    1回答

    我使用Omnet ++和静脉进行模拟,它工作正常,直到我从Ubuntu 15升级到16.04 LTS昨晚。现在,我试图运行模拟时出现以下错误:error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory 我搜索了libmpi.so.1,它似乎缺

    0热度

    1回答

    我正在学习如何使用OpenMPI和Fortran。通过使用OpenMPI文档,我试图创建一个简单的客户端/服务器程序。然而,当我运行它从客户端收到以下错误: [Laptop:13402] [[54220,1],0] ORTE_ERROR_LOG: Not found in file dpm_orte.c at line 167 [Laptop:13402] *** An error occurr

    0热度

    1回答

    我们是否有关于邮件大小的限制MPI_Send或MPI_Recv - 或通过计算机限制?当我尝试发送大量数据时,无法完成。 这是我的代码: #include <stdio.h> #include <stdlib.h> #include <mpi.h> #include <math.h> #include <string.h> void AllGather_ring(void* data,