Singular
https://www.singular.uni-kl.de/forum/

Dynamic modules in 3.0.1-2
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1490
Page 1 of 1

Author:  chenmoucheng [ Thu Feb 23, 2006 8:00 pm ]
Post subject:  Dynamic modules in 3.0.1-2

Hi,

I compiled the dynamic module demo.mod found in the Singular-3-0-1/modules directory. But when I tried to load it in Singular 3.0.1-2, I got:

> LIB "demo_module.so";
// ** loaded demo_module.so (1.75,2005/10/28)
// ** library demo_module.so has old format. This format is still accepted,
// ** but for functionality you may wish to change to the new
// ** format. Please refer to the manual for further information.

And there appears to be no symbols defined in the package:

> listvar(Demo_module);
// Demo_module [0] package (S,demo_module.so)

Although, according to what I understand from reading the manual (http://www.singular.uni-kl.de/DynMod.ps), there should be at least one procedure "proclist". Am I doing anything wrong here? Can anyone point me to a more recent manual about dynamic modules?

FYI, I am trying to "compile" a library written in the Singular language to the .bin format to see if it will run faster. It would be helpful if anyone can share his/her experience on this.

Thanks,
Chen-Mou[/b]

Author:  hannes [ Tue Mar 14, 2006 12:56 pm ]
Post subject:  Re: Dynamic modules in 3.0.1-2

Currently (3-0-1), dynamic modules can only be loaded with LIB("the_module.so");
(Note the parentheses ()!)
If the parentheses are omitted,
the file is (in version 3-0-0 and 3-0-1)
assumed to be a Singular library.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/