Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogTo does not work on HPC-GAP #5665

Open
mth162 opened this issue Mar 7, 2024 · 2 comments
Open

LogTo does not work on HPC-GAP #5665

mth162 opened this issue Mar 7, 2024 · 2 comments
Labels
kind: bug Issues describing general bugs, and PRs fixing them topic: HPC-GAP Issues and PRs related to HPC-GAP

Comments

@mth162
Copy link

mth162 commented Mar 7, 2024

Build HPC-GAP:

./configure --enable-hpcgap
make

Then run it:

./bin/gap.sh
LogTo("/path/to/logfile")

then enter various GAP statements ...

Observed behaviour

/path/to/logfile is created but interaction not captured (unless if there is an error--e.g. syntax error)

Expected behaviour

Normal interaction should be captured.

Copy and paste GAP banner (to tell us about your setup)

┌───────┐ HPC-GAP 4.12.2 built on 2023-11-07 21:34:51+0000
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-linux-gnu-hpcgap64-kv8
Maximum concurrent threads: 4
Configuration: gmp 6.2.1, Boehm GC

#W <<< This is an alpha release. >>>
#W <<< Do not use for important work. >>>

Loading the library and packages ...
Packages: Alnuth 3.2.1, AutPGrp 1.11, CRISP 1.4.6, FactInt 1.6.3, FGA 1.4.0, GAPDoc 1.6.6, IRREDSOL 1.4.4, LAGUNA 3.9.5, Polycyclic 2.16, PrimGrp 3.4.4, SmallGrp 1.5.3, Sophus 1.27, TransGrp 3.6.4
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap>

@mth162
Copy link
Author

mth162 commented Mar 8, 2024

Note: if I do exactly same as before, but without the '--enable-hpcgap' option (i.e. building 'normal' GAP) then LogTo works.

@fingolfin fingolfin added the topic: HPC-GAP Issues and PRs related to HPC-GAP label Mar 8, 2024
@fingolfin
Copy link
Member

Yes, this is a side effect of how the REPL is implemented in HPC-GAP. I don't think there is an easy way to fix this. I see little chance that anyone will work on this, I am afraid, sorry.

@fingolfin fingolfin added the kind: bug Issues describing general bugs, and PRs fixing them label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Issues describing general bugs, and PRs fixing them topic: HPC-GAP Issues and PRs related to HPC-GAP
Projects
None yet
Development

No branches or pull requests

2 participants