source: branches/MPI/MSVisualStudio/v10/x64/nosparse/config.h @ 240

Last change on this file since 240 was 240, checked in by kulshres, 8 years ago

merge mpi sources from gitclone

The mpi support has been tested only in linux/unix environments.
No support at the moment for Visual Studio or any other systems

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

The following commits are merged:

commit 311273b86bba6700332c32dc384132e840fddebe
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Jun 9 13:59:57 2011 +0200

correct inclusion of headers

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 045e1543da434ac50d1a353bd6c076b60edccd3a
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Jun 9 13:14:42 2011 +0200

remove unbalanced barrier

it is not needed there anyway.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit cfba8b1e574e0758d5877f4eff60a9279a165a28
Author: Benjamin Letschert <letschi@…>
Date: Mon Jun 6 16:35:53 2011 +0200

Correct checking if defined mpi/mpi.h or mpi.h

commit 846b5ff6f470731bc19a5d29a4a4ade8391118e1
Author: Benjamin Letschert <letschi@…>
Date: Mon Jun 6 15:23:16 2011 +0200

Adding mpi-parallel drivers and interfaces for C

Signed-off-by: Benjamin Letschert <letschi@…>

commit 50be816100ac42d9df820fec78e36f8dafe4a6e6
Author: Benjamin Letschert <letschi@…>
Date: Mon Jun 6 12:41:23 2011 +0200

Changed send/recv to bcast/reduce for efficiency.

commit c388ac049f05e2db03afc358dbf698223e3f6643
Author: Benjamin Letschert <letschi@…>
Date: Mon Jun 6 12:39:58 2011 +0200

Refactored forward and reverse interfaces into their own file.

Signed-off-by: Benjamin Letschert <letschi@…>

commit c3894d61704520129b79bfd340adfe00a3ed6394
Author: Benjamin Letschert <letschi@…>
Date: Wed Jun 1 15:52:49 2011 +0200

Adding broadcast and reduce functionality to parallel adol-c

commit 8f1c2534d0868aa8ededa2b954337bda43e09f46
Author: Benjamin Letschert <letschi@…>
Date: Wed Jun 1 14:07:42 2011 +0200

Bugfix for index and nonlinear index domains by sending data

commit 6080e85cd973eb782cf019b58ddadf110aee4232
Author: Benjamin Letschert <letschi@…>
Date: Fri May 27 12:40:54 2011 +0200

correct checking for C++ inside adolc_mpi.h

commit c64771e2fc4a95664a747a9f68f8dcca8c324a57
Author: Benjamin Letschert <letschi@…>
Date: Thu May 26 14:40:22 2011 +0200

Change Index Elements into locints in uni5_for.c

commit fd8f8f4c7f67104cb3ea0c66474fc2c0eeb41997
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Wed Mar 23 13:55:00 2011 +0100

typo in the source of recv in parallel sparse_hess

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 113ca4dc1694e57210b1a8db9c2625c0d2d13239
Author: Maria Brune <brunem@…>
Date: Wed Mar 23 13:06:40 2011 +0100

add MPICPPFLAGS for compilation in sparse subdirectory too

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit f2ebec2a1b0787fd669db4baf0ee6a28a9ca8ff7
Author: Maria Brune <brunem@…>
Date: Wed Mar 23 12:53:04 2011 +0100

correct the conditional compilation for mpi

these are leftovers from

commit 81a8d19bb425c3526d939933f243e525ac99e0c9
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue Mar 8 16:37:00 2011 +0100

allow user to give path to mpi headers and libraries

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit ddbebc1b0028b17b50892c181160e9168cfc176e
Author: Maria Brune <brunem@…>
Date: Fri Mar 18 17:27:59 2011 +0100

Handle the pattern only case in all processes

for sparse_jac with options[2] == -1 and for sparse_hess with
repeat == -1, only the pattern is computed and stored. The Jacobian
or the Hessian itself is not propagated. This should be handled in
all processes, otherwise the id != 0 processes will continue to try
to propogate derivatives and hang in a send/recv.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 4af90111e63efbc92e9bc41d8060941e06f5f426
Author: Maria Brune <brunem@…>
Date: Fri Mar 18 17:25:27 2011 +0100

Errors are fatal in parallel case

in case the error happens only in one process, all other processes
will hang. So make the errors fatal so that we abort.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 89d8e7d8d676304e1bccb8742b8cb20e2e27e702
Author: Benjamin Letschert <letschi@…>
Date: Wed Mar 9 14:56:14 2011 +0100

get rid of compiler warning about deprecated conversions

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 81a8d19bb425c3526d939933f243e525ac99e0c9
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue Mar 8 16:37:00 2011 +0100

allow user to give path to mpi headers and libraries

there are new flags --with-mpi-includedir=PATH --with-mpi-libdir=PATH
for providing these two paths for compilation in case mpi is not
installed in a default location.

commit f3cd62c952c2d67ae766b30b8aeb23053a606f62
Author: Benjamin Letschert <letschi@…>
Date: Mon Feb 28 12:21:38 2011 +0100

Avoid potential segmentation fault

commit ced5627653ae6faf36d033667a58d6a8f6ff685a
Author: Benjamin Letschert <letschi@…>
Date: Fri Feb 25 12:40:21 2011 +0100

Remove unused variable

commit 57c288ffdf600ffc5316ab09b9d38a90d84505be
Author: Benjamin Letschert <letschi@…>
Date: Fri Feb 25 12:35:08 2011 +0100

Remove code that was already commented out

commit f5e1baaea72caa4b57ec46f1d0375aab594f643f
Author: Benjamin Letschert <letschi@…>
Date: Fri Feb 25 12:32:33 2011 +0100

Add missing index variable declaration

commit e9b954c010231ed8570af52b8e235fe5c84be85b
Author: Benjamin Letschert <letschi@…>
Date: Fri Feb 25 12:31:44 2011 +0100

Make it more explicitly clear that MPI is used.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit f9c0f75d0c7b818f25023a33873ebe99c93e1810
Author: Benjamin Letschert <letschi@…>
Date: Fri Feb 25 12:30:17 2011 +0100

Adding parallel computing for sparse_hess and sparse_jac

hess_pat and jac_pat are also computed in parallel by ind_dom and nonl_dom

commit 2b02eddaf9c2334150334b63fe4b927fdece858c
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Wed Feb 16 15:32:57 2011 +0100

Set flag to check whether mpi was actually initialized

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit d9d36d14f34163e16d91e0f10236e38298f03fd6
Author: Benjamin Letschert <letschi@…>
Date: Fri Feb 11 21:29:22 2011 +0100

Update and fix operations send_data and receive_data in fo_rev.c, ho_rev.c and uni5_for.c

commit 553f47ddcb015209ae667d5415855cda8e68274e
Author: Benjamin Letschert <letschi@…>
Date: Thu Feb 3 14:19:48 2011 +0100

Adding parallel zos_forward, fos_forward, fos_reverse, hos_reverse and fov_reverse

added at adolc_mpi.h and adolc_mpi.cpp

commit 9171fd1e1221e1fdc954deb7b1443867262ea1cf
Author: Benjamin Letschert <letschi@…>
Date: Thu Feb 3 14:10:07 2011 +0100

Adding parallel computing jacobian

new function jacobian in adolc_mpi.h and adolc_mpi.cpp
fixing a bug for jacobian in fov_reverse and hos_reverse

commit 95df1770f7026d11ec5c801299ae93c1657a112d
Author: Benjamin Letschert <letschi@…>
Date: Thu Jan 27 16:51:11 2011 +0100

add missing send in hos_reverse

commit 5afa0be6e103b204042f91703b9ee0e42c648f1c
Author: Benjamin Letschert <letschi@…>
Date: Thu Jan 27 16:50:26 2011 +0100

fov_forward and fov_reverse parallel

commit cf560a6f828ca43c25471da240c12c3b5df889cb
Author: Benny <letschi@letschi-NF61S-M2A.(none)>
Date: Wed Jan 19 20:37:41 2011 +0100

ADOLC_MPI-Barrier-function added to ADOLC-MPI

adding new tape entry "barrier_op"
modified files: adolc_mpi.h adolc_mpi.cpp uni5_for.c fo_rev.c ho_rev.c oplate.h tapedoc.c

