Opened 5 years ago

Last modified 5 years ago

#51 new enhancement

lslin: add a checkpoint to avoid linearisation on scalar

Reported by: cmathe Owned by:
Priority: minor Milestone:
Component: MARS GCM Version:
Keywords: Cc:

Description

variable Sols
ndim 1

lslin.e: putget.m4:951: getNCvx_float_float: Assertion `value != ((void*)0)' failed.
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x7F5A5F0F6697
#1 0x7F5A5F0F6CDE
#2 0x7F5A5E5F13FF
#3 0x7F5A5E5F1387
#4 0x7F5A5E5F2A77
#5 0x7F5A5E5EA1A5
#6 0x7F5A5E5EA251
#7 0x7F5A5B26F5DB
#8 0x7F5A5B25F958
#9 0x7F5A5B25E9FE
#10 0x7F5A5B247999
#11 0x7F5A5B246653
#12 0x406655 in MAIN at lslin.F90:498
Abandon (core dumped)

Change History (1)

comment:1 Changed 5 years ago by emillour

The crash is here due to the fact that variable "Sols" is of dimension 1 but that the code only works for dimension 3 or 4...

The code should stop if the variable has an unexpected dimension with a clear error message

Implementing the dimension == 1 case would also be nice.

Note: See TracTickets for help on using tickets.