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

problemtools on WSL instructions #114

Open
godmar opened this issue Feb 15, 2019 · 0 comments
Open

problemtools on WSL instructions #114

godmar opened this issue Feb 15, 2019 · 0 comments

Comments

@godmar
Copy link
Contributor

godmar commented Feb 15, 2019

I installed WSL with the Ubuntu 18 app.
I didn't start fresh but with a WSL that already had the build-essential and python (and possibly other things) installed.

I was able to get problemtools to work (with one warning, described later), as follows:

sudo apt-get install \
    virtualenv automake libboost-all-dev \
    texlive-latex-base texlive-latex-extra texlive-latex-recommended \
    texlive-fonts-recommended texlive-fonts-extra \
    texlive-lang-greek texlive-lang-cyrillic \
    openjdk-8-jre-headless tidy libgmp-dev

Then, I could create a virtual environment and install problemtools into it with

virtualenv yourenv
./yourenv/bin/activate
pip install git+https://github.com/kattis/problemtools

Be aware that this takes a long time due to WSL being dog slow when it comes to file operations. However, once done, problemtools seems to work!

The only error that's left is:

WARNING in ...: Hard stack rlimit of 8388608 so I can't set it to unlimited. I will keep it at 8388608. If you experience unexpected issues (in particular run-time errors) this may be the cause.

which is likely due to WSL's stack limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants