Skip to content

builds > 5.1.2 failing #428

Open
Open

Description

@jvolkening

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions