Skip to content

Conda compiler in CIT IGWN environment appears broken

After recent upgrades at CIT, an Conda environment is enabled by default. The C compiler this supplies appears to refuse to link to any libraries outside of Conda, which breaks building LALSuite from source.

Minimal example:

  • Remove .noigwn and re-login
  • Configure and build LAL with default options
  • In bin/ directory run:
$ /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn/bin/x86_64-conda-linux-gnu-cc -o .libs/lal_version version.o ../lib/.libs/liblal.so ../lib/support/.libs/liblalsupport.so -ldl -lz -lpthread -lrt -lcurl -lcrypto -lhdf5 -lhdf5_hl -lfftw3 -lfftw3f -lgsl -lgslcblas -lcblas -lm -pthread
$ ldd .libs/lal_version | grep liblal
	liblal.so.20 => /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-20221118/lib/liblal.so.20 (0x00007f2044884000)
	liblalsupport.so.14 => /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-20221118/lib/liblalsupport.so.14 (0x00007f204463d000)

This should link to the compiled versions of LAL and LALSupport in ../libs but does not. Confirmed this is still a problem once LAL binaries are installed.

Update: seeing same problem with system compiler and touch ~/.noigwn Scratch that; I was looking at the pre-installed executable, once installed it's fine.

Edited by Karl Wette