Hi everyone,
I am trying to install the LSST stack using the newinstall.sh
on a macOS Ventura 13.3.1.
I am following the instructions provided here: Install with newinstall.sh and eups distrib — LSST Science Pipelines
At the command eups distrib install -t v24_0_0 lsst_distrib
, I got the error message at 18/85 sphgeom test phase. I tried several times, but it stopped at the same phase.
I looked up the code - …/sphgeom-xxx/tests/testBox.cc, but I don’t understand why this test failed.
— part of code : …/sphgeom-xxx/tests/testBox.cc —
TEST_CASE(Box3dBounds) {
static double const TOLERANCE = 1.0e-15;
Box b = Box::full();
Box3d bb = b.getBoundingBox3d();
CHECK(bb == Box3d::aroundUnitSphere());
b = Box::fromRadians(0, 0, 2.0 * PI, 0.5 * PI);
bb = b.getBoundingBox3d();
CHECK(bb.x() == Interval1d(-1, 1));
CHECK(bb.y() == Interval1d(-1, 1));
CHECK(bb.z().getB() == 1);
CHECK(bb.z().getA() >= -TOLERANCE && bb.z().getA() <= 0.0);
b = Box::fromRadians(0.25 * PI, -0.25 * PI, 1.25 * PI, 0.25 * PI);
bb = b.getBoundingBox3d();
CHECK(bb.x().getA() == -1);
CHECK(bb.x().getB() >= 0.5 * std::sqrt(2.0));
CHECK(bb.x().getB() <= 0.5 * std::sqrt(2.0) + TOLERANCE);
CHECK(bb.y().getA() >= -0.5 * std::sqrt(2.0) - TOLERANCE);
**CHECK(bb.y().getA() <= -0.5 * std::sqrt(2.0));**
CHECK(bb.y().getB() == 1);
CHECK(bb.z().getA() >= -0.5 * std::sqrt(2.0) - TOLERANCE);
CHECK(bb.z().getA() <= -0.5 * std::sqrt(2.0));
CHECK(bb.z().getB() >= 0.5 * std::sqrt(2.0));
CHECK(bb.z().getB() <= 0.5 * std::sqrt(2.0) + TOLERANCE);
}
The error message at the terminal is
(lsst-scipipe-4.0.5) mychun@nb6-mychun lsst_stack % eups distrib install -t v24_0_0 lsst_distrib
[ 1/85 ] alert_packet g5d8fbe4fe2 (already installed) done.
[ 2/85 ] eigen g04a8d4365e done.
[ 3/85 ] fgcm g941b12d670 done.
[ 4/85 ] obs_decam_data gc3e517dea3 done.
[ 5/85 ] obs_lsst_data gbdb8a927be done.
[ 6/85 ] obs_subaru_data g2f68bc2906 done.
[ 7/85 ] proxmin g33b4157f25 done.
[ 8/85 ] sconsUtils g7374e9d467 done.
[ 9/85 ] sdm_schemas g8d82b3c5dd done.
[ 10/85 ] spectractor g03aae25595 done.
[ 11/85 ] astshim g38293774b4+ac198e9f13 done.
[ 12/85 ] base gf9f5ea5b4d+ac198e9f13 done.
[ 13/85 ] dustmaps_cachedata g41a3ec361e+ac198e9f13 done.
[ 14/85 ] jointcal_cholmod ga68e3ac08d+ac198e9f13 done.
[ 15/85 ] kht g14ffe67dc2+c057cea34b done.
[ 16/85 ] psfex g57437a15a7+ac198e9f13 done.
[ 17/85 ] scarlet gd32b658ba2+4083830bf8 done.
[ 18/85 ] sphgeom ga1cf026fa3+ac198e9f13 ...
***** error: from /Users/mychun/notebooks/lsst_stack/stack/miniconda3-py38_4.9.2-4.0.5/EupsBuildDir/DarwinX86/sphgeom-ga1cf026fa3+ac198e9f13/build.log:
============================= slowest 5 durations ==============================
0.50s call tests/test_Circle.py::flake-8::FLAKE8
0.49s call tests/test_Box.py::flake-8::FLAKE8
0.47s call tests/test_Box3d.py::flake-8::FLAKE8
0.47s call tests/test_HealpixPixelization.py::flake-8::FLAKE8
0.45s call tests/test_Ellipse.py::flake-8::FLAKE8
====================== 211 passed, 28 warnings in 12.91s =======================
Global pytest run completed successfully
Failed test output:
tests/testBox
...........................ERROR [tests/testBox.cc:391 in Box3dBounds] : (bb.y().getA() <= -0.5 * std::sqrt(2.0)) evaluated to false
F. Failure: 28/29 test cases passed (1 failed, 0 skipped)
The following tests failed:
/Users/mychun/notebooks/lsst_stack/stack/miniconda3-py38_4.9.2-4.0.5/EupsBuildDir/DarwinX86/sphgeom-ga1cf026fa3+ac198e9f13/sphgeom-ga1cf026fa3+ac198e9f13/tests/.tests/testBox.failed
1 tests failed
scons: *** [checkTestStatus] Error 1
scons: building terminated because of errors.
+ exit -4
eups distrib: Failed to build sphgeom-ga1cf026fa3+ac198e9f13.eupspkg: Command:
source "/Users/mychun/notebooks/lsst_stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-4.0.5/eups/bin/setups.sh"; export EUPS_PATH="/Users/mychun/notebooks/lsst_stack/stack/miniconda3-py38_4.9.2-4.0.5"; (/Users/mychun/notebooks/lsst_stack/stack/miniconda3-py38_4.9.2-4.0.5/EupsBuildDir/DarwinX86/sphgeom-ga1cf026fa3+ac198e9f13/build.sh) >> /Users/mychun/notebooks/lsst_stack/stack/miniconda3-py38_4.9.2-4.0.5/EupsBuildDir/DarwinX86/sphgeom-ga1cf026fa3+ac198e9f13/build.log 2>&1 4>/Users/mychun/notebooks/lsst_stack/stack/miniconda3-py38_4.9.2-4.0.5/EupsBuildDir/DarwinX86/sphgeom-ga1cf026fa3+ac198e9f13/build.msg
exited with code 252
Please help me overcome this difficulty.