sc-mkf77sym(1)

πŸ“¦ version 2.3.1, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

sc-mkf77sym β€” the little bestie that generates symbols so you can link your FORTRAN subroutines into MPQC πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

sc-mkf77sym input output

✨ DESCRIPTION ✨

okay so listen, sc-mkf77sym is not complicated, she just needs two arguments: the name of the input file and the name of the output file. that's it. that's the whole vibe. πŸ’…

the input file is where you drop your C preprocessor definitions, and they look like #define F77_FUNC, where FUNC is the name of a FORTRAN 77 function. then the output file takes those definitions and assigns them to the C symbol that's gonna link with that FORTRAN 77 function. matchmaker behaviour honestly 🫢

so like, for example β€” say your FORTRAN symbols get made by taking the routine name, converting it to lowercase, and appending an underscore. then an input file that's just:

#define F77_DGEMM

will give you an output file that's just:

#define F77_DGEMM dgemm_

literally iconic. it's giving translator. it's giving glue code. 😭✨


πŸ“œ LICENSE πŸ“œ

sc-mkf77sym is open-source software 🌈 β€” you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. yes bestie, at your option. periodt. πŸ‘‘


🫢 WARRANTY 🫢

sc-mkf77sym is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 😭 see the GNU General Public License for more details. no promises, no cap, she said what she said πŸ’€


and that's the whole page, bestie πŸ’œ this one shipped as part of MPQC Version 2.3.1, so go forth and link those FORTRAN subroutines. slay πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from