Closed cindytsai closed 2 months ago
@hyschive Can you try compiling libyt
on MacOS?
Because macos-latest
and macos-14
image in GitHub Actions failed to set up Python < 3.11. (Don't know why)
Maybe follow the Install page generated by the PR, it wouldn't take long.
Thank you @ChunYen-Chen for going through the documents, and giving feedbacks.
Hi @hyschive,
I'm enforcing setting velocity_unit
in libyt
. Please update libyt
and use yt_libyt
>= 0.0.8.
Easy Install and MISC Fix
Enhancements
MISC
yt_rma_particle
printing error msg when failing to read particle data from theparticle_data
dictionary even though the particle data isn't loaded. (These kind of particle data will be generated through user-defined C function)Easy Install
libyt
fetches dependencies itself when-DJUPYTER_KERNEL=ON
.libyt/vendor
for reuse and linkage purpose.APIs
uint
(unsigned int),ulong
(unsigned long). This is useless and unnecessary.velocity_unit
toyt_param_yt
. This is important in cosmology simulation.libyt
now enforces user to set this parameter manually.yt_libyt
0.0.8 releasesTest
cmake-build-test.yml
for making sure each option can compile successfully and independently.example-test-run.yml
for runningexample/amr-example
and make sure it can run.Doc
OMPI_MCA_osc=sm,pt2pt
when running libyt in parallel.Example
Bug
Fix the logic of identifying user not-done-yet error and real error. It now follows the rule:
if
) and colon exist at last line and error lineno is at the last line -> not-done-yet(
,[
,"""
) -> not-done-yet[ ] ~Make sure exception hook is set before entering interactive mode or jupyter mode.~
yt.enable_parallelism()
or other stuff. I'm not sure if this is a bug or not. (Probably not, should ask Matt)[x] Fix
yt_libyt
when usingmpi4py
in Serial Mode.GitHub Action
TODOs
jupyter_libyt
on PyPICheck