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

Update scripts in examples directory to match current tutorial code #32

Open
dan-blanchard opened this issue Jul 22, 2015 · 1 comment

Comments

@dan-blanchard
Copy link
Contributor

Currently, the scripts in the examples directory haven't been touched for many years. The RTD tutorial is much more up-to-date.

@stevekm
Copy link

stevekm commented Nov 21, 2017

What is the status of these example scripts? Are they supposed to work? I cannot get them to work, not sure if its due to the issue mentioned here or not;

$ python drmaa-python/examples/example1.py

Unable to communicate with master.cm.cluster(192.168.10.1)
A session was started successfully
Traceback (most recent call last):
  File "drmaa-python/examples/example1.py", line 15, in <module>
    main()
  File "drmaa-python/examples/example1.py", line 12, in main
    s.exit()
  File "/ifs/data/molecpathlab/venv/lib/python2.7/site-packages/drmaa/session.py", line 271, in exit
    py_drmaa_exit()
  File "/ifs/data/molecpathlab/venv/lib/python2.7/site-packages/drmaa/wrappers.py", line 80, in py_drmaa_exit
    return _lib.drmaa_exit(error_buffer, sizeof(error_buffer))
  File "/ifs/data/molecpathlab/venv/lib/python2.7/site-packages/drmaa/errors.py", line 151, in error_check
    raise _ERRORS[code - 1](error_string)
drmaa.errors.NoActiveSessionException: code 5: drmaa: No active DRMAA session.

I also have these set, not sure if its related:

$ echo $SGE_ROOT
/cm/shared/apps/sge/2011.11p1
$ echo $SGE_CELL
default

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