[maker-devel] issue with forks module

Carson Holt carsonhh at gmail.com
Tue Jun 17 15:09:55 MDT 2014


There is a change in Perl 5.18 that makes the forks.pm module incompatible.
The forks.pm model maintainers have yet to update their module to resolve
the issue, so it only works on perl version prior to 5.18.
One work around it to manually edit forks.pm line 1736 yourself.

Change it from this -->
$write = each %WRITE;

To this (make sure to include the {} brackets)-->
{
     no warnings qw(internal);
     $write = each %WRITE;
}

--Carson


From:  Nathaniel Jue <juefish at gmail.com>
Date:  Tuesday, June 17, 2014 at 2:54 PM
To:  <maker-devel at yandell-lab.org>
Subject:  [maker-devel] issue with forks module

I've been running into all kinds of issues with the implementation of forks
in GMOD. I repeatedly get this error when running an MPI run of Maker:

Use of each() on hash after insertion without resetting hash iterator
results in undefined behavior at
/data2/local_installs/perls/perl-5.18.1/lib/site_perl/5.18.1/x86_64-linux/fo
rks.pm <http://forks.pm>  line 1736.

I had to install an alternative version of perl with perlbrew but everything
seemed to work on the test data sets. Any thoughts on what might be the
issue? Or if this is even an issue that would affect results?

Thanks,
Nate
_______________________________________________ maker-devel mailing list
maker-devel at box290.bluehost.com
http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://yandell-lab.org/pipermail/maker-devel_yandell-lab.org/attachments/20140617/408d59ae/attachment-0003.html>


More information about the maker-devel mailing list