-
Notifications
You must be signed in to change notification settings - Fork 9
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
flecsi-tutorial/00-driver stopped working with legion runtime #52
Comments
Note: with the previous commit of |
Add global_object_wrapper.h to the list of header files to be installed.
@korobkin : there was a bug in flecsi-tutorial that made this test fail for us. I have a fix here laristra/flecsi@839edaf, and I should merge it into master sometime today. Could you, please, check if the test still fail for you after the fix is merge into the master? |
@ipdemes : unfortunately still fails, with the same error (segfault) |
Was that version of mpich built with "--enable-threads=multiple"? |
@charest : good call! but yes, I built it with that option:
|
@korobkin : have you build+used your own mpich or do you use one from the module "mpich/3.2.1" ? |
@ipdemes : I have built it on my own, because turquoise does not have mpich/3.2.1. Maybe there is something wrong with my build? I made it into a module, so that must have been confusing. |
If this is a single node run, your should pull the latest version of the Legion master branch as I believe the issue you are seeing has been fixed. |
@lightsighter : Great! I checked out the master branch of Legion + tried CMAKE_BUILD_TYPE = Debug, and the segfault disappeared. |
@korobkin: that explains why I don’t see the issue: I always build in Debug mode |
@korobkin How many nodes is this with? Is it the same backtrace as before? Is there any chance you can compile with optimizations on but with the "-g" flag also so we can get line numbers for the backtrace? |
@lightsighter @ipdemes : OK just found out that an old trick of simply increasing the stack limit makes segfault disappear, both for Debug and Release compilation options: |
@lightsighter : I think I found the issue: the legion_defines.h file has DEBUG options wnabled for both Debug and Release builds: |
@korobkin : I don't think so. I think we should fix an issue with "legion_defines.h" first |
@ipdemes : do you mean this file? legion/cmake/legion_defines.h.in @lightsighter : yes, this is a single-node run. If I try to run it in gdb after recompiling with '-g' option, the problem disappears. If I increase the stack, it also disappears. There is a file above (error_messages.txt) which hints at approximate location of where the problem might have occured, but without exact line numbers. |
@ipdemes Let's fix the issue that you identified and then see where we are. |
@lightsighter , @korobkin : sorry for the confusion: it seems like the issue is already fixed in the most recent legion's master branch. |
@korobkin : can we close the issue? |
After commit bfd2828 the flecsi-tutorial/00-driver won't work with legion on Wolf:
Steps to reproduce:
module load cmake/3.9.0 python/2.7-anaconda-4.1.1 gcc/6.4.0 boost/1.61 mpich/3.2.1
flecsi-third-party
commit bfd2828flecsi
, current master branch (or commit laristra/flecsi@ecd3c76)Full error output with the flag GASNET_BACKTRACE=1: error_message.txt
The text was updated successfully, but these errors were encountered: