Ported GridEngine terabyte fix and shm processors from JobTree (resolves #409) - #454
Conversation
|
Can one of the admins verify this patch? |
|
The title of the PR should reference the issue it is addressing. Check out the other PRs for an example. Commit messages should start with upper-case letter. And please squash the two commits into one using interactive rebase. Then take off the |
|
Also, "ported changes from jobTree" is not descriptive enough for a commit message. Remember that most UIs only show the first 80 characters of the commit message so that's where you communicate the intend of the commit. |
|
I made the changes! But I don't think I have permission to remove the "needs work" label myself. |
|
Ah yes. Once we add you to the GH team, you will be able to. |
|
Jenkins, ok to test. |
|
The title of the PR should reference the issue it is addressing. Check out the other PRs for an example. |
|
Is this better? |
|
No. Watch me ;-) |
|
Now, if I merge the PR, the associated issue will be resolved, and it will reference the commit that resolves it. This kind of tracking is very important on a project with many people contributing. |
|
Ah, I didn't notice this until now: the mode of the Makefile shouldn't be changed. There is no need for the Makefile to be executable. So that change needs to be eliminated and the commits squashed again. |
|
Sorry, commit still includes mode change for Makefile. |
|
Not sure what I did wrong the first time, but it should be fixed now! |
|
Could you do some research on the difference between the smp and shm virtual environments and link to the corresponding web pages here? The author of benedictpaten/jobTree#41 had a problem with |
|
"PE for Multithreaded or Shared Memory Parallel If your program requires a number of slots which may fit on a single node, use the "shm" PE." https://proteusmaster.urcf.drexel.edu/urcfwiki/index.php/Writing_Job_Scripts "The smp parallel environment is designed to give you access to multiple cores on each machine. If your program is multi-threaded, and you want it to have 2 cores, you might run it this way: % qsub -pe smp 2 runme https://cs.brown.edu/about/system/services/hpc/gridengine/ "VMware Virtual SMP makes it possible for a single virtual machine to span up to four physical processors, or CPUs. These processors share the same memory, and work on any task regardless of the location of the task in memory." https://www.vmware.com/pdf/vsmp_datasheet.pdf "A shared memory is an extra piece of memory that is attached to some address spaces for their owners to use. As a result, all of these processes share the same memory segment and have access to it." http://www.csl.mtu.edu/cs4411.ck/www/NOTES/process/shm/what-is-shm.html Other links that might be helpful: http://man7.org/linux/man-pages/man7/cpuset.7.html |
|
Thank you. That's helpful. We'll use |
|
Should I squash this with the other commit? |
|
Yes, that'd be great. On Wed, Oct 7, 2015 at 2:11 PM, JakeNarkizian notifications@github.com
Hannes Schmidt (206) 696-2316 (cell) |
|
Not sure why the last post appears to come from Jenkins but it was me. I replied by email instead of using the GitHub web UI. |
Modified init in MemoryString class in gridengine.py to support for terabyte (T) MEMTOT output from host, and specified shm processors via -pe shm in prepareQsub function. GridEngine Parallel Environment is now configurable, “shm” is the default value unless TOIL_GRIDENGINE_PE environment variable is set and non-empty
|
Pretty sure the test failure is unrelated to this change. BTW, @JakeNarkizian are you able to access our Jenkins instance? |
|
Jenkins, test this please. |
|
Yes! Just got onto it now. |
|
Jenkins, test this please. |
|
Should I merge the pull request? |
|
Only the build master (me) should merge PRs. |
Ported GridEngine terabyte fix and shm processors from JobTree (resolves #409)
Modified init in MemoryString class in gridengine.py to support for terabyte (T) MEMTOT output from host, and specified shm processors via -pe shm in prepareQsub function.
Resolves #409