1
1

* implement the most basic MPI program one can implement

This commit was SVN r658.
Этот коммит содержится в:
Brian Barrett 2004-02-06 07:19:21 +00:00
родитель a070d9af63
Коммит 446838f5db
6 изменённых файлов: 55 добавлений и 1 удалений

Просмотреть файл

@ -5,4 +5,4 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = support lam
SUBDIRS = support lam mpi

2
test/mpi/.cvsignore Обычный файл
Просмотреть файл

@ -0,0 +1,2 @@
Makefile.in
Makefile

8
test/mpi/Makefile.am Обычный файл
Просмотреть файл

@ -0,0 +1,8 @@
# -*- makefile -*-
#
# $HEADER$
#
include $(top_srcdir)/config/Makefile.options
SUBDIRS = environment

6
test/mpi/environment/.cvsignore Обычный файл
Просмотреть файл

@ -0,0 +1,6 @@
Makefile.in
Makefile
.deps
.gdb_history
.libs
chello

17
test/mpi/environment/Makefile.am Обычный файл
Просмотреть файл

@ -0,0 +1,17 @@
# -*- makefile -*-
#
# $HEADER$
#
include $(top_srcdir)/config/Makefile.options
AM_CPPFLAGS = -I$(top_srcdir)/test/support -DLAM_ENABLE_DEBUG=1
noinst_PROGRAMS = chello
chello_SOURCES = chello.c
chello_LDADD = \
$(top_builddir)/src/libmpi.la \
$(top_builddir)/src/liblam.la
chello_DEPENDENCIES = $(chello_LDADD)

21
test/mpi/environment/chello.c Обычный файл
Просмотреть файл

@ -0,0 +1,21 @@
/* -*- C -*-
*
* $HEADER$
*
* The most basic of MPI applications
*/
#include <mpi.h>
#include <stdio.h>
int
main(int argc, char* argv[])
{
MPI_Init(&argc, &argv);
printf("Hello, World\n");
MPI_Finalize();
return 0;
}