Dear all
I encounter some strange behavior when using the debug-cpu nodes on bamboo, baobab, yggdrasil when using R. On these nodes I load the following modules (to run JAGS):
module load GCC/9.3.0 OpenMPI/4.0.3 R/4.0.0
module load V8/3.4.0-R-4.0.0
A first strange behavior is that when running R, some packages that are installed (amongst them runjags and rjags: when submitting jobs with the exact same setup to public-cpu, R finds these packages) appear not to be installed.
When I then try to install the missing packages (e.g. runjags)
install.packages("runjags")
and selection the Swiss repository I get the following warnings (please note that I get the same last warning (“not available (for R version 4.0.0)”) for each and every package I wish to install:
Warning: unable to access index for repository https://stat.ethz.ch/CRAN/src/contrib:
internet routines cannot be loaded
Warning messages:
1: In download.file(url, destfile = f, quiet = TRUE) :
unable to load shared object '/opt/ebsofts/R/4.0.0-foss-2020a/lib64/R/modules//internet.so':
libssl.so.10: cannot open shared object file: No such file or directory
2: package ‘runjags’ is not available (for R version 4.0.0)
I have proceeded similarly in the past, and did not encounter any of these problems. Thanks for any help and best wishes, simon
P.S. This problem appears also related to my query about the V8 module. If on debug-cpu I load the new V8 module as instructed I’m unable to start R:
(baobab)-[hugs@cpu001 ~]$ module load GCC/13.2.0
(baobab)-[hugs@cpu001 ~]$ module load V8/6.0.1-R-4.4.1
(baobab)-[hugs@cpu001 ~]$ R --no-restore
Illegal instruction (core dumped)