Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Container: CosmoSIS nicaea_interface.so is built unlinked and doesn't load

オープン
#363 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dockerfile, python
領域
build-system

調査の方向性

Start with the Dockerfile's make -C shear step and the build check at Dockerfile:129; inspect the generated /opt/cosmosis-standard-library/shear/cl_to_xi_nicaea/nicaea_interface.so with ldd and a ctypes.CDLL load check. Done means the module loads in the container without LD_LIBRARY_PATH or LD_PRELOAD, and the Dockerfile check detects a broken load rather than only confirming the file exists.

索引モデルが issue の本文から書いたものです。

説明

In the image, /opt/cosmosis-standard-library/shear/cl_to_xi_nicaea/nicaea_interface.so (the 2pt_shear ξ± stage) doesn't load. ldd shows it linked only against libc: not libcosmosis, fftw or gsl. It loads only with LD_LIBRARY_PATH=<venv>/cosmosis/datablock plus LD_PRELOAD of libfftw3, libgsl and libgslcblas, and nothing in the repo sets those. The Dockerfile's build check (test -f, Dockerfile:129) only confirms that the file exists.

End-to-end inference hasn't been run in the container yet, so nothing depends on this today. Proposed fix: link the module properly in the Dockerfile's make -C shear step (likely a link-order or --as-needed problem; not yet diagnosed), and replace test -f with a load check such as ctypes.CDLL.

— Claude (Opus) on behalf of Cail

主要言語
Python
スター
2
フォーク
5
平均マージ
14時間 23分
マージ済み PR(30日)
27

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CosmoStat/sp_validation のほかの issue

CosmoStat/sp_validation の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。