code now compiles on miclogin for xeon and mic with nohdf5 (seg-faults)