Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #911
| X-Received | by 10.68.253.66 with SMTP id zy2mr10796581pbc.1.1403554240358; Mon, 23 Jun 2014 13:10:40 -0700 (PDT) |
|---|---|
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!uq10no6181013igb.0!news-out.google.com!a8ni15072qaq.1!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail |
| NNTP-Posting-Date | Mon, 23 Jun 2014 15:10:39 -0500 |
| Date | Mon, 23 Jun 2014 13:10:35 -0700 |
| From | "Thomas D. Dean" <tomdean@speakeasy.org> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
| MIME-Version | 1.0 |
| Newsgroups | comp.soft-sys.math.maple |
| Subject | Re: Define External and libname |
| References | <9ZednZnd5Ma6WjrOnZ2dnUVZ_o-dnZ2d@megapath.net> <6b2b1df0-e721-46d1-841d-0d9a9de06c52@googlegroups.com> |
| In-Reply-To | <6b2b1df0-e721-46d1-841d-0d9a9de06c52@googlegroups.com> |
| Message-ID | <0OKdncspfcRdFDXOnZ2dnUVZ_uWdnZ2d@megapath.net> (permalink) |
| Lines | 32 |
| X-Usenet-Provider | http://www.giganews.com |
| NNTP-Posting-Host | 24.113.104.91 |
| X-Trace | sv3-YnBOZ6d2y0aNGt/DTYdOEp3zKX99udceO0/8st26+nXJZlGcLJq72XD/xW14PlqwnvEBUQfhxzssNro!iwRgGeeX0atnE1Ij5xo/sDkecnf2LXVZxCWKZ0FZQGgvDKhEhwHz1b9+TZ5uuFYXoxblPI/ZbAim!U8OuItHoB8baGoCjRcITF6GJW+BSZQ== |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2138 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Xref | csiph.com comp.soft-sys.math.maple:911 |
Show key headers only | View raw
On 06/23/14 07:45, acer wrote:
> Your example with LIB="/home/tomdean/Math/Maple/lib/mymult.so"
That is why I qualified it. I did not understand the maple ld path.
> You can also use,
> "/home/tomdean/maple/toolbox/misc/lib"
> mkdir -p ~/maple/toolbox/misc/lib
> cp *.so ~/maple/toolbox/misc/lib
and start a new instance of maple.
> domult:=define_external('mult',
> LIB="mymult.so",
> 'a'::integer[4],
> 'b'::integer[4],
> RETURN::integer[4]
> );
domult := proc(a::integer[4], b::integer[4])
option call_external, define_external(mult, LIB = "mymult.so",
a::integer[4], b::integer[4], RETURN::integer[4]);
call_external(Array(1..11, [...], datatype = integer[8], readonly),
false, args)
end proc
Works.
Thanks,
Tom Dean
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Next in thread | Find similar
Define External and libname "Thomas D. Dean" <tomdean@speakeasy.org> - 2014-06-22 23:20 -0700
Re: Define External and libname acer <maple@rogers.com> - 2014-06-23 07:45 -0700
Re: Define External and libname "Thomas D. Dean" <tomdean@speakeasy.org> - 2014-06-23 13:10 -0700
Re: Define External and libname acer <maple@rogers.com> - 2014-06-23 15:58 -0700
Re: Define External and libname "Thomas D. Dean" <tomdean@speakeasy.org> - 2014-06-23 16:20 -0700
csiph-web