Created
June 3, 2021 04:01
-
-
Save js51/aa1b5aa03dc3d98a020c1b6826712a93 to your computer and use it in GitHub Desktop.
Allocate more memory to GAP in SAGE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gigs = 30 | |
| old_command = gap._Expect__command | |
| s = old_command.index('-o ') | |
| e = old_command.index(' -', s) | |
| gap._Expect__command = gap._Expect__command.replace(gap._Expect__command[s:e], f'-o {gigs}G') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment