Install Rmpi on Linux on a HPC
On Wed, 14 Sep 2022 15:00:45 +0900
James Li <jamesli200116 at gmail.com> wrote:
However, when he tried a simple R script with only one line: library(Rmpi) the job caused "Segmentation Fault" error.
Is there a job submission system on the HPC that is required for programs that need MPI? Does the error still happen if you use it, sacrificing the ability to run R with Rmpi interactively? Do you have a debugger (probably gdb) available to you? Debugging segmentation faults without a debugger is, in theory, possible, but requires a lot of experience and effort. We'll need at least a backtrace in order to start debugging, and for that we'll need the debugging symbols. What does the HPC sysadmin say about this problem? You'll probably have to contact this person anyway in order to get access to a debugger and ensure that the debugging symbols are available.
Best regards, Ivan