Skip to content

Instantly share code, notes, and snippets.

@smutch
Created June 16, 2014 23:41
Show Gist options
  • Save smutch/3f6fb4b2ef632906fe37 to your computer and use it in GitHub Desktop.
Save smutch/3f6fb4b2ef632906fe37 to your computer and use it in GitHub Desktop.
c: Test compilation code for Paul
/*
* Test code
* GistID:3f6fb4b2ef632906fe37
*
* Complie with:
* /usr/local/x86_64/gnu/openmpi-1.6.1/bin/mpicc -lhdf5 -lhdf5_hl -o test test.c
*
* Run with:
* ./test
*
*/
#include <stdio.h>
#include <hdf5.h>
#include <hdf5_hl.h>
int main(int argc, char *argv[])
{
printf("hello world!\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment