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

Octave will not run #38

Closed
bnmnetp opened this issue Oct 18, 2020 · 2 comments
Closed

Octave will not run #38

bnmnetp opened this issue Oct 18, 2020 · 2 comments

Comments

@bnmnetp
Copy link

bnmnetp commented Oct 18, 2020

Hi,

I'm getting the following error when trying to run an Octave problem with the RESTAPI

/usr/bin/octave-cli: error while loading shared libraries: libopenblas.so.0: failed to map segment from shared object

If I shell in to the server I can run octave-cli with no problems. I've even tried runguard octave-cli and that also works.

Any ideas on where I should go from here?

@trampgeek
Copy link
Owner

trampgeek commented Oct 18, 2020

The problem is almost certainly due to hitting one of the resource limits in the Runguard sandbox on Jobe. There are several discussions on such things in the CodeRunner forum, e.g. this one. The various parameters are documented here. memorylimit, numprocs and disklimit are the usual culprits, in that order. Try a memorylimit of 0 for a start, which disables the check altogether. The environment variable OPENBLAS_NUM_THREADS might also be relevant - see this thread.

@bnmnetp
Copy link
Author

bnmnetp commented Oct 18, 2020

Thanks, I just figured it out myself by looking at the testsubmit.py script and noticing that you were setting the memorylimit for octave. That has solved it. Thanks for the quick answer!

@bnmnetp bnmnetp closed this as completed Oct 18, 2020
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