Timeline for Using Mathlink with the cernlib FORTRAN package MINUIT
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 18, 2012 at 23:14 | vote | accept | unstable | ||
May 18, 2012 at 22:19 | history | edited | unstable | CC BY-SA 3.0 |
added 2 characters in body
|
May 18, 2012 at 18:05 | comment | added | rm -rf♦ |
We don't often get many questions with other languages, but for future reference, see my edit to your question to for how to add the appropriate syntax highlighting for other languages (not all languages are supported though... see this answer for a list of supported ones and their short forms). If there isn't a proper highlighter, I generally go with lang-none
|
|
May 18, 2012 at 18:01 | history | edited | rm -rf♦ | CC BY-SA 3.0 |
added 162 characters in body; edited tags
|
May 18, 2012 at 16:52 | answer | added | jmlopez | timeline score: 10 | |
May 18, 2012 at 8:29 | comment | added | unstable | I don't have any clue to the mathlink solution yet. However, I called my fortran code successfully using NETLink. I post my memo here. Any suggestion making the mathlink version work would still be appreciated. | |
May 18, 2012 at 8:15 | history | tweeted | twitter.com/#!/StackMma/status/203398508382928896 | ||
May 18, 2012 at 5:17 | comment | added | jmlopez | Ok, I got it to work on my Mac, I cant write an answer right now, but, just check that mathematica has access to the .mincards file. Mine didnt because I forgot to include it and I got a linkd error. Anyway, let us know if you've made progress. | |
May 17, 2012 at 23:52 | comment | added | unstable | @jmlopez thanks for your effort. the source files can be downloaded from the link I provided at the end of the post. here is d506cm.mod | |
May 17, 2012 at 22:42 | comment | added | jmlopez |
When I tried to make the library libminuit.a I get an error from the file minuit.F . This file "Can't open module file 'd506cm.mod' for reading". Do you know where I can get this?
|
|
May 17, 2012 at 22:31 | comment | added | jmlopez |
Could you give a link to the fortran file? I have a hard time figuring out what fortran likes (6 space at beginning of line rule). Also, on your C file you called the function myprog without an argument (printf("%f\n", myprog()); ), does C really work like that? I thought myprog required an integer as an input so that it could return a double.
|
|
May 17, 2012 at 14:05 | history | migrated | from stackoverflow.com (revisions) | ||
May 15, 2012 at 16:17 | history | asked | unstable | CC BY-SA 3.0 |