# CU-Suite — Complete Cosmology Unified (CU) Ecosystem Reference (`llms-full.txt`) > Unified technical context for AI assistants, search agents, and developers working across all 6 repositories of the Cosmology Unified (CU) GPU-native simulation & inference ecosystem by Haina Huang (Department of Physics, The Chinese University of Hong Kong). ## 1. Repository Map (4 Physics Engines + 1 Forward Model + 1 Orchestrator) 1. **CU-Suite (Orchestrator)**: https://github.com/HainaHuang729/CU-Suite - Single `project.toml` contract, `cu-suite doctor`, SHA-256 provenance, Spec C DMO+Hydro baryon calibration (`HMcode-CU` / `BCM`). - Docs: https://github.com/HainaHuang729/CU-Suite/blob/main/ARCHITECTURE.md - Spec C Summary: https://github.com/HainaHuang729/CU-Suite/blob/main/reports/SPEC_C_CALIBRATION_SUMMARY_20261129.md 2. **CosmoCU (Linear Boltzmann, Nonlinear & AD)**: https://github.com/HainaHuang729/CosmoCU - Zero-dependency C++20/CUDA alternative to CLASS and CAMB (`ell <= 5000`, Recfast-1.5.2 H + He I, curved CMB, isocurvature, double-gauge cross-validation, `HMcode-2020/CU`, 4-component `BCM`, `EFTofLSS`, `TATT`, `Dual<5>`/`Dual<10>` AD, Cobaya/PyTorch/JAX bridges). - Verified accuracy: `0.045%` unlensed / `0.053%` lensed median TT vs `CAMB 2.0.5` (`30 <= ell <= 3000`); batch 14×14 CUDA/host kernel `0.010%` median `P(k)`. 3. **ICU (3LPT Initial Conditions)**: https://github.com/HainaHuang729/ICU - GPU/CPU/MPI 1LPT/2LPT/3LPT alternative to `monofonIC` and `MUSIC` (`phase4` exact dealiasing, `16.86x` memory reduction at `N=1024`, `Philox-4x32-10` bit-exact determinism, two-fluid CDM+baryon + `v_bc`, FD massive neutrinos, ICU-Zoom v2, `icu_generate_to_device`). 4. **gravityCU (VRAM-Resident TreePM, Hydro, Merger Trees & Lightcones)**: https://github.com/HainaHuang729/gravityCU - Project Site: https://hainahuang729.github.io/gravityCU/ (English: https://hainahuang729.github.io/gravityCU/en.html) - Multi-GPU 3D Hilbert TreePM (`1024^3` 100% VRAM-resident on `4x RTX A6000`, `7.26x–9.64x` speedup vs 256-core CPU SWIFT, `0.00453%` max `P(k)` diff at `z=0`, `~86%` node energy reduction), coupled SPH hydro + CHIMES cooling + SN/AGN feedback, GPU FoF/SO halos, on-the-fly merger trees, and >4 GiB ZIP64 HEALPix/pencil-beam lightcones. 5. **21cmCU (21cm Reionization & Inference)**: https://github.com/HainaHuang729/21cmCU - Native C/CUDA + cuFFT `21cmFAST v4` compatible engine (zero CuPy/Numba runtime deps, `2048^3` Y-slab cuFFT + runtime `dlopen` NCCL 2.x, `SKA1-Low`/`HERA-350` 3D mocks, `gravityCU` hybrid bridge, CRN Fisher, C99 Nested Sampling & DE-MC MCMC). 6. **ObsCU (Forward Modeling, SBI & Calibration)**: https://github.com/HainaHuang729/ObsCU - Python/CuPy survey forward modeling (`obscu.weak_lensing`, `mock_galaxies`, `photometry`, `lya_skewers`, `cmb_secondary`, `cross_probes`, `summary_stats`, `calibration`, `sbi`, `forecast`, `imaging_sim`) with 8/8 validation gates (`live_cosmocu_limber_parity err=5.36e-05`) and RTX 4090 GPU acceleration (`Nside=4096` in `0.51 s`, `10^7` halos in `0.82 s`, `85.5x` speedup). ## 2. Canonical Data & Unit Contract - Length: comoving `Mpc` (non-`h`) - Mass: `M_sun` (or `10^10 M_sun` inside gravityCU `.bin` payloads with `.cosmo.env` scale header) - Velocity: peculiar `km/s` - Wavenumber: `Mpc^-1` (non-`h`) - `.cosmo.env` Handoff Keys: `GRAV_COSMO_H0`, `GRAV_COSMO_OMEGA_M`, `GRAV_COSMO_OMEGA_DE`, `GRAV_COSMO_OMEGA_CDM`, `GRAV_COSMO_W0`, `GRAV_COSMO_WA` ## 3. End-to-End Quickstart Commands ```bash # CU-Suite doctor & config provenance git clone https://github.com/HainaHuang729/CU-Suite.git && cd CU-Suite PYTHONPATH=src python3 -m cu_suite.cli doctor PYTHONPATH=src python3 -m cu_suite.cli validate-config configs/cu_project_example.toml # Spec C closed-loop baryon calibration PYTHONPATH=src:../ObsCU/src:../CosmoCU/python python3 scripts/run_spec_c_calibration.py --help ```