CONSTANTS(5)
π CONSTANTS(5) π
the LAM FORTRAN LIBRARY manual, bestie β¨
πΈ NAME πΈ
CONSTANTS β constants for LAM Fortran programming π«Ά
π DESCRIPTION π
okay so, here's the whole vibe: this page is the big table of values that matter for all the constants used in LAM. It tells you what each constant is worth, what it means, and which cpp(1) header file it's hiding in. π
To actually use these files, your Fortran source files need to go through cpp(1) before they get handed to the Fortran compiler. Some compiler drivers will just run cpp(1) for you automatically if the source file suffix is .F. no cap. π₯
And if you don't wanna deal with cpp(1) at all? You can literally just copy the constants into parameter statements in your Fortran source files instead. iconic behaviour. π
π Network Constants π¦
LOCALβ value-2147483647β local node β fileNET.hMAXNMSGLENβ value8192β maximum length of one message packet β fileNET.hNHDSIZEβ value8β maximum size in words ofndataargument β fileNET.hNOTNODEIDβ value-2147483648β error occurred inIGNDID(2)β fileNET.hNOTNODETYPEβ value-2147483648β error occurred inIGRTP(2)β fileNET.h
π Node Types β
NTCASTβ value2β multicast definition β fileNET.hNTWASTEβ value4β not fully used/wasted β fileNET.hNTDISKβ value8β node with attached disk β fileNET.hNTTUBEβ value16β node with attached video unit β fileNET.hNTJONESβ value32β node is a neighbour β fileNET.hNTBOOTβ value64β neighbour node to boot β fileNET.hNTALLβ value127β matches any type β fileNET.h
π Message Flags π
NOBUFβ value16β turn off buffering β fileNET.hNREELβ value1024β multireel β fileNET.hDRAWDATAβ value65536βndatarepresentation will not be changed β fileNET.hDINT4DATAβ value131072βndataholds 8 32-bit integer β fileNET.hDFLT4DATAβ value262144βndataholds 8 single precision reals β fileNET.hDFLT8DATAβ value524288βndataholds 4 double precision reals β fileNET.hDRAWMSGβ value1048576βnmsgrepresentation will not be changed β fileNET.hDINT4MSGβ value2097152βnmsgholds integers β fileNET.hDFLT4MSGβ value4194304βnmsgholds single precision reals β fileNET.hDFLT8MSGβ value8388608βnmsgholds double precision reals β fileNET.h
π§ Reserved Cast Identifiers π§
HOST2ALLβ value-2147483646β multicast from origin to all nodes β fileNET.hHOST2COMPβ value-2147483642β multicast from origin to compute nodes β fileNET.h
π File Flags π
O_RDONLYβ value0β open for reading only β fileFREQ.hO_WRONLYβ value1β open for writing only β fileFREQ.hO_RDWRβ value2β open for reading and writing β fileFREQ.hO_APPENDβ value8β append on each write β fileFREQ.hO_CREATβ value512β create file if it does not exist β fileFREQ.hO_TRUNCβ value1024β truncate length to0β fileFREQ.hO_EXCLβ value2048β error if create and file exists β fileFREQ.hO_SYNCβ value8192β update file data and file status before writing β fileFREQ.hO_LOCKβ value65536β lock file descriptor active β fileFREQ.hO_REUSEβ value131072β reuse existing file descriptor β fileFREQ.hO_1WAYβ value4194304β do not acknowledge writes β fileFREQ.h
π Process Runtime Flags π
RTF_WAITβ value16β child sends a message to parent when it exits β fileNET.hRTF_TRACEβ value256β enable process tracing β fileNET.h
and that's the whole page, bestie!! every single constant, every value, every file, all accounted for π β¨
this was LAM 7.1.4, dated July, 2007, and it's the CONSTANTS(5) page β mwah, go forth and parameter statement responsibly ππ«Ά
π¦ where this page comes from
- debian bookworm: lam-runtime 7.1.4-7+b1
- debian trixie: lam-runtime 7.1.4-7.2
- ubuntu jammy: lam-runtime 7.1.4-7
- ubuntu noble: lam-runtime 7.1.4-7.1build2
- ubuntu questing: lam-runtime 7.1.4-8
- ubuntu resolute: lam-runtime 7.1.4-8build1
- ubuntu stonking: lam-runtime 7.1.4-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms