Cannot compile lalsuite with cuda
Summary
When trying to compile lalsuite with the with-cuda
option the following error is rised
upon configuring lal
:
x86_64-conda-linux-gnu-cc: error: unrecognized command-line option '-R'
This does not happen if the option with-cuda
is not used.
Steps to reproduce
Context/Environment
Configure lalsuite as follows:
echo "Installing lalsuite inside ${install_dir}"
cd "${this_dir}"
./00boot
./configure --prefix=${install_dir}\
--disable-all-lal\
--enable-lal\
--enable-lalpulsar\
--enable-lalapps\
--enable-swig-python\
--with-cuda=<path-to-conda-env>
System information
Hostname: localPlatform: Linux-5.17.15-76051715-generic-x86_64-with-glibc2.35
Conda information
active environment : lalsuite-dev
active env location : /home/rodrigo/opt/miniconda3/envs/lalsuite-dev
shell level : 1
user config file : /home/rodrigo/.condarc
populated config files : /home/rodrigo/.condarc
conda version : 4.12.0
conda-build version : not installed
python version : 3.9.12.final.0
virtual packages : __cuda=11.6=0
__linux=5.17.15=0
__glibc=2.35=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/rodrigo/opt/miniconda3 (writable)
conda av data dir : /home/rodrigo/opt/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/rodrigo/opt/miniconda3/pkgs
/home/rodrigo/.conda/pkgs
envs directories : /home/rodrigo/opt/miniconda3/envs
/home/rodrigo/.conda/envs
platform : linux-64
user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.12 Linux/5.17.15-76051715-generic pop/22.04 glibc/2.35
UID:GID : 1000:1000
netrc file : None
offline mode : False
Conda environment
# packages in environment at /home/rodrigo/opt/miniconda3/envs/lalsuite-dev:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
astropy 5.1 py39hd257fcd_0 conda-forge
attrs 21.4.0 pyhd8ed1ab_0 conda-forge
autoconf 2.69 pl5321hd708f79_11 conda-forge
automake 1.16.5 pl5321ha770c72_0 conda-forge
bc 1.07.1 h7f98852_0 conda-forge
binutils 2.36.1 hdd6e379_2 conda-forge
binutils_impl_linux-64 2.36.1 h193b22a_2 conda-forge
binutils_linux-64 2.36 hf3e587d_10 conda-forge
boost-cpp 1.74.0 h75c5d50_8 conda-forge
brotli 1.0.9 h166bdaf_7 conda-forge
brotli-bin 1.0.9 h166bdaf_7 conda-forge
brotlipy 0.7.0 py39hb9d737c_1004 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.18.1 h7f98852_0 conda-forge
c-compiler 1.4.2 h166bdaf_0 conda-forge
ca-certificates 2022.6.15 ha878542_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cairo 1.16.0 ha61ee94_1011 conda-forge
certifi 2022.6.15 py39hf3d152e_0 conda-forge
cffi 1.15.1 py39he91dace_0 conda-forge
cfitsio 4.1.0 hd9d235c_0 conda-forge
charset-normalizer 2.1.0 pyhd8ed1ab_0 conda-forge
compilers 1.4.2 ha770c72_0 conda-forge
cryptography 36.0.0 py39h9ce1e76_0 defaults
cudatoolkit-dev 11.4.0 h5e8e339_5 conda-forge
cxx-compiler 1.4.2 h924138e_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
doxygen 1.9.3 h583eb01_1 conda-forge
expat 2.4.8 h27087fc_0 conda-forge
fftw 3.3.10 nompi_h77c792f_102 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.14.0 h8e229c2_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.34.4 py39hb9d737c_0 conda-forge
fortran-compiler 1.4.2 h2a4ca65_0 conda-forge
freetype 2.10.4 h0708190_1 conda-forge
freezegun 1.2.1 pyhd8ed1ab_0 conda-forge
future 0.18.2 py39hf3d152e_5 conda-forge
gcc 10.3.0 he2824d0_10 conda-forge
gcc_impl_linux-64 10.3.0 hf2f2afa_16 conda-forge
gcc_linux-64 10.3.0 hc39de41_10 conda-forge
gettext 0.19.8.1 h73d1719_1008 conda-forge
gfortran 10.3.0 h18518b4_10 conda-forge
gfortran_impl_linux-64 10.3.0 h73f4979_16 conda-forge
gfortran_linux-64 10.3.0 hb09a455_10 conda-forge
giflib 5.2.1 h36c2ea0_2 conda-forge
gmp 6.2.1 h58526e2_0 conda-forge
graphite2 1.3.13 h58526e2_1001 conda-forge
gsl 2.7 he838d99_0 conda-forge
gxx 10.3.0 he2824d0_10 conda-forge
gxx_impl_linux-64 10.3.0 hf2f2afa_16 conda-forge
gxx_linux-64 10.3.0 h2593f52_10 conda-forge
h5py 3.7.0 nompi_py39h63b1161_100 conda-forge
harfbuzz 4.4.1 hf9f4e7c_0 conda-forge
hdf5 1.12.1 nompi_h4df4325_104 conda-forge
healpy 1.15.2 py39he2028a6_1 conda-forge
help2man 1.49.2 pl5321h166bdaf_0 conda-forge
icu 70.1 h27087fc_0 conda-forge
idna 3.3 pyhd8ed1ab_0 conda-forge
importlib-metadata 4.11.4 py39hf3d152e_0 conda-forge
iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge
jpeg 9e h166bdaf_2 conda-forge
kernel-headers_linux-64 2.6.32 he073ed8_15 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.4 py39hf939315_0 conda-forge
krb5 1.19.3 h08a2579_0 conda-forge
lcms2 2.12 hddcbb42_0 conda-forge
ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
ldas-tools-al 2.6.7 h6e2fe03_1 conda-forge
ldas-tools-framecpp 2.9.1 hdf7349a_0 conda-forge
lerc 3.0 h9c3ff4c_0 conda-forge
libblas 3.9.0 15_linux64_openblas conda-forge
libbrotlicommon 1.0.9 h166bdaf_7 conda-forge
libbrotlidec 1.0.9 h166bdaf_7 conda-forge
libbrotlienc 1.0.9 h166bdaf_7 conda-forge
libcblas 3.9.0 15_linux64_openblas conda-forge
libcurl 7.83.1 h2283fc2_0 conda-forge
libdeflate 1.12 h166bdaf_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libframel 8.42.2 h166bdaf_0 conda-forge
libgcc-devel_linux-64 10.3.0 he6cfe16_16 conda-forge
libgcc-ng 12.1.0 h8d9b700_16 conda-forge
libgfortran-ng 12.1.0 h69a702a_16 conda-forge
libgfortran5 12.1.0 hdcd56e2_16 conda-forge
libglib 2.72.1 h2d90d5f_0 conda-forge
libgomp 12.1.0 h8d9b700_16 conda-forge
libiconv 1.16 h516909a_0 conda-forge
liblapack 3.9.0 15_linux64_openblas conda-forge
libnghttp2 1.47.0 he49606f_0 conda-forge
libnsl 2.0.0 h7f98852_0 conda-forge
libopenblas 0.3.20 pthreads_h78a6416_0 conda-forge
libpng 1.6.37 h753d276_3 conda-forge
libsanitizer 10.3.0 h26c7422_16 conda-forge
libssh2 1.10.0 ha35d2d1_2 conda-forge
libstdcxx-devel_linux-64 10.3.0 he6cfe16_16 conda-forge
libstdcxx-ng 12.1.0 ha89aaad_16 conda-forge
libtiff 4.4.0 hc85c160_1 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libwebp 1.2.2 h3452ae3_0 conda-forge
libwebp-base 1.2.2 h7f98852_1 conda-forge
libxcb 1.13 h7f98852_1004 conda-forge
libzlib 1.2.12 h166bdaf_2 conda-forge
ligo-gracedb 2.7.7 pyhd8ed1ab_1 conda-forge
ligo-segments 1.4.0 py39h3811e60_2 conda-forge
lscsoft-glue 3.0.1 py39h3811e60_0 conda-forge
lz4-c 1.9.3 h9c3ff4c_1 conda-forge
m4 1.4.18 h516909a_1001 conda-forge
make 4.3 hd18ef5c_1 conda-forge
matplotlib-base 3.5.2 py39h700656a_0 conda-forge
metaio 8.5.1 h27826a3_1001 conda-forge
mpfr 4.1.0 h9202a9a_1 conda-forge
mpi 1.0 openmpi conda-forge
mpmath 1.2.1 pyhd8ed1ab_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.3 h27087fc_1 conda-forge
numpy 1.23.1 py39hba7629e_0 conda-forge
openjpeg 2.4.0 hb52868f_1 conda-forge
openmpi 4.1.4 ha1ae619_100 conda-forge
openssl 3.0.5 h166bdaf_0 conda-forge
packaging 21.3 pyhd8ed1ab_0 conda-forge
pcre 8.45 h9c3ff4c_0 conda-forge
perl 5.32.1 2_h7f98852_perl5 conda-forge
pillow 9.2.0 py39hae2aec6_0 conda-forge
pip 22.1.2 pyhd8ed1ab_0 conda-forge
pixman 0.40.0 h36c2ea0_0 conda-forge
pkg-config 0.29.2 h36c2ea0_1008 conda-forge
pluggy 1.0.0 py39hf3d152e_3 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
py 1.11.0 pyh6c4a22f_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyerfa 2.0.0.1 py39hd257fcd_2 conda-forge
pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge
pyrxp 3.0.1 py39hb9d737c_2 conda-forge
pysocks 1.7.1 py39hf3d152e_5 conda-forge
pytest 7.1.2 py39hf3d152e_0 conda-forge
pytest-runner 6.0.0 pyhd8ed1ab_0 conda-forge
python 3.9.13 h2660328_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python_abi 3.9 2_cp39 conda-forge
pyyaml 6.0 py39hb9d737c_4 conda-forge
readline 8.1.2 h0f457ee_0 conda-forge
requests 2.28.1 pyhd8ed1ab_0 conda-forge
scipy 1.8.1 py39he49c0e8_0 conda-forge
setuptools 63.2.0 py39hf3d152e_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
sqlite 3.39.1 h4ff8645_0 conda-forge
swig 4.0.2 hd3c618e_2 conda-forge
sysroot_linux-64 2.12 he073ed8_15 conda-forge
texlive-core 20210325 h5b4e33e_3 conda-forge
tk 8.6.12 h27826a3_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
tzdata 2022a h191b570_0 conda-forge
unicodedata2 14.0.0 py39hb9d737c_1 conda-forge
urllib3 1.26.10 pyhd8ed1ab_0 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libice 1.0.10 h7f98852_0 conda-forge
xorg-libsm 1.2.3 hd9c2040_1000 conda-forge
xorg-libx11 1.7.2 h7f98852_0 conda-forge
xorg-libxau 1.0.9 h7f98852_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h7f98852_1 conda-forge
xorg-libxrender 0.9.10 h7f98852_1003 conda-forge
xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
xorg-xextproto 7.3.0 h7f98852_1002 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xz 5.2.5 h516909a_1 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
zipp 3.8.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.12 h166bdaf_2 conda-forge
zstd 1.5.2 h8a70e8d_2 conda-forge