source: trunk/Clp/src/AbcCommon.hpp @ 1878

Last change on this file since 1878 was 1878, checked in by forrest, 7 years ago

minor changes to implement Aboca

File size: 1.3 KB
Line 
1/* $Id: AbcCommon.hpp 1665 2011-01-04 17:55:54Z lou $ */
2// Copyright (C) 2003, International Business Machines
3// Corporation and others, Copyright (C) 2012, FasterCoin.  All Rights Reserved.
4// This code is licensed under the terms of the Eclipse Public License (EPL).
5/*
6   Authors
7
8   John Forrest
9
10 */
11#ifndef AbcCommon_H
12#define AbcCommon_H
13/*
14  0 - off
15  1 - build Abc serial but no inherit code
16  2 - build Abc serial and inherit code
17  3 - build Abc cilk parallel but no inherit code
18  4 - build Abc cilk parallel and inherit code
19 */
20#if CLP_HAS_ABC
21#if CLP_HAS_ABC==1
22#ifndef ABC_PARALLEL
23#define ABC_PARALLEL 0
24#endif
25#ifndef ABC_USE_HOMEGROWN_LAPACK
26#define ABC_USE_HOMEGROWN_LAPACK 2
27#endif
28#elif CLP_HAS_ABC==2
29#ifndef ABC_PARALLEL
30#define ABC_PARALLEL 0
31#endif
32#ifndef ABC_USE_HOMEGROWN_LAPACK
33#define ABC_USE_HOMEGROWN_LAPACK 2
34#endif
35#ifndef ABC_INHERIT
36#define ABC_INHERIT
37#endif
38#elif CLP_HAS_ABC==3
39#ifndef ABC_PARALLEL
40#define ABC_PARALLEL 2
41#endif
42#ifndef ABC_USE_HOMEGROWN_LAPACK
43#define ABC_USE_HOMEGROWN_LAPACK 2
44#endif
45#elif CLP_HAS_ABC==4
46#ifndef ABC_PARALLEL
47#define ABC_PARALLEL 2
48#endif
49#ifndef ABC_USE_HOMEGROWN_LAPACK
50#define ABC_USE_HOMEGROWN_LAPACK 2
51#endif
52#ifndef ABC_INHERIT
53#define ABC_INHERIT
54#endif
55#else
56#error "Valid values for CLP_HAS_ABC are 0-4"
57#endif
58#endif
59#endif
Note: See TracBrowser for help on using the repository browser.