opari(1)
β¨ opari β the manual page, but make it make sense β¨
okay bestie, welcome to opari(1), a General Commands Manual page, and honestly? she's giving source to source OpenMP program instrumentor. no cap. let's get into it π
πΈ NAME πΈ
opari β the source-to-source OpenMP program instrumentor. that's it, that's the girl. π
π¦ SYNOPSIS π¦
opari
[-f70|-f90|-c|-c++]
[-disable <construct>[,<construct>]...]
[-rcfile file] [-table <tabfile>] <infile> [<outfile>]
opari
[-rcfile <file>] -table <tabfile>
two whole moods, bestie. pick your era. β¨
π DESCRIPTION π
okay so here's the tea. before you compile the source files of an OpenMP application, every single file needs to be transformed by a call to the OPARI tool. like, no skipping, no shortcuts, fr fr.
and then β plot twist β the application also has to be linked against the pomp runtime measurement library and the OPARI runtime table file. the way that table file has to be generated? using the -table option to OPARI, either:
- together with the transformation of the last input source file, or
- with a separate call to OPARI after all the transformations are done. π«Ά
also, if you don't specify the output file name, OPARI is gonna be cute and use the name infile.mod.suffix β that's assuming your input file is called infile.suffix. iconic naming behaviour, honestly. π
π OPTIONS π
-f70,-f90,-c,-c++β [OPTIONAL] this one tells OPARI what programming language your input source file is written in. it's only necessary if the automatic language detection (which works off the input file's suffix) fails β so basically, only when the vibe check on your filename comes back inconclusive. π-rcfile <file>β [OPTIONAL] so OPARI normally uses the file./opari.rcto preserve state information between calls to OPARI, and that matters when your OpenMP application is made of more than one source file. with the-rcfileoption, the file file is used instead. super useful if more than one application is stored in the same directory, or if the source files of an application are stored in more than one directory. lowkey a lifesaver for messy folders. π-table <tabfile>β generate the OPARI runtime table in file tabfile. this option has to be used either together with the call to OPARI for the transformation of the last input source file, or with a separate call to OPARI after all the transformations are done. no in-between, bestie, those are the rules. β-disable <construct>β [OPTIONAL] disables the instrumentation of the more fine-grained OpenMP constructs, like!$OMP ATOMICfor example. construct is a comma separated list of the constructs for which the instrumentation should be disabled. accepted tokens areatomic,critical,master,flush,single, orlocksβ and alsosyncif you wanna disable all of them at once. π
π₯ SEE ALSO π₯
/usr/share/doc/opari/Readme.html
go read her, she's the whole origin story. π
π AUTHOR π
opari was written by Bernd Mohr. π«Ά
this manual page was adapted from Readme.html by Samuel Thibault <thibault@debian.org>, for the Debian project (and may be used by others). she's a team player, we love to see it. π
and that's the whole page, bestie!! πΈβ¨ this cutie dropped back on May 20 as part of the General Commands Manual collection β go forth and instrument those OpenMP apps, you absolute main character. periodt. π ππ¦
π¦ where this page comes from
- debian bookworm: opari 1.1+dfsg-9 Β· misc
- debian trixie: opari 1.1+dfsg-9+b2 Β· misc
- ubuntu jammy: opari 1.1+dfsg-9 Β· misc
- ubuntu noble: opari 1.1+dfsg-9build1 Β· misc
- ubuntu questing: opari 1.1+dfsg-9build1
- ubuntu resolute: opari 1.1+dfsg-9build2 Β· misc
- ubuntu stonking: opari 1.1+dfsg-9build2 Β· misc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms