Having issue in loading the M2 package "Depth.m2"

30 views
Skip to first unread message

Dharm Veer

unread,
Apr 28, 2022, 7:10:01 AM4/28/22
to Macaulay2
Hi, I want to use Macaulay2 to compute depth of a module. To do that I am trying to load the package "Depth.m2". But I am getting some error in loading the package. More precisely, while giving the command

load "Depth.m2"


I am getting the following error:

Depth.m2:9:1:(3):[4]: error: encountered an unknown key or option: Keywords
Depth.m2:9:1:(3):[4]: --entering debugger (type help to see debugger commands)
Depth.m2:9:1-30:23: --source code:
newPackage(
     "Depth",
     Version => "1.0",
     Date => "September 2010, rev May 2016",
     Authors => {
          {Name => "Bart Snapp",
              Email => "sn...@math.ohio-state.edu",
              HomePage => "http://www.math.ohio-state.edu/~snapp/"
              },
          {Name => "David Eisenbud",
              Email => "d...@msri.org",
              HomePage => "http://www.msri.org/~de"
          },
          {Name => "Branden Stone",
              Email => "bst...@adelphi.edu",
              HomePage => "http://math.adelphi.edu/~bstone/"
          }
          },
     Headline => "aids in computations related to depth",
     Keywords => {"Commutative Algebra"},
     DebuggingMode => false
     )

The M2 version I have in my machine is 1.15. This command is working in the version 1.19.

Could you please help me in this regard?

Thanks,
Dharm Veer

Shrikant Shekhar 1910404

unread,
Apr 28, 2022, 7:39:12 AM4/28/22
to Macaulay2
Dear sir,
Even I am new to Macaulay2. Can this code help you ? After writting M2 in terminal I just copied this code and run it.
                    

loadPackage "TorAlgebra"

--opening database /usr/lib/Macaulay2/TorAlgebra/cache/rawdocumentation-dcba-8.db -- beginDocumentation: using documentation database, skipping the rest of /usr/share/Macaulay2/TorAlgebra.m2

--package "TorAlgebra" loaded

--loaded /usr/share/Macaulay2/TorAlgebra.m2

-- loading TorAlgebra.m2

-- opening database /usr/lib/x86_64-linux-gnu/Macaulay2/Depth/cache/rawdocumentation-dcba-8.db

-- beginDocumentation: using documentation database, skipping the rest of /usr/share/Macaulay2/TorAlgebra .m2

-- package "TorAlgebra" loaded

-- loaded /usr/share/Macaulay2/TorAlgebra .m2


Screenshot from 2022-04-28 17-03-11.png


Dharm Veer

unread,
Apr 29, 2022, 7:07:52 AM4/29/22
to Macaulay2
Hi,

This works. 

Dharm.
Reply all
Reply to author
Forward
0 new messages