# VECFEM3 Reference Manual: combgn

Type: FORTRAN routine

## NAME

combgn - initialize a parallel computer for a VECFEM calculation

## SYNOPSIS

CALL COMBGN(
  NPROC,MYPROC,LTIDS,TIDS,NAME,INFO)
INTEGER
  NPROC,MYPROC,LTIDS,INFO
INTEGER
  TIDS(LTIDS)

## PURPOSE

VECFEM uses its own communication routines, which call the actual communication routines of the used parallel computer. The processes involved in the calculation get a logical process id between 1 and NPROC. On every process the variable MYPROC specifies the logical process id of the process. It lies between 1 and NPROC. combgn craetes the list TIDS which maps the logical process ids to the physical process id.

## ARGUMENTS

NPROC integer, scalar, output, global
  Number of processes.
MYPROC integer, scalar, output, local
  Logical process id number of the process.
LTID integer, scalar, input, local
  Length of the TIDS vector.
TIDS integer, array: TIDS(LTIDS), output, global
  Map of the logical to the physical process id.
NAME character*80, scalar, global, local
  unused.
INFO integer, scalar, output, global
  Return code. INFO<>0 indicates an error.

## EXAMPLE

See vemexamples.

## REFERENCES

[P_MPI].

## SEE

comend, VECFEM, vemexamples.

## COPYRIGHTS

Program by H. Haefner, L. Grosz, 1994. Copyrights by Universitaet Karlsruhe 1989-1996. Copyrights by Lutz Grosz 1996. All rights reserved. More details see VECFEM.

By L. Grosz, Auckland, 4. June, 2000.