adaptivecomputing / torque

Torque Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

builds > 5.1.2 failing

jvolkening opened this issue · comments

I am attempting to upgrade a cluster running Debian stable ('stretch') from TORQUE 5.1.2 to a more recent version. On my current head node I am able to compile 5.1.2 with DRMAA support without problems, but attempts to build 5.1.3 or 6.1.1.1 fail when compiling DRMAA libraries with a bunch of "redefinition" errors of the sort

In file included from /usr/include/c++/6/bits/stl_algobase.h:61:0,                                                                                                                          
                 from /usr/include/c++/6/bits/char_traits.h:39,                                                                                                                                 
                 from /usr/include/c++/6/string:40,                                                                                                                                                  
                 from ../../../src/include/attribute.h:76,
                 from ../../../src/include/lib_ifl.h:4,
                 from submit.c:39:
/usr/include/c++/6/bits/cpp_type_traits.h:205:12: error: redefinition of ‘struct std::__is_integer<int>’

These seem to occur when compiling src/drmaa/src/session.c and src/drmaa/src/submit.c. In comparing these files between 5.1.2 and 5.1.3, it seems the main difference is the include statement for lib_ifl.h. If I remove these includes everything builds okay, but I'm unsure of whether this will affect functionality of the DRMAA libs.

I tried to post this to the torqueusers mailing list, but for some reason the form to join isn't working for me right now, so I'm posting here in case someone can provide insight or has seen this issue before.