Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue using Dopri and Radau ODE Systems #153

Open
ZiadAli opened this issue May 4, 2020 · 0 comments
Open

Issue using Dopri and Radau ODE Systems #153

ZiadAli opened this issue May 4, 2020 · 0 comments

Comments

@ZiadAli
Copy link

ZiadAli commented May 4, 2020

Hello, I'm trying to run the CompNeuro tutorial file but with either the Dopri or Radau ODE solvers and have been having some difficulty. It works fine with Vode but when I run with Radau I get the following error. The Dopri error is almost identical. The code is unchanged except for commenting out the Vode solver and uncommenting the Radau/Dopri solver. Does anyone know how to resolve this issue?

/Directory/DynamicSimulations/radau5_temp/cell1_vf.c:142:194: error:
too few arguments to function call, expected 6, have 5
...minof3(maxof2(tan(8.982t3.141592653589793+1.3005),8, p, wk, xv),-8, p, wk_, xv_)));
~~~~~~~~ ^
/Directory/DynamicSimulations/radau5_temp/cell1_vf.c:90:1: note:
'minof3' declared here
double minof3(double e1, double e2, double e3
, double *p
, double ...
^
/Directory/DynamicSimulations/radau5_temp/cell1_vf.c:160:196: error:
too few arguments to function call, expected 6, have 5
...__minof3(__maxof2(tan(8.982
t3.141592653589793+1.3005),8, p_, wk_, xv_),-8, p_, wk_, xv_);
~~~~~~~~ ^
/Directory/Python/DynamicSimulations/radau5_temp/cell1_vf.c:90:1: note:
'minof3' declared here
double minof3(double e1, double e2, double e3
, double *p
, double ...
^
/Directory/Python/DynamicSimulations/radau5_temp/cell1_vf.c:283:183: error:
too few arguments to function call, expected 6, have 5
...__minof3(__maxof2(tan(8.982
t
3.141592653589793+1.3005),8, p_, wk_, xv_),-8, p_, wk_, xv_));
~~~~~~~~ ^
/Directory/DynamicSimulations/radau5_temp/cell1_vf.c:190:1: note:
'minof3' declared here
double minof3(double e1, double e2, double e3
, double *p
, double *...
^
3 errors generated.
Problem initializing target Generator 'Radau_ODEsystem'
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/Directory/DynamicSimulations -I/anaconda3/lib/python3.6/site-packages/PyDSTool/integrator -I/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/include/python3.6m -c /Directory/Python/DynamicSimulations/radau5_temp/cell1_vf.c -o /Directory/Python/DynamicSimulations/radau5_temp/Directory/Python/DynamicSimulations/radau5_temp/cell1_vf.o -MMD -MF /Directory/DynamicSimulations/radau5_temp/Directory/Python/DynamicSimulations/radau5_temp/cell1_vf.o.d -w -std=c99 -Wall -Wno-unused-function -D__RADAU__" failed with exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant