File: configpar.g

package info (click to toggle)
gap-scscp 2.1.4%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,624 kB
  • ctags: 7
  • sloc: xml: 1,232; sh: 454; makefile: 21
file content (36 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file contains global variable SCSCPservers which
# specifies hosts and ports to search for SCSCP services.
#
# 1) To avoid errors, all services must have the called
#    SCSCP procedure installed and available under the
#    same name.
#
# 2) SCSCPservers is a proper GAP list, so you can use GAP
#    language constructions to generate it for a range
#    of port numbers, for example, for specify SCSCP servers
#    at the the beowulf cluster with hostnames from bwlf01 to 
#    bwlf16 and 4 cores per node you may use: 
# 
#    nrnodes:=16;
#    nrcores:=4;
#    SCSCPservers := Cartesian ( 
#      List( [1..nrnodes], i-> 
#        Concatenation(
#          "bwlf", 
#          Concatenation( List([1..2-Length(String(i))], i->"0") ),
#          String(i) ) ), 
#      [26133 .. 26133+nrcores-1] );
#
# 3) It is better to arrange services in this list in a way
#    that faster services and services with shorter latency
#    will be located in the beginning of the list, this will
#    optimise the initial placement of tasks and will speed
#    up computation when the number of tasks is smaller than
#    the number of services.
#
SCSCPservers:= List( [26133..26134], i-> [ "localhost",  i ] );

###########################################################################
##
#E
##