PrincetonUniversity / SPEC

The Stepped-Pressure Equilibrium Code, an advanced MRxMHD equilibrium solver.
https://princetonuniversity.github.io/SPEC/
GNU General Public License v3.0
25 stars 6 forks source link

Fix hdf5 errors at PPPL in Beltramierror branch #48

Closed zhucaoxiang closed 6 years ago

zhucaoxiang commented 6 years ago

By putting additional CALL h5dclose_f(dset_id, hdfier) in each HWRITE macros, the previous errors mentioned in #46 were solved at PPPL with hdf5-serial/1.10.1.

Another minor commit that mute ODE integrator warnings in pp00ab.h is also merged.

@jloizu please test this version on your platform and then we can merge it into master branch.

jloizu commented 6 years ago

I will test all this asap (we have some server problems this morning here in Lausanne).

jloizu commented 6 years ago

OK I have compiled and executed this branch now and everything works fine. Does it work for you now with Lcheck=1 as well? If so, we can merge this branch into master.

zhucaoxiang commented 6 years ago

Yes, both cases are working fine, as long as I deleted the previous failing hdf5 file.