Changeset 6b32990 in git for Singular/tesths.cc


Ignore:
Timestamp:
Dec 12, 2000, 9:44:55 AM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
de7793b9aaa39c2f00b6e30ee4ad5c82915497aa
Parents:
52ea3f939ec0aa2915d2d6a747bab3976eb9bfb7
Message:
* dynamic kernel modules for MP and DBM links
* p_Procs improvements


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

Legend:

Unmodified
Added
Removed
  • Singular/tesths.cc

    r52ea3f r6b32990  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: tesths.cc,v 1.82 2000-09-18 09:19:38 obachman Exp $ */
     4/* $Id: tesths.cc,v 1.83 2000-12-12 08:44:55 obachman Exp $ */
    55
    66/*
     
    3030#include "distrib.h"
    3131#include "version.h"
     32#include "slInit.h"
    3233
    3334#ifdef HAVE_FACTORY
     
    213214  {
    214215#ifdef HAVE_MPSR
    215     extern int Batch_do(const char* port, const char* host);
    216     return Batch_do((char*) feOptValue(FE_OPT_MPPORT),
    217                     (char*) feOptValue(FE_OPT_MPHOST));
     216    BatchDoProc batch_do = slInitMPBatchDo();
     217    if (batch_do != NULL)
     218      return (*batch_do)((char*) feOptValue(FE_OPT_MPPORT),
     219                         (char*) feOptValue(FE_OPT_MPHOST));
     220    else
     221      return 1;
    218222#else
    219223    assume(0);
Note: See TracChangeset for help on using the changeset viewer.