調べたこと、作ったことをメモしています。
こちらに移行中: https://blog.shimazu.me/

mpi

mpi_reduce array example

Link: mpi_reduce array example <blockquote class="link_og_blockquote">Before we talk about mpi_reduce array example, You may like to go through simple MPI Reduce Example to understand the basic concept of Reduction. First of all, mpi_reduce uses two buffers for reduc...</blockquote> MPI_Red…

MPI_Status型について

教科書間違っていた。 MPI_Recvをやろうとしたらstatusがなかなか取れなくて困った。 結局、MPI_Status型は以下。(openmpiのversionは1.4.5) typedef struct ompi_status_public_t MPI_Status; struct ompi_status_public_t { int MPI_SOURCE; int MPI_TAG; …

MPI installation on ubuntu server 12.04

Type a command below $ sudo aptitude install openmpi-bin libopenmpi-dev and after installation, check whether it has correctly done. #include <mpi/mpi.h> int main( int argc, char *argv[] ) { int myid, numprocs; volatile int i; MPI_Init( &argc, &argv </mpi/mpi.h>…