readme

来自「并行计算的例子程序 环境需要lam/Linux 可从lam-mpi.org找到」· 代码 · 共 34 行

TXT
34
字号
Copyright (c) 2001-2003 The Trustees of Indiana University.                          All rights reserved.Copyright (c) 1998-2001 University of Notre Dame.                         All rights reserved.Copyright (c) 1994-1998 The Ohio State University.                          All rights reserved.This file is part of the LAM/MPI software package.  For licenseinformation, see the LICENSE file in the top level directory of theLAM/MPI source distribution.$HEADER$trivial is a most basic message-passing program that transfers onemessage between two processes.  Two versions are supplied: one in Cand the other in Fortran.Use "make" to compile this example.  Make will use mpicc and mpif77 tocompile these programs:        mpicc -o trivialc trivialc.c        mpif77 -o trivialf trivialf.fezstart.c is a master/slave skeleton used in "MPI Primer / DevelopingWith LAM".  See the Mandelbrot example for a more completemaster/slave program.  A sample schema file is provided in thisdirectory (see the file "myapp"), or you can simply use mpirun tolaunch the executable.  For example:        mpirun C trivialc        mpirun C trivialf

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?