GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#include "defs.h"12# define SPACE 20000003# define CSPACE 10000004# define WDL 200005# define PTRSP 100006# define CDPTRSP 100007# define CPTRSP 5000008# define MB 809# define MM 12910# define MPR 50011# define MARG 2000012/* This program uses output of extprun. Some of variables are the same */1314char mult,inf0[80],inf1[80],inf2[80],outf[80],outft[80],inf3[80];15/* No defaults. inf1 is G inf2 H for corestriction H to G16inf1 also takes values G.cp and G.rel.17inf3 mats of cosetreps. (only if -m not set)18outf always inf1.er. inf0 to remember gpname.19*/20short csp[CSPACE],***coeff[MB],*cpsp[CPTRSP],**cdpsp[CDPTRSP];21short sp[SPACE],*psp[PTRSP],**imcos[MB],**mat[MM],**cpco[MB],lorb[MB],pinv[100],22wdl=WDL,ptrsp=PTRSP,marg=MARG,23cdptrsp=CDPTRSP,mb=MB,mpr=MPR;24int space=SPACE,cptrsp=CPTRSP,cspace=CSPACE;2526int27main (int argc, char *argv[])28{ short arg; short err;29mult=0; err=0; arg=1; if (argc<=arg) {err=1; goto error; }30if (argv[arg][0]=='-')31{ if (argv[arg][1]!='m') {err=1; goto error;}32mult=1;33arg++; if (argc<=arg) {err=1; goto error; }34}35strcpy(inf0,argv[arg]);strcat(inf0,".");strcpy(inf2,inf0);strcpy(inf3,inf0);36arg++; if (argc<=arg) {err=1; goto error;} strcat(inf0,argv[arg]);37arg++; if (argc<=arg) {err=1; goto error;} strcat(inf2,argv[arg]);38if (mult==0)39{ arg++; if (argc<=arg) {err=1; goto error;} strcat(inf3,argv[arg]);40strcat(inf3,"mat");41}42strcpy(outf,inf0); strcat(outf,".er");43strcpy(outft,inf0); strcat(outft,".wl");44if (crprog1()== -1) exit(1);45if (crprog2()== -1) exit(1);;46error: if (err)47{ fprintf(stderr,"Usage: crrun [-m] gpname inf1 inf2 (if not -m inf3)\n");48exit(1);49}50exit(0);51}525354