-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Hi,
Simon and Bora figured out how to solve the error which appeared for most of us when running main.py.
A good way of solving it is:
- when you are logged onto the cluster, go to your home directory using
cd(normally you should be there already, but acddoesn't hurt). - type
vim .bashrcso that you are able to edit the bashrc file - press
iso that you are in insert mode. - paste
module load python
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export IPOPT_DIR="/home/rccguest1410/OSE2019/day1/SparseGridCode/pyipopt_midway/Ipopt-3.12.5/build"
export LD_LIBRARY_PATH=$IPOPT_DIR/lib:$LD_LIBRARY_PATH
(you need to use ctrl + shift + v for pasting) and replace the four digits in rccguest1410 by the last four digits of your yubikey.
5. press escape to exit the insert mode
6. type :wq to save the changes and exit vim.
Exit the terminal and log on again.
Now it should work.
Keep us posted if not.
ozaltun, EricHuang49 and ani1231091
Metadata
Metadata
Assignees
Labels
No labels