Giter Site home page Giter Site logo

mikestillman / m2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from macaulay2/m2

4.0 4.0 2.0 88.83 MB

The primary source code repository for Macaulay2

C 0.84% TeX 0.01% C++ 10.42% CSS 0.07% Shell 0.04% Emacs Lisp 0.01% Awk 0.01% Scheme 0.01% JavaScript 0.67% Scilab 0.04% Perl 0.01% Makefile 0.54% Dockerfile 0.03% Macaulay2 86.08% CMake 0.61% Yacc 0.06% Python 0.02% AppleScript 0.01% Lex 0.01% Roff 0.55%

m2's People

Contributors

abrahammcs avatar antonleykin avatar bapike avatar d-torrance avatar dangrayson avatar danroozemond avatar eisenbud avatar fatemehtarashi avatar fhinkel avatar franksottile avatar galettof avatar ggsmith avatar giovannistagliano avatar haerski avatar jakobkroeker avatar jankoboehm avatar jchen419 avatar klee669 avatar kroner avatar kschwede avatar larswinther avatar lkastner avatar mahrud avatar michaelaburr avatar mikestillman avatar moorewf avatar pevernow avatar pzinn avatar timduff35 avatar tom111 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

davidnet ganlubbq

m2's Issues

EngineTests and ffpack

Should we test more ffpack fields?

Are we testing all of the ffpack linear algebra functions implemented in M2?

howto debug memory errors using valgrind+garbage collector

we should figure out, how to debug memory errors using valgrind+garbage collector,
or is it possible to disable gc?

(recall the bug in ColumnRankProfile, see
https://groups.google.com/forum/#!topic/ffpack-devel/2mwmhJpvQQ4
)
somewhat useful:
GC_DONT_GC environment flag

another helpful way is replacing GC_MALLOC with malloc
using LD_PRELOAD
e.g.

with malloc.c:

#include <stdio.h>
#include <stdlib.h>

void * GC_malloc(size_t a)
{
 // printf("calling my malloc\n");
  return malloc(a);
}

gcc -fPIC -shared malloc.c -o libmygc.so

export LD_PRELOAD = ./libmygc.so

check flint issue related to interchangeability of mpir and gmp

configuring and building flint succeeds, but
flint seems to link with gmp rather than with mpir and the check fails.

  • can you confirm this issue?

I looked at the generated Makefile which always seems to contain lgmp

I suggest that at least if we configure M2 with --enable-build-libraries=mpir,
flint gets passed configure option --with-mpir
and if that is the case, flint will link with MPIR
( I have a patch for flint's configure file)

  • comments/suggestions?
  • Could we ask Dan for suggestions/help here?

testNorm fails from time to time for complex numbers

testNorm(CC_53) -- fails from time to time
testNorm(CC_100) -- fails from time to time
testNorm(CC_200) -- fails from time to time
testNorm(CC_54) -- fails from time to time

here is the minimal CC_53 failing setup :

entry := toCC( .81662363033492791p53, .97905576575740838p53 )

MM := mutableMatrix {{ entry }}

a := norm MM
b := norm matrix M
ans := (flatten entries MM)/abs//max;
a==b --ok
a==ans --false

((flatten entries MM)/abs)#0 ==a --false

if the failure is not reproducible, I will provide more information.

factory bugs and issues

Collect my list of bugs for factorization and characteristic sets to Jakob. He can try them on the latest devel versions of that library.

jk: put tests into Macaulay2/tests ?

using older mpfr3.0.1

if you want to use the older mpfr 3.0.1
in the linalg branch

you have to replace the
mpz_clears() call in
M2/Macaulay2/e/cra.cpp
by single mpz_clear calls:

// mpz_clears(a1,a2,u1,u2,q,h,mhalf,u2sqr,a2sqr,(void *)0);
mpz_clear(a1);
mpz_clear(a2);
mpz_clear(u1);
mpz_clear(u2);
mpz_clear(q);
mpz_clear(h);
mpz_clear(mhalf);
mpz_clear(u2sqr);
mpz_clear(a2sqr);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.