fix optimization flag and add hdf5
Merge branch 'master' of github.com:schuang/sw-install