Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jsquyres's full-sized avatar

Jeff Squyres jsquyres

View GitHub Profile
@jsquyres
jsquyres / mpi-onesided-test.cpp
Created October 21, 2015 14:03
Test program from Sebastian Rettenberger <rettenbs@in.tum.de>
#include <mpi.h>
#include <unistd.h>
#include <iostream>
int main(int argc, char* argv[]) {
int provided;
MPI_Init(&argc, &argv);
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
@jsquyres
jsquyres / config.log
Created July 10, 2015 13:38
Open MPI XRC configury update causes build fails on RHEL 6.5
This file has been truncated, but you can view the full file.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Open MPI Run Time Environment configure gitclone, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/home/jsquyres/bogus
## --------- ##
## Platform. ##
@jsquyres
jsquyres / bill-magic.diff
Created June 1, 2015 19:04
Changes for MPI-3.1 RMA chapter
Index: one-side-2.tex
===================================================================
--- one-side-2.tex (revision 1707)
+++ one-side-2.tex (working copy)
@@ -13,12 +13,15 @@
\chapter{One-Sided Communications}
+\mpitermtitleindexsubmain{one-sided}{communication}
\label{chap:one-side-2}
@jsquyres
jsquyres / diff-vs-portland-document.diff
Created June 1, 2015 19:03
MPI 3.1 Final Release candidate
Index: chap-io/io-2.tex
===================================================================
--- chap-io/io-2.tex (revision 2030)
+++ chap-io/io-2.tex (working copy)
@@ -2,6 +2,7 @@
% Version of Wed Jun 18 20:15:00 PDT 1997
\chapter{I/O}
+\mpitermtitleindex{IO@I/O}
\label{chap:io-2}
@jsquyres
jsquyres / mpirun.output
Last active August 29, 2015 14:21
Verbose output from open-ompi/ompi#592 for @rhc54
[7:35] savbu-usnic-a:~/mpi
$ mpirun --mca oob_tcp_keepalive_time 10 --mca errmgr_base_verbose 10 --mca oob_base_verbose 100 --host ivy01,ivy02 --mca btl usnic,sm,self mpi_sleep
[savbu-usnic-a:25277] mca: base: components_register: registering framework errmgr components
[savbu-usnic-a:25277] mca: base: components_register: found loaded component default_orted
[savbu-usnic-a:25277] mca: base: components_register: component default_orted register function successful
[savbu-usnic-a:25277] mca: base: components_register: found loaded component default_tool
[savbu-usnic-a:25277] mca: base: components_register: component default_tool register function successful
[savbu-usnic-a:25277] mca: base: components_register: found loaded component default_app
[savbu-usnic-a:25277] mca: base: components_register: component default_app register function successful
[savbu-usnic-a:25277] mca: base: components_register: found loaded component default_hnp
@jsquyres
jsquyres / get_file_size.f90
Created April 30, 2015 16:34
Fortran Bindings for MPI_File_get_size et al Return 31-bit Values (open-mpi/ompi#91)
program get_file_size
implicit none
include 'mpif.h'
integer :: error
integer :: rank
integer :: fh
integer (kind=MPI_OFFSET_KIND) :: file_size
character (len=*), parameter :: file_name = 'delme.dat'
@jsquyres
jsquyres / ivy04.xml
Created April 21, 2015 12:27
Sample hwloc XML showing lots of PCI VFs
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topology SYSTEM "hwloc.dtd">
<topology>
<object type="Machine" os_index="0" cpuset="0x000fffff" complete_cpuset="0x000fffff" allowed_cpuset="0x000fffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
<page_type size="4096" count="0"/>
<page_type size="2097152" count="0"/>
<info name="DMIProductName" value="UCSC-C240-M3S"/>
<info name="DMIProductVersion" value="A"/>
<info name="DMIBoardVendor" value="Cisco Systems Inc"/>
<info name="DMIBoardName" value="UCSC-C240-M3S"/>
@jsquyres
jsquyres / libfnr warnings
Created March 31, 2015 13:40
libfnr warnings
$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
CC fnr.lo
fnr.c:98:15: warning: 'EVP_CIPHER_CTX_new' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if (!(ctx = EVP_CIPHER_CTX_new())) FNR_handle_errors();
^
/usr/include/openssl/evp.h:638:17: note: 'EVP_CIPHER_CTX_new' has been explicitly marked deprecated here
EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
@jsquyres
jsquyres / ticket-345.diff
Last active August 29, 2015 14:16
MPI 3.1 review: diffs for chapter 17
Index: chap-binding/binding-2.tex
===================================================================
--- chap-binding/binding-2.tex (revision 1852)
+++ chap-binding/binding-2.tex (revision 1853)
@@ -220,7 +220,7 @@
assumed-size array and the actual argument is a strided array,
the call may be implemented with copy-in and copy-out
of the argument. In the case of \ftype{INTENT(OUT)} the copy-in may
-be suppressed by the optimization and the routine is starts execution using
+be suppressed by the optimization and the routine starts execution using
@jsquyres
jsquyres / allreduce_f.c
Created February 28, 2015 19:23
Issue #330 allreduce_f.f90 replacement
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.