- Timestamp:
- Mar 18, 2013, 6:59:04 PM (11 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- a601d5555bc411c2f00957c8f324951e8d88085f
- Parents:
- ae74d2ae268551f6d008e85e9f2ba78cfc3fa92f5417fff5d4d977443ea13f49a1da1d9de9a2a171
- Location:
- Singular
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/gitfan.lib
r5417ff rc1ec9a 1 1 //////////////////////////////////////////////////////////////////// 2 version="$Id : gitfan.lib";2 version="$Id$"; 3 3 category="Algebraic Geometry"; 4 4 info=" -
Singular/Makefile.am
rae74d2 rc1ec9a 12 12 NODEBUGCFLAGS = -O3 -w -fomit-frame-pointer $(WARNCFLAGS) 13 13 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer $(WARNCFLAGS) 14 NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG 14 NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG 15 15 16 16 CXXTEMPLFLAGS =-ftrapv ## -fno-implicit-templates … … 34 34 libSingular_la_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) $(WARNCFLAGS) 35 35 libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) $(WARNCFLAGS) 36 # -fdiagnostics-show-option 36 # -fdiagnostics-show-option 37 37 38 38 … … 45 45 links/asciiLink.cc\ 46 46 attrib.cc\ 47 bbcone.cc\48 bbfan.cc\49 47 bigintm.cc\ 50 48 blackbox.cc\ … … 94 92 walk_ip.cc\ 95 93 wrapper.cc\ 96 fereadl.c mmstd.c claptmpl.cc 94 fereadl.c mmstd.c claptmpl.cc 97 95 98 96 # links/slInit_Dynamic.cc … … 153 151 table.h \ 154 152 tok.h \ 155 walk.h 156 157 # plural_cmd.inc 153 walk.h 154 155 # plural_cmd.inc 158 156 nodist_libSingular_la_SOURCES = iparith.inc 159 157 nodist_libSingular_g_la_SOURCES = iparith.inc … … 187 185 feOptES_SOURCES = feOptGen.cc feOptGen.h 188 186 feOptES_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 189 feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR 187 feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR 190 188 191 189 feOptTS_SOURCES = feOptGen.cc feOptGen.h … … 199 197 # the "optional_programs" variable should be defined in the configure 200 198 # script, and listed in an AC_SUBST macro 201 optional_Singular_programs = 199 optional_Singular_programs = 202 200 203 201 bin_PROGRAMS = Singular ESingular TSingular $(optional_Singular_programs) … … 221 219 nodist_Singularg_SOURCES = libSingular_g.la 222 220 223 Singular_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 224 Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 221 Singular_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 222 Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 225 223 226 224 Singular_LDADD = libSingular.la ${top_builddir}/numeric/libnumeric.la ${top_builddir}/kernel/libkernel.la ${top_builddir}/libpolys/polys/libpolys.la -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS} … … 228 226 229 227 Singular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 230 Singularg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 228 Singularg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 231 229 232 230 Singular_LDFLAGS = -static ${AMLDFLAGS} … … 240 238 Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) 241 239 242 Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 240 Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 243 241 nodist_Singulard_SOURCES = libSingular.la 244 242 245 Singulardg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 243 Singulardg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 246 244 nodist_Singulardg_SOURCES = libSingular_g.la 247 245 … … 250 248 251 249 Singulard_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 252 Singulardg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 250 Singulardg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 253 251 254 252 Singulard_LDFLAGS = ${AMLDFLAGS} … … 256 254 257 255 258 #### ESingular 256 #### ESingular 259 257 260 258 ESingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 261 259 ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 262 ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO 260 ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO 263 261 ESingular_LDFLAGS = -static ${AMLDFLAGS} 264 ESingular_LDADD = -lreporter -lmisc -lomalloc -lfindexec 262 ESingular_LDADD = -lreporter -lmisc -lomalloc -lfindexec 265 263 266 264 ESingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptES.inc feOpt.cc 267 265 268 #### same for TSingular 266 #### same for TSingular 269 267 270 268 TSingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 271 269 TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 272 TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO 270 TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO 273 271 TSingular_LDFLAGS = -static ${AMLDFLAGS} 274 TSingular_LDADD = -lreporter -lmisc -lomalloc -lfindexec 272 TSingular_LDADD = -lreporter -lmisc -lomalloc -lfindexec 275 273 276 274 TSingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptTS.inc feOpt.cc … … 278 276 279 277 280 #### libparse 278 #### libparse 281 279 libparse_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER 282 280 libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 283 281 libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 284 282 285 283 libparse_SOURCES = libparse.cc fegetopt.c fegetopt.h utils.cc utils.h 286 284 # nodist_libparse_SOURCES = libSingular.la 287 288 # # libSingular.la -lnumeric 285 286 # # libSingular.la -lnumeric 289 287 libparse_LDADD = -lomalloc 290 288 libparse_LDFLAGS = -static ${AMLDFLAGS} … … 341 339 342 340 test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 343 test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 341 test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 344 342 345 343 test_s_r_LDFLAGS = -static ${AMLDFLAGS} … … 362 360 363 361 test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 364 test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 362 test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 365 363 366 364 test_d_r_LDFLAGS = ${AMLDFLAGS} … … 371 369 # These files are built first 372 370 BUILT_SOURCES = feOpt.inc feOptTS.inc feOptES.inc iparith.inc all.lib plural_cmd.inc \ 373 gftables MOD 371 gftables MOD 374 372 375 373 CLEANFILES = $(BUILT_SOURCES) $(EXTRA_PROGRAMS) … … 419 417 pyobject_g_la_CPPFLAGS = ${AM_CPPFLAGS} 420 418 421 pyobject_la_CXXFLAGS = ${NODEBUGCXXFLAGS} @PYTHON_CSPEC@ 422 pyobject_g_la_CXXFLAGS = ${DEBUGCXXFLAGS} @PYTHON_CSPEC@ 419 pyobject_la_CXXFLAGS = ${NODEBUGCXXFLAGS} @PYTHON_CSPEC@ 420 pyobject_g_la_CXXFLAGS = ${DEBUGCXXFLAGS} @PYTHON_CSPEC@ 423 421 424 422 pyobject_la_LDFLAGS = -export-dynamic -shared -module -avoid-version \ -
Singular/extra.cc
rae74d2 rc1ec9a 99 99 #ifdef HAVE_RINGS 100 100 #include <kernel/ringgb.h> 101 #endif102 103 #ifdef HAVE_FANS104 #include <kernel/gfan.h>105 #include <gfanlib/gfanlib.h>106 101 #endif 107 102 … … 3661 3656 3662 3657 #endif 3663 3664 #ifdef HAVE_FANS 3665 /*======== GFAN ==============*/ 3666 /* 3667 WILL HAVE TO CHANGE RETURN TYPE TO LIST_CMD 3668 */ 3669 if (strcmp(sys_cmd,"grfan")==0) 3670 { 3671 /* 3672 heuristic: 3673 0 = keep all Gröbner bases in memory 3674 1 = write all Gröbner bases to disk and read whenever necessary 3675 2 = use a mixed heuristic, based on length of Gröbner bases 3676 */ 3677 if( h!=NULL && h->Typ()==IDEAL_CMD && h->next!=NULL && h->next->Typ()==INT_CMD) 3678 { 3679 int heuristic; 3680 heuristic=(int)(long)h->next->Data(); 3681 ideal I=((ideal)h->Data()); 3682 #ifndef USE_ZFAN 3683 #define USE_ZFAN 3684 #endif 3685 #ifndef USE_ZFAN 3686 res->rtyp=LIST_CMD; //res->rtyp=coneID; res->data(char*)zcone; 3687 res->data=(lists) grfan(I,heuristic,FALSE); 3688 #else 3689 extern int fanID; 3690 res->rtyp=fanID; 3691 res->data=(void*)(grfan(I,heuristic,FALSE)); 3692 #endif 3693 return FALSE; 3694 } 3695 else 3696 { 3697 WerrorS("Usage: system(\"grfan\",I,int)"); 3698 return TRUE; 3699 } 3700 } 3701 //Possibility to have only one Gröbner cone computed by specifying a weight vector FROM THE RELATIVE INTERIOR! 3702 //Needs wp as ordering! 3703 // if(strcmp(sys_cmd,"grcone")==0) 3704 // { 3705 // if(h!=NULL && h->Typ()==IDEAL_CMD && h->next!=NULL && h->next->Typ()==INT_CMD) 3706 // { 3707 // ideal I=((ideal)h->Data()); 3708 // res->rtyp=LIST_CMD; 3709 // res->data=(lists)grcone_by_intvec(I); 3710 // } 3711 // } 3712 else 3713 #endif 3658 /*======================= demon_list =====================*/ 3714 3659 if (strcmp(sys_cmd,"denom_list")==0) 3715 3660 { -
Singular/test.cc
rae74d2 rc1ec9a 99 99 #include <kernel/shiftgb.h> 100 100 #include "mmalloc.h" 101 #include <kernel/gfan.h>102 101 103 102 #include <kernel/kutil.h> … … 122 121 #include <kernel/f5lists.h> 123 122 ////////#include <kernel/F5cLists.h> 124 125 #include <kernel/gfan.h>126 123 127 124 … … 348 345 { 349 346 printf("iiMake_proc: datetime returned type %d, >>%s<<\n", iiRETURNEXPR.Typ(), (char *)iiRETURNEXPR.Data()); 350 iiRETURNEXPR.CleanUp(); // calls Init afterwards 351 } 347 iiRETURNEXPR.CleanUp(); // calls Init afterwards 348 } 352 349 } 353 350 -
Singular/tesths.cc
rae74d2 rc1ec9a 23 23 #include <kernel/timer.h> 24 24 25 #ifdef HAVE_FANS 26 #include <kernel/bbcone.h> 27 #include <kernel/bbfan.h> 28 #endif 25 // #ifdef HAVE_FANS 26 // #include <callgfanlib/bbcone.h> 27 // #include <callgfanlib/bbpolytope.h> 28 // #include <callgfanlib/bbfan.h> 29 // #include <callgfanlib/gitfan.h> 30 // #endif 29 31 30 32 #include "ipshell.h" … … 177 179 countedref_init(); 178 180 #endif 179 #ifdef HAVE_FANS 180 bbcone_setup(); 181 bbfan_setup(); 182 #endif /* HAVE_FANS */ 181 // #ifdef HAVE_FANS 182 // bbcone_setup(); 183 // bbpolytope_setup(); 184 // bbfan_setup(); 185 // gitfan_setup(); 186 // #endif /* HAVE_FANS */ 183 187 errorreported = 0; 184 188
Note: See TracChangeset
for help on using the changeset viewer.