Skip to content

Instantly share code, notes, and snippets.

View lyon-fnal's full-sized avatar

Adam Lyon lyon-fnal

View GitHub Profile
using ADIOS2
function main()
adios = adios_init_serial()
# --- Write a file with two steps with a global array `anArray`
# For step 0, `anArray` will have 200 rows
# For step 1, `anArray` will have 100 rows
iow = declare_io(adios, "Write_MWE")
@lyon-fnal
lyon-fnal / base.c
Last active December 15, 2020 04:35
Trying LD_PRELOAD with Julia
/* build with gcc -shared -fPIC -o base.so base.c */
#include <stdio.h>
void doTheThing() {
printf("BASE\n");
}