commit 9a02525e6baada5332ab3a71119c9ad3ae262d33
Author: Benny <letschi@letschi-NF61S-M2A.(none)>
Date: Wed Jan 19 19:38:54 2011 +0100

Parallel computing hessian

Added source for parallel computing hessian matrix by using MPI-Routines
adding Send and Receive Operations for hos_reverse

commit 7767f1e0ae4337f92e60e5d7d9b6f275c9bb8ef7
Author: Benny <letschi@letschi-NF61S-M2A.(none)>
Date: Wed Jan 19 19:19:23 2011 +0100

Update gradiant parallel computing

Adjoint Tailorbuffer entries are added together

commit a0f3bc4260eda3fca02cc8d65d8cf6675d9efd75
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue Nov 30 11:44:00 2010 +0100

do not free user provided pointers

since setTapeInfo{Jac,Hess}Sparse() calls freeSparse{Jac,Hess}Infos()
any pointers stored in the tapeInfos.s[JH]infos structure will be freed.
This means we should do deep copy of the pattern in set_HP provided by the
user. similarly we should return a deep copied pointer in get_HP, as the
user may free it whenever they want.

similar use of deep copying before any setTapeInfosHessSparse() call
should be done in order to avoid saving a free'd pointer again. Only HP
is important at the moment, everything else is NULL or just allocated.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 7c60e5beeb147be3dea3d429c77e12c1a3d0d343
Author: Benjamin Letschert <letschi@…>
Date: Thu Nov 18 12:56:45 2010 +0100

Update configuration for install MPI and deleting TapelessMode? for MPI
change Makefile to install adolc_mpi.h only if mpi ist installed
delete TapelessMode? by data transmission for mpi

commit 5fcf2d78f7d22c9192006ce337139f0d15d11733
Author: Benjamin Letschert <letschi@…>
Date: Thu Nov 18 12:56:45 2010 +0100

Changing MPI-Compiling
Change to Compile ADOL-C-MPI-functions only if MPI is installed on main system

commit 8897f767abae126accaa345cd7fa39fbb4142ab9
Author: Benjamin Letschert <letschi@…>
Date: Tue Nov 16 11:21:18 2010 +0100

First use of MPI

Simple MPI-Functions included for parallel computing;
tested for fos-, zos-forward and fos-reverse method to compute parallel gradient
in speelpennings function

Signed-off-by: Benjamin Letschert <letschi@…>

File size: 4.3 KB
Line 
1/* ADOL-C/src/config.h.  Generated from config.h.in by configure.  */
2/* ADOL-C/src/config.h.in.  Generated from configure.ac by autoheader.  */
3
4/* ADOL-C adouble zeroing mode */
5/* #undef ADOLC_ADOUBLE_STDCZERO */
6
7/* ADOL-C debug mode */
8/* #undef ADOLC_DEBUG */
9
10/* ADOL-C hard debug mode */
11/* #undef ADOLC_HARDDEBUG */
12
13/* ADOL-C Patchlevel */
14#define ADOLC_PATCHLEVEL 0
15
16/* ADOL-C safe extern mode */
17/* #undef ADOLC_SAFE_EXTERN */
18
19/* ADOL-C Subversion */
20#define ADOLC_SUBVERSION 2
21
22/* ADOL-C thread save errno mode */
23/* #undef ADOLC_THREADSAVE_ERRNO */
24
25/* ADOL-C Version */
26#define ADOLC_VERSION 2
27
28/* Define to 1 if you have the <dlfcn.h> header file. */
29#define HAVE_DLFCN_H 1
30
31/* Define to 1 if you have the `floor' function. */
32#define HAVE_FLOOR 1
33
34/* Define to 1 if you have the `ftime' function. */
35#define HAVE_FTIME 1
36
37/* Define to 1 if you have the <inttypes.h> header file. */
38#define HAVE_INTTYPES_H 1
39
40/* Define 1 if ColPack is available */
41/* #undef HAVE_LIBCOLPACK */
42
43/* Define to 1 if you have the `m' library (-lm). */
44#define HAVE_LIBM 1
45
46/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
47   to 0 otherwise. */
48#define HAVE_MALLOC 0
49
50/* Define to 1 if you have the <memory.h> header file. */
51#define HAVE_MEMORY_H 1
52
53/* Define to 1 if you have the `pow' function. */
54#define HAVE_POW 1
55
56/* Define to 1 if your system has a GNU libc compatible `realloc' function,
57   and to 0 otherwise. */
58#define HAVE_REALLOC 0
59
60/* Define to 1 if you have the `sqrt' function. */
61#define HAVE_SQRT 1
62
63/* Define to 1 if stdbool.h conforms to C99. */
64#define HAVE_STDBOOL_H 1
65
66/* Define to 1 if you have the <stddef.h> header file. */
67#define HAVE_STDDEF_H 1
68
69/* Define to 1 if you have the <stdint.h> header file. */
70#define HAVE_STDINT_H 1
71
72/* Define to 1 if you have the <stdio.h> header file. */
73#define HAVE_STDIO_H 1
74
75/* Define to 1 if you have the <stdlib.h> header file. */
76#define HAVE_STDLIB_H 1
77
78/* Define to 1 if you have the `strchr' function. */
79#define HAVE_STRCHR 1
80
81/* Define to 1 if you have the <strings.h> header file. */
82#define HAVE_STRINGS_H 1
83
84/* Define to 1 if you have the <string.h> header file. */
85#define HAVE_STRING_H 1
86
87/* Define to 1 if you have the `strtol' function. */
88#define HAVE_STRTOL 1
89
90/* Define to 1 if you have the <sys/stat.h> header file. */
91#define HAVE_SYS_STAT_H 1
92
93/* Define to 1 if you have the <sys/timeb.h> header file. */
94#define HAVE_SYS_TIMEB_H 1
95
96/* Define to 1 if you have the <sys/types.h> header file. */
97#define HAVE_SYS_TYPES_H 1
98
99/* Define to 1 if you have the <unistd.h> header file. */
100/* #undef HAVE_UNISTD_H */
101
102/* Define to 1 if the system has the type `_Bool'. */
103#define HAVE__BOOL 1
104
105/* Define to the sub-directory in which libtool stores uninstalled libraries.
106   */
107#define LT_OBJDIR ".libs/"
108
109/* Name of package */
110#define PACKAGE "adolc"
111
112/* Define to the address where bug reports for this package should be sent. */
113#define PACKAGE_BUGREPORT "adol-c@list.coin-or.org"
114
115/* Define to the full name of this package. */
116#define PACKAGE_NAME "adolc"
117
118/* Define to the full name and version of this package. */
119#define PACKAGE_STRING "adolc 2.2.0-trunk-mpi"
120
121/* Define to the one symbol short name of this package. */
122#define PACKAGE_TARNAME "adolc"
123
124/* Define to the home page for this package. */
125#define PACKAGE_URL ""
126
127/* Define to the version of this package. */
128#define PACKAGE_VERSION "2.2.0-trunk-mpi"
129
130/* The size of `void *', as computed by sizeof. */
131#define SIZEOF_VOID_P 8
132
133/* Define to 1 if you have the ANSI C header files. */
134#define STDC_HEADERS 1
135
136/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
137#define TIME_WITH_SYS_TIME 1
138
139/* Define to 1 if your <sys/time.h> declares `struct tm'. */
140/* #undef TM_IN_SYS_TIME */
141
142/* Version number of package */
143#define VERSION "2.2.0-trunk-mpi"
144
145/* Define to empty if `const' does not conform to ANSI C. */
146/* #undef const */
147
148/* Define to `__inline__' or `__inline' if that's what the C compiler
149   calls it, or to nothing if 'inline' is not supported under any name.  */
150#ifndef __cplusplus
151/* #undef inline */
152#endif
153
154/* Define to rpl_malloc if the replacement function should be used. */
155#define malloc rpl_malloc
156
157/* Define to rpl_realloc if the replacement function should be used. */
158#define realloc rpl_realloc
159
160/* Define to `unsigned int' if <sys/types.h> does not define. */
161/* #undef size_t */
Note: See TracBrowser for help on using the repository browser.