Closed Multi-Messenger closed 1 year ago
I think that those error messages are all red herrings. Pip shouldn't be attempting to build ligo.skymap from source. There are prebuilt binaries for this package on the Python Package Index that it will install for you with pip install ligo.skymap
.
From your build output, it looks like your operating system is Mac OS X 10.9 (Mavericks). Is that correct? That operating system is not supported. On macOS, this package requires macOS 11 (Big Sur) or newer.
I also meet the similar error when I try to install ligo.skymap on the cluster, the operating system is CentOS Linux 7.7.1908. Here is my Terminal output:
Building wheels for collected packages: ligo.skymap
Building wheel for ligo.skymap (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for ligo.skymap (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [656 lines of output]
test_icx.c:3:2: 错误:#error This is not the Intel oneAPI compiler
#error This is not the Intel oneAPI compiler
^
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/ligo
creating build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/_astropy_init.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/conftest.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/distance.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/healpix_tree.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/kde.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/moc.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
copying ligo/skymap/version.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar
copying ligo/skymap/bayestar/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar
copying ligo/skymap/bayestar/ez_emcee.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar
copying ligo/skymap/bayestar/filter.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar
copying ligo/skymap/bayestar/interpolation.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar
copying ligo/skymap/bayestar/ptemcee.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates
copying ligo/skymap/coordinates/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates
copying ligo/skymap/coordinates/detector.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates
copying ligo/skymap/coordinates/eigenframe.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/extern
copying ligo/skymap/extern/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/extern
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/io
copying ligo/skymap/io/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io
copying ligo/skymap/io/fits.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io
copying ligo/skymap/io/hdf5.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/allsky.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/angle.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/backdrop.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/bayes_factor.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/cmap.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/cylon.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/marker.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/poly.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/pp.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/util.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
copying ligo/skymap/postprocess/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
copying ligo/skymap/postprocess/contour.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
copying ligo/skymap/postprocess/cosmology.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
copying ligo/skymap/postprocess/crossmatch.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
copying ligo/skymap/postprocess/ellipse.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
copying ligo/skymap/postprocess/util.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/tests
copying ligo/skymap/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tests
copying ligo/skymap/tests/test_moc.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/bayestar_inject.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/bayestar_localize_coincs.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/bayestar_localize_lvalert.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/bayestar_mcmc.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/bayestar_realize_coincs.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/bayestar_sample_model_psd.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_combine.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_constellations.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_contour.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_contour_moc.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_flatten.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_from_samples.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot_airmass.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot_coherence.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot_observability.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot_pp_samples.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot_stats.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_plot_volume.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_stats.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/ligo_skymap_unflatten.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
copying ligo/skymap/tool/matplotlib.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/file.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/ilwd.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/numpy.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/progress.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/sqlite.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
copying ligo/skymap/util/stopwatch.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar/tests
copying ligo/skymap/bayestar/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar/tests
copying ligo/skymap/bayestar/tests/test_bayestar.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar/tests
copying ligo/skymap/bayestar/tests/test_interpolation.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar/tests
copying ligo/skymap/bayestar/tests/test_signal_amplitude_model.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/bayestar/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates/tests
copying ligo/skymap/coordinates/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates/tests
copying ligo/skymap/coordinates/tests/test_detector.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/coordinates/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/extern/numpy
copying ligo/skymap/extern/numpy/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/extern/numpy
copying ligo/skymap/extern/numpy/quantile.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/extern/numpy
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/base.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/detector_disabled.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/gracedb.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/hdf.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/ligolw.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/magic.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
copying ligo/skymap/io/events/sqlite.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/events
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests
copying ligo/skymap/io/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests
copying ligo/skymap/io/tests/test_io_events.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data/gstlal_reference_psd
copying ligo/skymap/io/tests/data/gstlal_reference_psd/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data/gstlal_reference_psd
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests
copying ligo/skymap/plot/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests
copying ligo/skymap/plot/tests/test_plot.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess/tests
copying ligo/skymap/postprocess/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess/tests
copying ligo/skymap/postprocess/tests/test_cosmology.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess/tests
copying ligo/skymap/postprocess/tests/test_crossmatch.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/postprocess/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/tests/plugins
copying ligo/skymap/tests/plugins/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tests/plugins
copying ligo/skymap/tests/plugins/omp.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tests/plugins
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_bayestar.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_bayestar_inject.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_combine.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_flatten.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_from_samples.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_help.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_plot.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
copying ligo/skymap/tool/tests/test_plot_stats.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/tool/tests
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/util/tests
copying ligo/skymap/util/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util/tests
copying ligo/skymap/util/tests/test_progress.py -> build/lib.linux-x86_64-cpython-310/ligo/skymap/util/tests
copying ligo/skymap/plot/cylon.csv -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/plot/ne_simplified_coastline.json -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot
copying ligo/skymap/io/tests/data/test.hdf5 -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/2016_subset.xml.gz -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/G197392_coinc.xml.gz -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/G197392_psd.xml.gz -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/G211117_coinc.xml.gz -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/G211117_psd.xml.gz -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data
copying ligo/skymap/io/tests/data/gstlal_reference_psd/H1L1V1-REFERENCE_PSD-967234210-29963.xml.gz -> build/lib.linux-x86_64-cpython-310/ligo/skymap/io/tests/data/gstlal_reference_psd
creating build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_astro-degrees-aitoff.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_astro-degrees-mollweide.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_astro-hours-aitoff.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_astro-hours-mollweide.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_galactic-degrees-aitoff.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_galactic-degrees-mollweide.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_galactic-hours-aitoff.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_galactic-hours-mollweide.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_geo-degrees-aitoff.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_geo-degrees-mollweide.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_geo-hours-aitoff.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_axes_geo-hours-mollweide.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_allsky_obstime.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_globe_axes.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_pp_plot_default.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_pp_plot_lines.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_pp_plot_steps.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_reticle.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
copying ligo/skymap/plot/tests/baseline/test_zoom_axes.png -> build/lib.linux-x86_64-cpython-310/ligo/skymap/plot/tests/baseline
running build_ext
building 'ligo.skymap.core' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/cextern
creating build/temp.linux-x86_64-cpython-310/cextern/chealpix
creating build/temp.linux-x86_64-cpython-310/src
gcc -pthread -B /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -I/tmp/pip-build-env-97rro27n/overlay/lib/python3.10/site-packages/numpy/core/include -Icextern/chealpix -I/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10 -c cextern/chealpix/chealpix.c -o build/temp.linux-x86_64-cpython-310/cextern/chealpix/chealpix.o -std=gnu11 -fvisibility=hidden -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE -fopenmp
gcc -pthread -B /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -I/tmp/pip-build-env-97rro27n/overlay/lib/python3.10/site-packages/numpy/core/include -Icextern/chealpix -I/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10 -c src/bayestar_distance.c -o build/temp.linux-x86_64-cpython-310/src/bayestar_distance.o -std=gnu11 -fvisibility=hidden -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE -fopenmp
gcc -pthread -B /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -I/tmp/pip-build-env-97rro27n/overlay/lib/python3.10/site-packages/numpy/core/include -Icextern/chealpix -I/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10 -c src/bayestar_moc.c -o build/temp.linux-x86_64-cpython-310/src/bayestar_moc.o -std=gnu11 -fvisibility=hidden -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE -fopenmp
gcc -pthread -B /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -I/tmp/pip-build-env-97rro27n/overlay/lib/python3.10/site-packages/numpy/core/include -Icextern/chealpix -I/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10 -c src/bayestar_sky_map.c -o build/temp.linux-x86_64-cpython-310/src/bayestar_sky_map.o -std=gnu11 -fvisibility=hidden -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE -fopenmp
src/bayestar_sky_map.c: 在函数‘log_radial_integrator_init’中:
src/bayestar_sky_map.c:415:0: 警告:忽略 #pragma omp taskloop [-Wunknown-pragmas]
#pragma omp taskloop collapse(2) shared(z0)
^
src/bayestar_sky_map.c: 在函数‘toa_errors’中:
src/bayestar_sky_map.c:527:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c: 在函数‘bayestar_sky_map_toa_phoa_snr_pixel’中:
src/bayestar_sky_map.c:733:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c:741:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NSAMPLES
^
src/bayestar_sky_map.c:743:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c:757:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NU
^
src/bayestar_sky_map.c:765:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c:776:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NSAMPLES
^
src/bayestar_sky_map.c:781:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c:790:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NINT
^
src/bayestar_sky_map.c:793:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NU
^
src/bayestar_sky_map.c:795:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NSAMPLES
^
src/bayestar_sky_map.c:799:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NINT
^
src/bayestar_sky_map.c:805:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NU
^
src/bayestar_sky_map.c:807:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NSAMPLES
^
src/bayestar_sky_map.c:815:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NU
^
src/bayestar_sky_map.c:817:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NSAMPLES
^
src/bayestar_sky_map.c: 在函数‘bayestar_sky_map_toa_phoa_snr’中:
src/bayestar_sky_map.c:986:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c:1052:17: 警告:传递‘bayestar_sky_map_toa_phoa_snr_pixel’的第 15 个参数时在不兼容的指针类型间转换 [默认启用]
u_points_weights, rescale_loglikelihood);
^
src/bayestar_sky_map.c:706:13: 附注:需要类型‘const float (*)[2]’,但实参的类型为‘float (*)[2]’
static void bayestar_sky_map_toa_phoa_snr_pixel(
^
src/bayestar_sky_map.c:1054:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c:1061:21: 警告:传递‘bayestar_sky_map_toa_phoa_snr_pixel’的第 15 个参数时在不兼容的指针类型间转换 [默认启用]
u_points_weights, rescale_loglikelihood);
^
src/bayestar_sky_map.c:706:13: 附注:需要类型‘const float (*)[2]’,但实参的类型为‘float (*)[2]’
static void bayestar_sky_map_toa_phoa_snr_pixel(
^
src/bayestar_sky_map.c:1095:17: 警告:传递‘bayestar_sky_map_toa_phoa_snr_pixel’的第 15 个参数时在不兼容的指针类型间转换 [默认启用]
horizons, u_points_weights, rescale_loglikelihood);
^
src/bayestar_sky_map.c:706:13: 附注:需要类型‘const float (*)[2]’,但实参的类型为‘float (*)[2]’
static void bayestar_sky_map_toa_phoa_snr_pixel(
^
src/bayestar_sky_map.c:1117:13: 警告:传递‘bayestar_sky_map_toa_phoa_snr_pixel’的第 15 个参数时在不兼容的指针类型间转换 [默认启用]
u_points_weights, rescale_loglikelihood);
^
src/bayestar_sky_map.c:706:13: 附注:需要类型‘const float (*)[2]’,但实参的类型为‘float (*)[2]’
static void bayestar_sky_map_toa_phoa_snr_pixel(
^
src/bayestar_sky_map.c:1176:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c: 在函数‘bayestar_log_posterior_toa_phoa_snr’中:
src/bayestar_sky_map.c:1235:0: 警告:忽略 #pragma GCC unroll [-Wunknown-pragmas]
PRAGMA_LOOP_COUNT_NIFOS
^
src/bayestar_sky_map.c: 在函数‘test_eval_snr’中:
src/bayestar_sky_map.c:1325:9: 警告:传递‘eval_snr’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
const float complex result = eval_snr(x, nsamples, t);
^
src/bayestar_sky_map.c:166:22: 附注:需要类型‘const float (*)[2]’,但实参的类型为‘float (*)[2]’
static float complex eval_snr(const float (*x)[2], size_t nsamples, float t) {
^
gcc -pthread -B /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -I/tmp/pip-build-env-97rro27n/overlay/lib/python3.10/site-packages/numpy/core/include -Icextern/chealpix -I/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10 -c src/core.c -o build/temp.linux-x86_64-cpython-310/src/core.o -std=gnu11 -fvisibility=hidden -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE -fopenmp
src/core.c: 在函数‘rasterize’中:
src/core.c:420:5: 警告:‘#pragma GCC diagnostic’后选项未知 [-Wpragmas]
WARNINGS_IGNORE_INCOMPATIBLE_POINTER_TYPES
^
src/core.c:422:9: 警告:传递‘PyArg_ParseTupleAndKeywords’的第 4 个参数时在不兼容的指针类型间转换 [默认启用]
keywords, &arg, &order))
^
In file included from /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10/Python.h:126:0,
from src/core.c:45:
/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10/modsupport.h:41:17: 附注:需要类型‘char **’,但实参的类型为‘const char **’
PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
^
src/core.c: 在函数‘sky_map_toa_phoa_snr’中:
src/core.c:739:5: 警告:‘#pragma GCC diagnostic’后选项未知 [-Wpragmas]
WARNINGS_IGNORE_INCOMPATIBLE_POINTER_TYPES
^
src/core.c:744:9: 警告:传递‘PyArg_ParseTupleAndKeywords’的第 4 个参数时在不兼容的指针类型间转换 [默认启用]
&rescale_loglikelihood))
^
In file included from /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10/Python.h:126:0,
from src/core.c:45:
/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10/modsupport.h:41:17: 附注:需要类型‘char **’,但实参的类型为‘const char **’
PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
^
src/core.c: 在函数‘antenna_factor_loop’中:
src/core.c:989:17: 警告:传递‘antenna_factor’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
*(float *) &args[3][i * steps[3]]);
^
In file included from src/core.c:55:0:
src/bayestar_sky_map.h:137:15: 附注:需要类型‘const float (*)[3]’,但实参的类型为‘float (*)[3]’
float complex antenna_factor(
^
src/core.c: 在函数‘PyInit_core’中:
src/core.c:1130:5: 警告:‘#pragma GCC diagnostic’后选项未知 [-Wpragmas]
WARNINGS_IGNORE_DISCARDED_QUALIFIERS
^
src/core.c:1135:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1135:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1135:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1135:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1135:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1135:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1142:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1142:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1142:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1142:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1142:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1142:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1148:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1148:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1148:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1148:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1148:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1148:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1154:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1154:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1154:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1154:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1154:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1154:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1160:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1160:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1160:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1160:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1160:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1160:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1166:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1166:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1166:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1166:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1166:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1166:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1172:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1172:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1172:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1172:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1172:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1172:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1179:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1179:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1179:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1179:5: 附注:需要类型‘void **’,但实参的��型为‘void * const*’
src/core.c:1179:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1179:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1186:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1186:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1186:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1186:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1186:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1186:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1193:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1193:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1193:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1193:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1193:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1193:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1200:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1200:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1200:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1200:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1200:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1200:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1206:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1206:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1206:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1206:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1206:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1206:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1212:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1212:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1212:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1212:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1212:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1212:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1218:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1218:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1218:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1218:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1218:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1218:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1224:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1224:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1224:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1224:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1224:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1224:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1230:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1230:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1230:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1230:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1230:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int, const char *))*(PyUFunc_API + 248u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1230:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
src/core.c:1237:5: 警告:passing argument 1 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
MODULE_ADD_OBJECT(
^
src/core.c:1237:5: 附注:需要类型‘void (**)(char **, const npy_intp *, const npy_intp *, void *)’,但实参的类型为‘void (* const*)(char **, const npy_intp *, const npy_intp *, void *)’
src/core.c:1237:5: 警告:passing argument 2 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1237:5: 附注:需要类型‘void **’,但实参的类型为‘void * const*’
src/core.c:1237:5: 警告:passing argument 3 of ‘(struct PyObject * (*)(void (**)(char **, const npy_intp *, const npy_intp *, void *), void **, char *, int, int, int, int, const char *, const char *, int))*(PyUFunc_API + 8u)’ discards ‘const’ qualifier from pointer target type [默认启用]
src/core.c:1237:5: 附注:需要类型‘char *’,但实参的类型为‘const char *’
gcc -pthread -B /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -O2 -isystem /home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include -fPIC -I/tmp/pip-build-env-97rro27n/overlay/lib/python3.10/site-packages/numpy/core/include -Icextern/chealpix -I/home/phys/sdyzzy/.conda/envs/pycbc_emcee_old_source_rere/include/python3.10 -c src/cubic_interp.c -o build/temp.linux-x86_64-cpython-310/src/cubic_interp.o -std=gnu11 -fvisibility=hidden -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE -fopenmp
src/cubic_interp.c: 在函数‘cubic_interp_init’中:
src/cubic_interp.c:99:17: 警告:隐式声明函数‘_Generic’ [-Wimplicit-function-declaration]
z[j] = data[VCLIP(i + j - 4, 0, n - 1)];
^
In file included from src/cubic_interp.c:21:0:
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:83:30: 附注:in definition of macro ‘VMIN’
#define VMIN(a, b) _Generic((a), \
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:99:29: 附注:in expansion of macro ‘VCLIP’
z[j] = data[VCLIP(i + j - 4, 0, n - 1)];
^
src/vmath.h:84:5: 错误:expected expression before ‘v2df’
v2df: v2df_min, \
^
src/cubic_interp.c:34:24: 附注:in expansion of macro ‘VMIN’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:99:29: 附注:in expansion of macro ‘VCLIP’
z[j] = data[VCLIP(i + j - 4, 0, n - 1)];
^
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:87:4: 附注:in definition of macro ‘VMIN’
)((a), (b))
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:99:29: 附注:in expansion of macro ‘VCLIP’
z[j] = data[VCLIP(i + j - 4, 0, n - 1)];
^
src/cubic_interp.c: 在函数‘cubic_interp_eval’中:
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:83:30: 附注:in definition of macro ‘VMIN’
#define VMIN(a, b) _Generic((a), \
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:122:9: 附注:in expansion of macro ‘VCLIP’
x = VCLIP(x, xmin, xmax);
^
src/vmath.h:84:5: 错误:expected expression before ‘v2df’
v2df: v2df_min, \
^
src/cubic_interp.c:34:24: 附注:in expansion of macro ‘VMIN’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:122:9: 附注:in expansion of macro ‘VCLIP’
x = VCLIP(x, xmin, xmax);
^
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:87:4: 附注:in definition of macro ‘VMIN’
)((a), (b))
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:122:9: 附注:in expansion of macro ‘VCLIP’
x = VCLIP(x, xmin, xmax);
^
src/vmath.h:96:5: 错误:expected expression before ‘v2df’
v2df: v2df_floor, \
^
src/cubic_interp.c:124:17: 附注:in expansion of macro ‘VFLOOR’
double ix = VFLOOR(x);
^
src/cubic_interp.c: 在函数‘bicubic_interp_init’中:
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:83:30: 附注:in definition of macro ‘VMIN’
#define VMIN(a, b) _Generic((a), \
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:159:30: 附注:in expansion of macro ‘VCLIP’
int ks = VCLIP(is + js - 4, 0, ns - 1);
^
src/vmath.h:84:5: 错误:expected expression before ‘v2df’
v2df: v2df_min, \
^
src/cubic_interp.c:34:24: 附注:in expansion of macro ‘VMIN’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:159:30: 附注:in expansion of macro ‘VCLIP’
int ks = VCLIP(is + js - 4, 0, ns - 1);
^
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:87:4: 附注:in definition of macro ‘VMIN’
)((a), (b))
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:159:30: 附注:in expansion of macro ‘VCLIP’
int ks = VCLIP(is + js - 4, 0, ns - 1);
^
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:83:30: 附注:in definition of macro ‘VMIN’
#define VMIN(a, b) _Generic((a), \
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:162:34: 附注:in expansion of macro ‘VCLIP’
int kt = VCLIP(it + jt - 4, 0, nt - 1);
^
src/vmath.h:84:5: 错误:expected expression before ‘v2df’
v2df: v2df_min, \
^
src/cubic_interp.c:34:24: 附注:in expansion of macro ‘VMIN’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:162:34: 附注:in expansion of macro ‘VCLIP’
int kt = VCLIP(it + jt - 4, 0, nt - 1);
^
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:87:4: 附注:in definition of macro ‘VMIN’
)((a), (b))
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:162:34: 附注:in expansion of macro ‘VCLIP’
int kt = VCLIP(it + jt - 4, 0, nt - 1);
^
src/cubic_interp.c: 在函数‘bicubic_interp_eval’中:
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:83:30: 附注:in definition of macro ‘VMIN’
#define VMIN(a, b) _Generic((a), \
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:200:9: 附注:in expansion of macro ‘VCLIP’
x = VCLIP(x, xmin, xmax);
^
src/vmath.h:84:5: 错误:expected expression before ‘v2df’
v2df: v2df_min, \
^
src/cubic_interp.c:34:24: 附注:in expansion of macro ‘VMIN’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:200:9: 附注:in expansion of macro ‘VCLIP’
x = VCLIP(x, xmin, xmax);
^
src/vmath.h:90:5: 错误:expected expression before ‘v2df’
v2df: v2df_max, \
^
src/vmath.h:87:4: 附注:in definition of macro ‘VMIN’
)((a), (b))
^
src/cubic_interp.c:34:29: 附注:in expansion of macro ‘VMAX’
#define VCLIP(x, a, b) VMIN(VMAX((x), (a)), (b))
^
src/cubic_interp.c:200:9: 附注:in expansion of macro ‘VCLIP’
x = VCLIP(x, xmin, xmax);
^
src/vmath.h:96:5: 错误:expected expression before ‘v2df’
v2df: v2df_floor, \
^
src/cubic_interp.c:202:15: 附注:in expansion of macro ‘VFLOOR’
v2df ix = VFLOOR(x);
^
src/cubic_interp.c: 在文件作用域:
src/vmath.h:57:13: 警告:‘v2df_min’定义后未使用 [-Wunused-function]
static v2df v2df_min(v2df a, v2df b) { return _mm_min_pd(a, b); }
^
src/vmath.h:58:13: 警告:‘v2df_max’定义后未使用 [-Wunused-function]
static v2df v2df_max(v2df a, v2df b) { return _mm_max_pd(a, b); }
^
src/vmath.h:48:13: 警告:‘v2df_floor’定义后未使用 [-Wunused-function]
static v2df v2df_ ## func(v2df a) \
^
src/vmath.h:67:1: 附注:in expansion of macro ‘V2DF_UNARY_OP’
V2DF_UNARY_OP(floor, floor)
^
src/vmath.h:73:12: 警告:‘int_min’定义后未使用 [-Wunused-function]
static int int_min(int a, int b)
^
src/vmath.h:78:12: 警告:‘int_max’定义后未使用 [-Wunused-function]
static int int_max(int a, int b)
^
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ligo.skymap
Failed to build ligo.skymap
ERROR: Could not build wheels for ligo.skymap, which is required to install pyproject.toml-based projects
However, when I tried to use conda to install ligo.skymap, there was no error and the package installed successfully. That's so strange and I don't know why.
I also meet the similar error when I try to install ligo.skymap on the cluster, the operating system is CentOS Linux 7.7.1908.
What cluster is this? The prebuilt binaries for Linux on the Python Package Index require glibc 2.28 or newer, so CentOS 7 is not supported.
The prebuilt binaries for Linux on the Python Package Index require glibc 2.28 or newer, so CentOS 7 is not supported.
I tried to install on another cluster in the supercomputing center, whose system is Ubuntu Server 22.04 LTS and the version of glibc is 2.35. The installation process ran successfully. Thanks so much!
Hooray!
When I get try and install ligo.skymap, I get the error below. At the top of the error (line 8, or so), it mentions an Intel oneAPI compiler. I'm not sure what this error means. I have tried installing llmv and libomp; apparently Macs need a work around for this error, I'm not certain. Either way, I have followed through https://github.com/bluesheeptoken/CPT/issues/68#issuecomment-563342866 with no success. What next steps should I take?
Building wheels for collected packages: ligo.skymap Building wheel for ligo.skymap (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for ligo.skymap (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [187 lines of output] /bin/sh: pkg-config: command not found pkg-config could not lookup up package(s) gsl. This may cause the build to fail below. test_icx.c:3:2: error: This is not the Intel oneAPI compiler
error This is not the Intel oneAPI compiler
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ligo.skymap Failed to build ligo.skymap ERROR: Could not build wheels for ligo.skymap, which is required to install pyproject.toml-based projects