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

Errors in running install_SG.sh #21

Open
rmmomin opened this issue Jul 16, 2019 · 5 comments
Open

Errors in running install_SG.sh #21

rmmomin opened this issue Jul 16, 2019 · 5 comments

Comments

@rmmomin
Copy link

rmmomin commented Jul 16, 2019

@rickecon @janertl @rebekahanne

While running ./install_SG.sh on the Midway cluster, the script terminates with the error below. As a result, I receive an error trying to run OSE2019/day1/SparseGridCode/analytical_examples/TASMANIAN_Python/OSE_example.py

Traceback (most recent call last):
File "setup.py", line 25, in
import numpy
ImportError: No module named numpy
Traceback (most recent call last):
File "setup.py", line 25, in
import numpy
ImportError: No module named numpy
Traceback (most recent call last):
File "hs071.py", line 6, in
import pyipopt
ImportError: No module named pyipopt
PYIPOPT is tested and installed
IPOPT and PYIPOPT is installed

@rickecon
Copy link
Contributor

rickecon commented Jul 16, 2019

@sischei and @azinoma can you look at this question from @rmmomin? This doesn't make sense to me why there is a numpy error.

@rebekahanne
Copy link
Contributor

@rmmomin One quick fix for me was to load in the anaconda module. This is probably overkill.

@ozaltun
Copy link

ozaltun commented Jul 16, 2019

I installed the python 3.5.2 using:

module load python/3.5.2

@azinoma
Copy link
Contributor

azinoma commented Jul 16, 2019

Some scripts still use python 2 at some parts, so it may be better do
module load python
, which will load python/2.7.12

@ozaltun
Copy link

ozaltun commented Jul 16, 2019

In case you want a more interactive view, you can run jupyter notebook using the cluster. Instructions can be found:

https://rcc.uchicago.edu/docs/software/environments/python/index.html

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

5 participants