Open scicomp-moffitt opened 3 years ago
@scicomp-moffitt You're hitting a known problem that we haven't worked out a solution for yet, see https://github.com/easybuilders/easybuild-easyconfigs/issues/11917 .
You don't need to start over from scratch though.
You can first generate a module file for your R
installation, using: eb R-4.1.0-foss-2021a.eb --module-only --skip-extensions
.
Then you can install only the missing extensions using eb R-4.1.0-foss-2021a.eb --rebuild --skip
, which will skip both the installation of R itself, and any extensions which are already installed. It will still take a while to let it figure out what's installed already, but it'll be significantly faster than installing from scratch.
We're working on installing R extensions in parallel (cfr. https://github.com/easybuilders/easybuild-easyblocks/pull/2408), I hope to find time to get that in place for the next EasyBuild release...
Thanks @boegel got it. My proposal would be to remove all failing extensions from the easyconfig until the error is fixed. It would be useful to have an option to skip over all failing extensions. In this case I don't really care about gWidgets2tcltk
same error occurs with R-4.0.5-foss-2020b.eb
I had the same error with R-4.0.5-foss-2020b.eb, to fix it I added xvfb as a dependency, and tried to build the module. Once I had the error I used eb R-4.0.5-foss-2020b.eb --module-only --skip-extensions
, then loaded the resulting module
Then I ran the command that failed, but with the added parameters -e /dev/stdout
, which puts the error details in to stdout, in my case:
xvfb-run -e /dev/stdout R CMD INSTALL /tmp/easybuild/R/4.0.5/foss-2020b/gWidgets2tcltk/gWidgets2tcltk --library=/shared/software_stack/software/R/4.0.5-foss-2020b/lib/R/library --no-clean-on-error
which gave me the error:
(EE)
Fatal server error:
(EE) Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
(EE)
xvfb-run: error: Xvfb failed to start
So I deleted /tmp/.X99-lock
, and killed any XServer processes that were running, then ran eb R-4.0.5-foss-2020b.eb --rebuild --skip
again.
I've added -e /dev/stdout
to the preinstallopts property of the gWidgets2tcltk extension in my R .eb file so I can see the error if I have to build it again
Bummer, 4 hours compile time and it seems I need to start from scratch, or is there a way to ignore failing extensions or not having to start from scratch ?
not too much info in the log?