---
name: "ffindex_apply"
section: "1"
platform: "linux"
package: "ffindex"
version: "0.9.9.9-7+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ffindex_apply"
---

# ffindex\_apply(1)

apply a program to each FFindex entry

## NAME

ffindex\_apply: - apply a program to each FFindex entry

## DESCRIPTION

ERROR Not enough arguments.

USAGE: ffindex\_apply \[-m\] \[-q\] \[-l LOG\_FILE\] **-d** DATA\_FILENAME\_OUT **-i** INDEX\_FILENAME\_OUT DATA\_FILENAME INDEX\_FILENAME **--** PROGRAM \[PROGRAM\_ARGS\]\*

- **-l**

  LOG\_FILE like an FFindex file but with the return value of apply added. This file can be processed and used as FFindex file. E.g. grep "     1$" foo.log \| cut **-f** 1-3 \> foo-special.ffindex. where maybe the ffindex\_apply ran with **--** perl **-e** 'return 1 if(/^SPECIAL/)'

- **-m**

  Do not merge the FFindex parts generated by the different MPI processes This is useful for large MPI Jobs where merge time might be accounted.

- **-d**

  FFDATA output file, stdout of program will be captured

- **-i**

  FFINDEX output file, entries get the same name as input entry

Designed and implemented by Andreas Hauser \<andy@splashground.de\>. debian/tmp/usr/bin/ffindex\_apply: Invalid argument

EXCEPTION ffindex\_apply\_mpi in rank: 0

ERROR Not enough arguments.

USAGE: ffindex\_apply \[-m\] \[-q\] \[-l LOG\_FILE\] **-d** DATA\_FILENAME\_OUT **-i** INDEX\_FILENAME\_OUT DATA\_FILENAME INDEX\_FILENAME **--** PROGRAM \[PROGRAM\_ARGS\]\*

- **-l**

  LOG\_FILE like an FFindex file but with the return value of apply added. This file can be processed and used as FFindex file. E.g. grep "     1$" foo.log \| cut **-f** 1-3 \> foo-special.ffindex. where maybe the ffindex\_apply ran with **--** perl **-e** 'return 1 if(/^SPECIAL/)'

- **-m**

  Do not merge the FFindex parts generated by the different MPI processes This is useful for large MPI Jobs where merge time might be accounted.

- **-d**

  FFDATA output file, stdout of program will be captured

- **-i**

  FFINDEX output file, entries get the same name as input entry

Designed and implemented by Andreas Hauser \<andy@splashground.de\>. debian/tmp/usr/bin/ffindex\_apply: Invalid argument

EXCEPTION ffindex\_apply\_mpi in rank: 0

## BUGS

User feedback is welcome, especially bugs, performance issues and last but not least convenience of the programs and API.

Email Andreas Hauser hauser@genzentrum.lmu.de.
