GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#include "defs.h"12#define PSP 5000003#define SPACE 5000004#define PTRSP 100005#define CSPACE 20000006#define CPTRSP 5000007#define CDPTRSP 100008#define SVSP 2000009#define NPT 3276710#define MP 200011#define MB 8012#define MWDL 500013#define MWL2 100014#define MLWDL 3276715#define MSP 3276716#define MV 100017#define MM 20018#define MDIM 10119#define MPR 20002021char mult,inf1[80],inf2[80],inf3[80],outf[80],outft[80];22short ***scoeff[MB],**cdpsp[CDPTRSP],*cpsp[CPTRSP],csp[CSPACE],rwd[MLWDL+MDIM],23wd1[MWDL+MDIM], wd2[MWDL+MDIM], wd3[MWDL+MDIM], wd4[MWDL+MDIM];24int cspace=CSPACE,psp=PSP,space=SPACE,cptrsp=CPTRSP,svsp=SVSP;25short perm[PSP],sv[SVSP],orb[NPT+1],imsp[SPACE],*ptsp[PTRSP],**simcos[MB],26base[MB],lorb[MB],pno[MP/2],*pptr[MP],*svptr[MB],cord[MDIM],pinv[MPR],27invg[MP],rno[MB],cp[MLWDL+MDIM],mspace[MSP],*vec[MV],**mat[MM],gno[MB],28mp=MP,cdptrsp=CDPTRSP,ptrsp=PTRSP,mm=MM,msp=MSP,mv=MV,29mwdl=MWDL,mlwdl=MLWDL,mpr=MPR,mpt=NPT,mb=MB-1,mdim=MDIM-1,mwl2=MWL2;3031int32main (int argc, char *argv[])33{ short arg; char err;34mult=0; err=0; arg=1; if (argc<=arg) {err=1; goto error;}35if (argv[arg][0]=='-')36{ if (argv[arg][1]!='m') {err=1; goto error;} mult=1;37arg++; if (argc<=arg) {arg=1; goto error;}38}39strcpy(inf1,argv[arg]); strcat(inf1,".");40arg++; if (argc<=arg) strcat(inf1,"sg"); else strcat(inf1,argv[arg]);41strcpy(inf2,inf1); strcat(inf2,".er"); strcpy(inf3,inf1);42strcat(inf3,"mat"); strcpy(outf,inf1); strcat(outf,".ep");43strcpy(outft,inf1); strcat(outft,".gc");44if (extpprog()==-1) exit(1);45error: if (err)46{ fprintf(stderr,"Usage: extprun [-m] gpname [inf1]\n");47exit(1);48}49exit(0);50}515253