FFINDEX_APPLY:(1)
πΈ FFINDEX_APPLY:(1) πΈ
okay so bestie, this is a User Commands page, section 1 of the manual. Pull up a chair, grab a boba, we're gonna talk about ffindex_apply: π
β¨ NAME β¨
ffindex_apply: β apply a program to each FFindex entry π¦
π DESCRIPTION π
So here's the vibe, right? You run this thing and if you didn't give it enough to chew on, it hits you with:
ERROR Not enough arguments.
Which, fair. π Here's how you're supposed to call it:
USAGE: ffindex_apply [-m] [-q] [-l LOG_FILE] -d DATA_FILENAME_OUT -i
INDEX_FILENAME_OUT DATA_FILENAME INDEX_FILENAME -- PROGRAM
[PROGRAM_ARGS]*
Now let's break down the flags, one by one, no skipping, we don't do that here π
-lβ takes aLOG_FILEthat's like an FFindex file, except it's got the return value of the apply stuffed in there too. This file can be processed and used as an FFindex file. For example:
grep " 1$" foo.log | cut -f 1-3 > foo-special.ffindex
where maybe the ffindex_apply ran with
-- perl -e 'return 1 if(/^SPECIAL/)'
iykyk β¨
-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βFFDATAoutput file. Stdout of the program will be captured. π«Ά-iβFFINDEXoutput file; entries get the same name as the input entry. π
Designed and implemented by Andreas Hauser <andy@splashground.de>. π
Then, and I'm not even joking, it goes:
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_FILElike 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βFFDATAoutput file, stdout of program will be captured.-iβFFINDEXoutput 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
yes it really does say all of that twice, bestie. that's just the lore. we keep it. we don't ask questions. π
π¦ 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. π§
and that's the whole thing, my love π it's the ffindex_apply: invalid option ... era, January 2026, and honestly? iconic. no cap. go forth and apply your programs to your FFindex entries. periodt. πππ
π¦ where this page comes from
- ubuntu resolute: ffindex 0.9.9.9-7build2 Β· CC-BY-SA-3.0
- ubuntu stonking: ffindex 0.9.9.9-7build2 Β· CC-BY-SA-3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms