Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Dynamic modules in 3.0.1-2
Author Message
  Post subject:  Re: Dynamic modules in 3.0.1-2  Reply with quote
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.
Post Posted: Tue Mar 14, 2006 12:56 pm
  Post subject:  Dynamic modules in 3.0.1-2  Reply with quote
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]
Post Posted: Thu Feb 23, 2006 8:00 pm


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