1 /* -*- C -*- 2 * 3 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 * University Research and Technology 5 * Corporation. All rights reserved. 6 * Copyright (c) 2004-2005 The University of Tennessee and The University 7 * of Tennessee Research Foundation. All rights 8 * reserved. 9 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 * University of Stuttgart. All rights reserved. 11 * Copyright (c) 2004-2005 The Regents of the University of California. 12 * All rights reserved. 13 * $COPYRIGHT$ 14 * 15 * Additional copyrights may follow 16 * 17 * $HEADER$ 18 * 19 * The most basic of MPI applications 20 */ 21 22 #include <mpi.h> 23 #include <stdio.h> 24 25 int 26 main(int argc, char* argv[]) 27 { 28 MPI_Init(&argc, &argv); 29 30 printf("Hello, World\n"); 31 32 MPI_Finalize(); 33 34 return 0; 35 }