[26169] in Athena Bugs

home help back first fref pref prev next nref lref last post

Problem with Maple 9.5

daemon@ATHENA.MIT.EDU (cda@mit.edu)
Mon Nov 1 19:39:41 2004

Date: Mon, 1 Nov 2004 19:39:19 -0500 (EST)
From: cda@mit.edu
Message-Id: <200411020039.iA20dJBJ018707@kuzco.mit.edu>
To: bugs@mit.edu
cc: Derek Rowell <drowell@mit.edu>
cc: cda@mit.edu
Reply-To: olc@mit.edu
Errors-To: bugs-bounces@mit.edu

--------
Dear Athena Bugs:

Please see the enclosed message from Professor Rowell, describing a bug
with Maple 9.5's execution of .m files...

Thank you,
-chris avrich
Athena Consultant (OLC)

>> Date: Mon, 01 Nov 2004 12:39:58 -0500
>> To: olc-maple@mit.edu
>> From: Derek Rowell <drowell@MIT.EDU>
>> Subject: Bug(?) in Maple 9.5
>> 
>> For the past ten years I have published on the web and used in my courses a 
>> Maple "package"   Syrep for dynamic system analysis.    It has work under 
>> Maple 4,5,6,7,8,9.0 without problems.    I found last week that it gives 
>> errors under Maple 9.5, and after working on it the whole weekend I am now 
>> convinced that the problem lies within Maple 9.5
>>      The package may be seen and downloaded 
>> at  http://web.mit.edu/drowell/www/syrep/
>> 
>> Here's the problem as I understand it:
>>      I have historically distributed it as a Maple '.m' internal Maple 
>> language file.   This makes it easy for users to download the code and 
>> access it with a read statement from any user directory.   It works well in 
>> Maple 9.0, but gives multiple and different errors under 9.5.   I have 
>> tried resaving it under 9.5, same errors.   The code works fine if run with 
>> the source worksheet syrep.mws loaded.   But as soon as it is saved to 
>> syrep.m and reloaded, it fails.   I have concluded that my Mape code is ok, 
>> the problem is in the saving and reloading.   I have tried saving the 
>> procedures to a Maple repository and the same thing happens - if I invoke 
>> them from the repository they fail the same way as from the syrep.m 
>> file.   Note that I can use those very same repositories and .m files with 
>> Maple 9.0 without problems.
>>      The code is 4-5000 lines long.   It uses the "networks", "linalg", and 
>> "inttrans" Maple packages.
>>      One common failure in 9.5 seems to be on a call to fundcyc() in 
>> networks, where it reports an error in the calling argument types  to 
>> [networks]delete().   I do not call delete() explicitly anywhere.   I have 
>> isolated it to the particular call to fundcyc() and the arguments passed 
>> seem fine.
>> 
>> As a short term fix I am distributing the software as a maple input .mlp 
>> file, which is simply a text version of the source code.   That works well, 
>> but I am unhappy about making my source available to the world at large.
>> 
>>      I am puzzled as to why this code has worked on all previous versions 
>> of Maple, including 9.0, but will not work with 9.5.   I would be happy to 
>> work with anybody to solve it, or to work with Maplesoft directly.   It is 
>> important to me to find the solution.
>> 
>>     How might we proceed?
>> 
>> Thanks
>> Derek Rowell
>> 
>> ======================================================
>>     Derek Rowell, Professor                      phone: (617) 253-6206
>>     Department of Mechanical Engineering fax:      (617) 258-7018
>>     Massachusetts Institute of Technology        email:   drowell@mit.edu
>>       Room 3-142
>>       77 Massachusetts Avenue
>>       Cambridge MA, 01239
>> ======================================================

home help back first fref pref prev next nref lref last post