#78 staden-2.0.0b7-src: parallel make fails

closed-fixed
None
5
2010-09-01
2010-08-02
No

If I compile from sources using 4 CPUs on linux using GNU make I get to link some stuff while the staden-2.0.0b7-src/lib/libprimer3.so was not there yet. I do not have the problem when running only one 1 CPU. Would you make the Makefiles more resistent to parallel issues? Thanks.

Discussion

<< < 1 2 (Page 2 of 2)
  • Martin Mokrejs

    Martin Mokrejs - 2010-08-02

    See the another_build.log file.

     
  • James Bonfield

    James Bonfield - 2010-08-02

    Oops, sorry I didn't notice the attached files.

    I believe the problem is to do with the output file, ie the gcc ... -o lib/libprimer3.so fails when the lib directory itself doesn't yet exist. Adding "$(L)/.dir" to the end of the "$(L)/$(SHLIB_PREFIX)$(LIBS)$(SHLIB_SUFFIX):" target in src/primer3/src/Makefile should solve this. I see that it's done by some of the earlier subdirs (eg Misc), but not by all meaning that parallel makes could fail. I'm checking this into svn along with several other Makefiles with similar issues.

    Can you please test again? For me make -j4 works anyway, but I can manually reproduce the problem by removing lib and doing a "make primer3/src" directly to force this to be built before any other element is built.

     
  • Martin Mokrejs

    Martin Mokrejs - 2010-08-02

    Please send me the patches by email, I will have problems to browse the web interactively next 6 days. mmokrejs G i r e s i t e .org should work. Thanks.

     
  • James Bonfield

    James Bonfield - 2010-09-01

    I believe this to be fixed now.

     
  • James Bonfield

    James Bonfield - 2010-09-01
    • status: open-accepted --> closed-fixed
     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks