Changeset c512d9 in git


Ignore:
Timestamp:
Nov 24, 2010, 6:55:59 PM (13 years ago)
Author:
Stefan Steidel <steidel@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
9c0b20a846fcd4420f63d7e2e4ecbe93ff3af9f4
Parents:
74a91c91d8695bf1218f00ca8619a52439734742
Message:
MP-links changed to ssi-links.

git-svn-id: file:///usr/local/Singular/svn/trunk@13669 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/modstd.lib

    r74a91c9 rc512d9  
    7575      int n = #[1];
    7676      if(n >= ncols(I)) { n = ncols(I); }
    77       if((n > 1) && system("with","MP"))
     77      if(n > 1)
    7878      {
    7979         for(i = 1; i <= n - 1; i++)
    8080         {
    81             link l(i) = "MPtcp:fork";
    82             //link l(i) = "ssi:fork";
     81            //link l(i) = "MPtcp:fork";
     82            link l(i) = "ssi:fork";
    8383            open(l(i));
    8484
     
    625625"USAGE:  modStd(I); I ideal
    626626ASSUME:  If size(#) > 0, then # contains either 1, 2 or 4 integers such that
    627 @*       - #[1] is the number of available processors for the computation
    628                 (parallelization is just applicable using 32-bit Singular
    629                 version since MP-links are not compatible with 64-bit Singular
    630                 version),
     627@*       - #[1] is the number of available processors for the computation,
    631628@*       - #[2] is an optional parameter for the exactness of the computation,
    632629                if #[2] = 1, the procedure computes a standard basis for sure,
     
    684681      {
    685682         int n1 = #[1];
    686          if((n1 > 1) && (1 - system("with","MP")))
    687          {
    688      "========================================================================";
    689      "There is no MP available on your system. Since this is necessary to     ";
    690      "parallelize the algorithm, the computation will be done without forking.";
    691      "========================================================================";
    692             n1 = 1;
    693          }
    694683         int exactness = 1;
    695684         int n2 = 10;
     
    699688      {
    700689         int n1 = #[1];
    701          if((n1 > 1) && (1 - system("with","MP")))
    702          {
    703      "========================================================================";
    704      "There is no MP available on your system. Since this is necessary to     ";
    705      "parallelize the algorithm, the computation will be done without forking.";
    706      "========================================================================";
    707             n1 = 1;
    708          }
    709690         int exactness = #[2];
    710691         int n2 = 10;
     
    714695      {
    715696         int n1 = #[1];
    716          if((n1 > 1) && (1 - system("with","MP")))
    717          {
    718      "========================================================================";
    719      "There is no MP available on your system. Since this is necessary to     ";
    720      "parallelize the algorithm, the computation will be done without forking.";
    721      "========================================================================";
    722             n1 = 1;
    723          }
    724697         int exactness = #[2];
    725698         int n2 = #[3];
     
    947920      for(i = 1; i <= n1; i++)
    948921      {
    949          link l(i) = "MPtcp:fork";
     922         //link l(i) = "MPtcp:fork";
     923         link l(i) = "ssi:fork";
    950924         open(l(i));
    951925         if((variant == 1) || (variant == 3) ||
Note: See TracChangeset for help on using the changeset viewer.