Closed KareemAlaa2001 closed 2 years ago
This seems to make that specific error go away, however we are now running into a separate issue where the compilation fails for all three examples without any error message:
We will try to solve "Gregor and Cryptography":
https://codeforces.com/problemset/problem/1549/A
We will run:
1. A program that does not compile.
2. A program that runs successfully, but gives the wrong answer sometimes.
3. A correct solution.
--------------------------------------------------------------------------------
An invalid program is reported as not compiling:
[global_forkclient.cc : 122] RAW: Starting global forkserver
Compilation failed
--------------------------------------------------------------------------------
The bad solution passes a few tests but then fails.
Because we set stop_on_first_failure to True, we stop once we see a failure.
We are running on 4 threads, so it's possible that more than one failure occurs
before all threads stop.
Compilation failed
--------------------------------------------------------------------------------
The good solution passes all tests.
Compilation failed
The syscall was added to both specified locations with everything else being kept as is
Ok, can you print out more information to where it prints compilation failed here? In particular, multi_result.compilation_result.stdout
and multi_result.compilation_result.stderr
.
So having done that, we realised that the passed in paths for python3 to the run command were not exactly correct 😅 updating that fixed our issue. Thanks!
When attempting to run the solve_example script using the second given command with the python2 and 3 paths specified on a Ubuntu 20 system, the build completes successfully however the compilation fails for all three given examples for the SolveGregorAndCryptography function. The full stack trace is shown below:
clang --version: