Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

GSL error

28 views
Skip to first unread message

Alokesh Manna

unread,
Nov 20, 2024, 11:14:04 AM11/20/24
to R-inla discussion group
Hi INLA Group,

Can you please tell me where INLA is failing? I did a few parallel computation. Some of them it worked. For some of the cases I obtained this following error.

How to resolve this issue? I ran for a GLM poisson with random spatial effect with some fixed value of the hyperparameters in besag kernel, loggamma with log(1e^-04) as initial value fixed so that we can cotrol over the spatial varying coefficients in their own way, should not be too restrictive.

```
gsl: interp.c:83: ERROR: x values must be strictly increasing
gsl: interp.c:83: ERROR: x values must be strictly increasing
Default GSL error handler invoked.
Default GSL error handler invoked.
sh: line 1: 3817259 Segmentation fault      (core dumped) '/gpfs/homefs1/alm20014/rlibs/INLA/bin/linux/64bit/inla.mkl.run' -s -v -t128:1 -P compact '/gpfs/sharedfs1/R_temp/RtmpGxRY8L/file3a363950b87095/Model.ini' > '/gpfs/sharedfs1/R_temp/RtmpGxRY8L/file3a363950b87095/Logfile.txt'
Error in inla.inlaprogram.has.crashed() :
  The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully.
  If this does not help, please contact the developers at <he...@r-inla.org>.
Calls: data_train_function ... do.call -> inla -> inla.core -> inla.inlaprogram.has.crashed
Execution halted
```

Helpdesk (Haavard Rue)

unread,
Nov 20, 2024, 11:19:06 AM11/20/24
to Alokesh Manna, R-inla discussion group

I would guess it fails due to a singularity that is imposed by the precision.
you can try to change values to see if it will recover.
> --
> You received this message because you are subscribed to the Google Groups "R-
> inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to r-inla-discussion...@googlegroups.com.
> To view this discussion, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/fc29c461-0e28-476a-9926-9263c940581cn%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org

Alokesh Manna

unread,
Nov 20, 2024, 2:11:46 PM11/20/24
to Helpdesk, R-inla discussion group
Thanks, I will! 

Alokesh Manna

unread,
Nov 20, 2024, 9:48:34 PM11/20/24
to R-inla discussion group
Hi INLA group,

It seems this issue is still persisting.

I found some resource in github. <https://git.ligo.org/lscsoft/bayeswave/-/issues/112>

My errors looks like 

```
gsl: interp.c:83: ERROR: x values must be strictly increasing gsl: interp.c:83: ERROR: x values must be strictly increasing Default GSL error handler invoked. Default GSL error handler invoked. sh: line 1: 2105407 Segmentation fault (core dumped)
```

I keep changing initial values but for some cases, this is the reason. Do you know any solution?

Alokesh Manna

unread,
Nov 20, 2024, 9:54:47 PM11/20/24
to R-inla discussion group
I am just adding a slurm file output if it helps!
Alokesh
slurm-6983967_7.out

Alokesh Manna

unread,
Nov 21, 2024, 10:42:51 AM11/21/24
to R-inla discussion group
“Update: This issue can just be fixed by printing out doubles with more accuracy. C only prints doubles by default to 6 characters.”

Do you know if we can do so in INLA?

Helpdesk (Haavard Rue)

unread,
Nov 22, 2024, 5:09:55 AM11/22/24
to Alokesh Manna, R-inla discussion group

seems like this issue can be fixed by upgrading R-INLA to the most recent
testing version and use R-4.4

Alokesh Manna

unread,
Nov 24, 2024, 7:08:40 PM11/24/24
to Helpdesk, R-inla discussion group
Thanks. Can you tell me if there is any step size which can resolve this problem?

Havard Rue

unread,
Nov 24, 2024, 9:19:35 PM11/24/24
to Helpdesk, Alokesh Manna, R-inla discussion group
The problem should be resolved by upgrading R and using the testing version of R-INLA

-- 
Håvard Rue 
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages