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

parinfer is not built with -threaded #33

Closed
ehigham opened this issue Oct 28, 2021 · 0 comments
Closed

parinfer is not built with -threaded #33

ehigham opened this issue Oct 28, 2021 · 0 comments

Comments

@ehigham
Copy link
Contributor

ehigham commented Oct 28, 2021

In the "Parallel Type Inferencer" example in chapter 4, parinfer is invoked like this

$ ./parinfer <benchmark.in +RTS -s -N2

The recipe for parinfer in parconc-examples.cabal doesn't allow this, however, as parinfer is not built with -threaded. Running with stack following a stack build leads to the following error:

$ stack exec parinfer <parinfer/benchmark.in -- +RTS -s -N2
parinfer: the flag -N2 requires the program to be built with -threaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants