Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Dynamic modules in 3.0.1-2
PostPosted: Thu Feb 23, 2006 8:00 pm 

Joined: Thu Feb 23, 2006 7:47 pm
Posts: 1
Location: Cambridge, MA, USA
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]


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Dynamic modules in 3.0.1-2
PostPosted: Tue Mar 14, 2006 12:56 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
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.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:00 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group