bugMCSim simulation sofware - Bugs: bug #57265, the Jacobian function is not...

 
 

bug #57265: the Jacobian function is not correctly translated for deSolve

Submitter:  Frederic Yves Bois <fredomatic>
Submitted:  Tue 19 Nov 2019 07:52:35 AM UTC
   
 
Category:  Mod Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Privacy:  Public
Assigned to:  fredomatic Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 Nov 2019 07:52:35 AM UTC, original submission:  

I found that there is an issue when compiling the model to the c file that will use to dynamic load in R from the perc.model

$ ./mod.so -R perc.model perc.model.c
$ R CMD SHLIB perc.model.c

```
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2
-fdebug-prefix-map=/build/r-base-uuRxut/r-base-3.6.1=. -fstack- protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -g  -c inst/models/perc.model.c -o inst/models/perc.model.o
inst/models/perc.model.c: In function ‘jac’:
inst/models/perc.model.c:319:10: error: ‘column’ undeclared (first use in this function)
  switch (column) {
          ^~~~~~
etc.

Nan-Hung

Frederic Yves Bois <fredomatic>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fredomatic (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-21 fredomatic SummaryThe Jacobian function is not correctly translated for deSolve the Jacobian function is not correctly translated for deSolve
    2019-11-19 fredomatic Attached File- Added Screenshot@from@2019-11-11@15-01-14.png, #47891
        Attached File- Added Screenshot@from@2019-11-11@15-01-37.png, #47892
        Attached File- Added Screenshot@from@2019-11-11@15-01-27.png, #47893

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code