holdom

16 Reputation

4 Badges

20 years, 62 days

MaplePrimes Activity


These are replies submitted by holdom

Yes I saw that before, but COMPILE_OPTIONS is meant for use with define_external. As far as I can tell it does nothing for Compiler:-Compile. You can set infolevel[Compiler]:=3 and check.
Yes I saw that before, but COMPILE_OPTIONS is meant for use with define_external. As far as I can tell it does nothing for Compiler:-Compile. You can set infolevel[Compiler]:=3 and check.
Yes, I got this all to work with a simple function. The trouble is when I tried to pass an array, as in one of the examples on the Compiler help page. The define_external command didn't give an error, but when I tried to use the compiled function I got a stack limit error and the Maple kernel quit. This is with Windows. The same thing works fine on a Mac (but there the Compiler:-Compile method doesn't work). Bob. I see that this message appears above an earlier message...strange.
Yes, I got this all to work with a simple function. The trouble is when I tried to pass an array, as in one of the examples on the Compiler help page. The define_external command didn't give an error, but when I tried to use the compiled function I got a stack limit error and the Maple kernel quit. This is with Windows. The same thing works fine on a Mac (but there the Compiler:-Compile method doesn't work). Bob. I see that this message appears above an earlier message...strange.
Thanks Alex for your example code on how to create a shared library. The dll got created, but when I try to use it in an define_external command I get an error: "Error, external lookup of f1: The specified procedure could not be found." There is some export problem here? Any help would be appreciated. Bob.
Thanks Alex for your example code on how to create a shared library. The dll got created, but when I try to use it in an define_external command I get an error: "Error, external lookup of f1: The specified procedure could not be found." There is some export problem here? Any help would be appreciated. Bob.
Page 1 of 1