[Trilinos-Users] Amesos2/SuperLUdist Build Errors on OSX

Kris Beckwith beckwith at txcorp.com
Fri Mar 13 07:59:16 MDT 2015


I’m attempting to build Trilinos 11.12.1/11.14.1 against SuperLU_Dist 2.5 on OSX Yosemite using
Clang 6.0.0. I’m encountering the errors given below during the compilation of Amesos2_Factory.cpp.
On Linux with gcc 4.4, compilation of Trilinos 11.12.1 against SuperLU_Dist 2.5 succeeds.
Is this a known problem for Clang 6.0.0, or is it due to the use of an older version of SuperLUDist?
Any insights would be appreciated.

Thanks for the help,

Kris Beckwith

-- 
Kris Beckwith             beckwith at txcorp.com
Tech-X Corporation
5621 Arapahoe Ave, Suite A
Boulder, CO 80303 
Phone: 303-996-2027
Fax:   (303) 448-7756
--

In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.cpp:44:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.hpp:102:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist.hpp:47:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_decl.hpp:58:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:62:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp:84:
/software/superlu_dist-2.5-par/include/superlu_zdefs.h:254:14: error: conflicting types for 'pxgstrs_init'
extern int_t pxgstrs_init(int_t, int_t, int_t, int_t,
             ^
/software/superlu_dist-2.5-par/include/superlu_ddefs.h:254:14: note: previous declaration is here
extern int_t pxgstrs_init(int_t, int_t, int_t, int_t,
             ^
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.cpp:44:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.hpp:102:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist.hpp:47:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_decl.hpp:58:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:62:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp:84:
/software/superlu_dist-2.5-par/include/superlu_zdefs.h:257:13: error: conflicting types for 'pxgstrs_finalize'
extern void pxgstrs_finalize(pxgstrs_comm_t *);
            ^
/software/superlu_dist-2.5-par/include/superlu_ddefs.h:257:13: note: previous declaration is here
extern void pxgstrs_finalize(pxgstrs_comm_t *);
            ^
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.cpp:44:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.hpp:102:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist.hpp:47:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_decl.hpp:58:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:62:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp:84:
/software/superlu_dist-2.5-par/include/superlu_zdefs.h:304:16: error: conflicting types for 'Destroy_LU'
extern void    Destroy_LU(int_t, gridinfo_t *, LUstruct_t *);
               ^
/software/superlu_dist-2.5-par/include/superlu_ddefs.h:302:16: note: previous declaration is here
extern void    Destroy_LU(int_t, gridinfo_t *, LUstruct_t *);
               ^
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.cpp:44:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.hpp:102:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist.hpp:47:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_decl.hpp:58:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:62:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp:84:
/software/superlu_dist-2.5-par/include/superlu_zdefs.h:305:16: error: conflicting types for 'LUstructInit'
extern void    LUstructInit(const int_t, const int_t, LUstruct_t *);
               ^
/software/superlu_dist-2.5-par/include/superlu_ddefs.h:303:16: note: previous declaration is here
extern void    LUstructInit(const int_t, const int_t, LUstruct_t *);
               ^
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.cpp:44:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Factory.hpp:102:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist.hpp:47:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_decl.hpp:58:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:62:
In file included from /builds/trilinos-11.14.1/packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp:84:
/software/superlu_dist-2.5-par/include/superlu_zdefs.h:306:16: error: conflicting types for 'LUstructFree'
extern void    LUstructFree(LUstruct_t *);
               ^
/software/superlu_dist-2.5-par/include/superlu_ddefs.h:304:16: note: previous declaration is here
extern void    LUstructFree(LUstruct_t *);


More information about the Trilinos-Users mailing list