forked from su2code/SU2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
653 lines (582 loc) · 19.9 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
################################################################################
#
# \file configure.ac
# \brief Main file for configuring the autoconf/automake build process
# \author M. Colonno, T. Economon, F. Palacios, B. Kirk
# \version 4.1.0 "Cardinal"
#
# SU2 Lead Developers: Dr. Francisco Palacios ([email protected]).
# Dr. Thomas D. Economon ([email protected]).
#
# SU2 Developers: Prof. Juan J. Alonso's group at Stanford University.
# Prof. Piero Colonna's group at Delft University of Technology.
# Prof. Nicolas R. Gauger's group at Kaiserslautern University of Technology.
# Prof. Alberto Guardone's group at Polytechnic University of Milan.
# Prof. Rafael Palacios' group at Imperial College London.
#
# Copyright (C) 2012-2015 SU2, the open-source CFD code.
#
# SU2 is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# SU2 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with SU2. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# Major Changes/Contributions:
# METIS & TECIO integration added by Ben Kirk, 3/24/2014
# LAPACK connection added by Teus van der Stelt, 11/13/2014
# ParMETIS integration added by Ben Kirk & Thomas D. Economon, 2/3/2015
#
################################################################################
AC_INIT([SU2], [4.1.0], [[email protected]],
[SU2], [https://github.com/su2code])
AC_PREREQ([2.59])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
# AC_CONFIG_HEADERS([config.h])
SU2_SET_COMPILERS
AM_PROG_CC_C_O
AC_PROG_RANLIB
AC_PROG_MKDIR_P
#PKG_PROG_PKG_CONFIG
# --------------------------------------------------------------
# Check for important type sizes
# --------------------------------------------------------------
AC_CHECK_SIZEOF(short int)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(long int)
AC_CHECK_SIZEOF(float)
AC_CHECK_SIZEOF(double)
AC_CHECK_SIZEOF(void *)
# optional bindings
AC_ARG_WITH(CGNS-lib,
AS_HELP_STRING([--with-CGNS-lib[=ARG]], [CGNS library directory, ARG = path to libcgns.a]),
[with_CGNS_lib=$withval], [with_CGNS_lib="no"])
AC_ARG_WITH(CGNS-include,
AS_HELP_STRING([--with-CGNS-include[=ARG]], [CGNS include directory, ARG = path to cgnslib.h]),
[with_CGNS_include=$withval], [with_CGNS_include="no"])
AC_ARG_WITH(HDF5-lib,
AS_HELP_STRING([--with-HDF5-lib[=ARG]], [HDF5 library directory, ARG = path to libhdf5.a]),
[with_HDF5_lib=$withval], [with_HDF5_lib="no"])
AC_ARG_WITH(HDF5-include,
AS_HELP_STRING([--with-HDF5-include[=ARG]], [HDF5 include directory, ARG = path to hdf5.h]),
[with_HDF5_include=$withval], [with_HDF5_include="no"])
AC_ARG_WITH(SZIP-lib,
AS_HELP_STRING([--with-SZIP-lib[=ARG]], [SZIP library directory, ARG = path to libsz.a]),
[with_SZIP_lib=$withval], [with_SZIP_lib="no"])
AC_ARG_WITH(SZIP-include,
AS_HELP_STRING([--with-SZIP-include[=ARG]], [SZIP include directory, ARG = path to szlib.h]),
[with_SZIP_include=$withval], [with_SZIP_include="no"])
AC_ARG_WITH(ZLIB-lib,
AS_HELP_STRING([--with-ZLIB-lib[=ARG]], [ZLIB library directory, ARG = path to libz.a]),
[with_ZLIB_lib=$withval], [with_ZLIB_lib="no"])
AC_ARG_WITH(ZLIB-include,
AS_HELP_STRING([--with-ZLIB-include[=ARG]], [ZLIB include directory, ARG = path to zlib.h]),
[with_ZLIB_include=$withval], [with_ZLIB_include="no"])
AC_ARG_WITH(Mutationpp-lib,
AS_HELP_STRING([--with-Mutationpp-lib[=ARG]], [Mutation++ library directory, ARG = path to libmutation++.dylib]),
[with_Mutationpp_lib=$withval], [with_Mutationpp_lib="no"])
AC_ARG_WITH(Mutationpp-include,
AS_HELP_STRING([--with-Mutationpp-include[=ARG]], [Mutation++ include directory, ARG = path to mutation++.h]),
[with_Mutationpp_include=$withval], [with_Mutationpp_include="no"])
AC_ARG_WITH(Jsoncpp-lib,
AS_HELP_STRING([--with-Jsoncpp-lib[=ARG]], [Jsoncpp library directory, ARG = path to jsoncpp_SYS.a]),
[with_Jsoncpp_lib=$withval], [with_Jsoncpp_lib="no"])
AC_ARG_WITH(Jsoncpp-include,
AS_HELP_STRING([--with-Jsoncpp-include[=ARG]], [Jsoncpp include directory, ARG = path to json.h]),
[with_Jsoncpp_include=$withval], [with_Jsoncpp_include="no"])
AC_ARG_WITH(LAPACK-lib,
AS_HELP_STRING([--with-LAPACK-lib[=ARG]], [LAPACK library directory, ARG = path to liblapacke.a]),
[with_LAPACK_lib=$withval], [with_LAPACK_lib="no"])
AC_ARG_WITH(LAPACK-include,
AS_HELP_STRING([--with-LAPACK-include[=ARG]], [LAPACK include directory, ARG = path to lapacke.h]),
[with_LAPACK_include=$withval], [with_LAPACK_include="no"])
AC_ARG_ENABLE(CFD,
AS_HELP_STRING([--disable-CFD], [build the SU2_CFD executable (default = yes)]),
[build_CFD=$enableval], [build_CFD="yes"])
AC_ARG_ENABLE(DOT,
AS_HELP_STRING([--disable-DOT], [build the SU2_DOT executable (default = yes)]),
[build_DOT=$enableval], [build_DOT="yes"])
AC_ARG_ENABLE(MSH,
AS_HELP_STRING([--disable-MSH], [build the SU2_MSH executable (default = yes)]),
[build_MSH=$enableval], [build_MSH="yes"])
AC_ARG_ENABLE(DEF,
AS_HELP_STRING([--disable-DEF], [build the SU2_DEF executable (default = yes)]),
[build_DEF=$enableval], [build_DEF="yes"])
AC_ARG_ENABLE(SOL,
AS_HELP_STRING([--disable-SOL], [build the SU2_SOL executable (default = yes)]),
[build_SOL=$enableval], [build_SOL="yes"])
AC_ARG_ENABLE(GEO,
AS_HELP_STRING([--disable-GEO], [build the SU2_GEO executable (default = yes)]),
[build_GEO=$enableval], [build_GEO="yes"])
AC_ARG_ENABLE(complex,
AS_HELP_STRING([--enable-complex], [build executables with complex datatype (default = no)]),
[build_COMPLEX="yes"], [build_COMPLEX="no"])
AC_ARG_ENABLE(normal,
AS_HELP_STRING([--disable-normal], [build executables with normal datatype (default = yes)]),
[build_NORMAL=$enableval], [build_NORMAL="yes"])
# Check for the old MPI option so that we can throw an error
AC_ARG_WITH(MPI,
AS_HELP_STRING(),
[with_MPI=$withval], [with_MPI="no"])
if test "$with_MPI" != "no"
then
AC_MSG_ERROR([unsupported option --with-MPI. For MPI support, use --enable-mpi and specify your MPI implementations with --with-cc=/path/to/mpicc and --with-cxx=/path/to/mpicxx in your configure call.])
fi
# --------------------------------------------------------------
# Build up contributed packages that we will build from source
# --------------------------------------------------------------
su2_externals_INCLUDES=""
su2_externals_LIBS=""
# Tecplot
CONFIGURE_TECIO
if (test $enabletecio = yes); then
su2_externals_INCLUDES="-DHAVE_TECIO $TECIO_INCLUDE $su2_externals_INCLUDES"
su2_externals_LIBS="$TECIO_LIB $su2_externals_LIBS"
else
su2_externals_INCLUDES="$su2_externals_INCLUDES"
fi
AM_CONDITIONAL(BUILD_TECIO, test x$enabletecio = xyes)
AC_CONFIG_FILES([externals/tecio/Makefile])
# Metis
CONFIGURE_METIS
if (test $enablemetis = yes); then
su2_externals_INCLUDES="-DHAVE_METIS $METIS_INCLUDE $su2_externals_INCLUDES"
su2_externals_LIBS="$METIS_LIB $su2_externals_LIBS"
else
su2_externals_INCLUDES="$su2_externals_INCLUDES"
fi
AM_CONDITIONAL(BUILD_METIS, test x$enablemetis = xyes)
AC_CONFIG_FILES([externals/metis/Makefile])
# Parmetis
CONFIGURE_PARMETIS
if (test $enableparmetis = yes); then
su2_externals_INCLUDES="-DHAVE_PARMETIS $PARMETIS_INCLUDE $su2_externals_INCLUDES"
su2_externals_LIBS="$PARMETIS_LIB $su2_externals_LIBS"
else
su2_externals_INCLUDES="$su2_externals_INCLUDES"
fi
AM_CONDITIONAL(BUILD_PARMETIS, test x$enableparmetis = xyes)
AC_CONFIG_FILES([externals/parmetis/Makefile])
AC_SUBST([su2_externals_INCLUDES])
AC_SUBST([su2_externals_LIBS])
##########################
# check for lib
CGNSlib=libcgns.a
CGNSheader=cgnslib.h
have_CGNS="no"
if test "$with_CGNS_lib" != "no"
then
AC_CHECK_FILE([$with_CGNS_lib/$CGNSlib],[have_CGNS="yes"],[have_CGNS="no"])
if test "$have_CGNS" == "no"
then
AC_MSG_ERROR([CGNS requested but library file not found.])
fi
fi
# check for header
if test "$have_CGNS" != "no"
then
if test "$with_CGNS_include" != "no"
then
AC_CHECK_FILE([$with_CGNS_include/$CGNSheader],[have_CGNS='yes'],[have_CGNS='no'])
if test "$have_CGNS" == "no"
then
AC_MSG_ERROR([CGNS requested but header file not found.])
fi
else
have_CGNS="no"
fi
fi
if test "$have_CGNS" != "no"
then
AM_CONDITIONAL(BUILD_CGNS,true)
CGNS_CXX="-DHAVE_CGNS -I"$with_CGNS_include""
CGNS_LD="$with_CGNS_lib"/$CGNSlib
else
AM_CONDITIONAL(BUILD_CGNS,false)
CGNS_CXX=
CGNS_LD=
fi
AC_SUBST([CGNS_CXX])
AC_SUBST([CGNS_LD])
##########################
# check for lib
HDF5lib=libhdf5.a
HDF5header=hdf5.h
have_HDF5="no"
if test "$with_HDF5_lib" != "no"
then
AC_CHECK_FILE([$with_HDF5_lib/$HDF5lib],[have_HDF5="yes"],[have_HDF5="no"])
if test "$have_HDF5" == "no"
then
AC_MSG_ERROR([HDF5 requested but library file not found.])
fi
fi
# check for header
if test "$have_HDF5" != "no"
then
if test "$with_HDF5_include" != "no"
then
AC_CHECK_FILE([$with_HDF5_include/$HDF5header],[have_HDF5='yes'],[have_HDF5='no'])
if test "$have_HDF5" == "no"
then
AC_MSG_ERROR([HDF5 requested but header file not found.])
fi
else
have_HDF5="no"
fi
fi
if test "$have_HDF5" != "no"
then
AM_CONDITIONAL(BUILD_HDF5,true)
HDF5_CXX="-DHAVE_HDF5 -I"$with_HDF5_include""
HDF5_LD="$with_HDF5_lib"/$HDF5lib
else
AM_CONDITIONAL(BUILD_HDF5,false)
HDF5_CXX=
HDF5_LD=
fi
AC_SUBST([HDF5_CXX])
AC_SUBST([HDF5_LD])
##########################
# check for lib
SZIPlib=libsz.a
SZIPheader=szlib.h
have_SZIP="no"
if test "$with_SZIP_lib" != "no"
then
AC_CHECK_FILE([$with_SZIP_lib/$SZIPlib],[have_SZIP="yes"],[have_SZIP="no"])
if test "$have_SZIP" == "no"
then
AC_MSG_ERROR([SZIP requested but library file not found.])
fi
fi
# check for header
if test "$have_SZIP" != "no"
then
if test "$with_SZIP_include" != "no"
then
AC_CHECK_FILE([$with_SZIP_include/$SZIPheader],[have_SZIP='yes'],[have_SZIP='no'])
if test "$have_SZIP" == "no"
then
AC_MSG_ERROR([SZIP requested but header file not found.])
fi
else
have_SZIP="no"
fi
fi
if test "$have_SZIP" != "no"
then
AM_CONDITIONAL(BUILD_SZIP,true)
SZIP_CXX="-DHAVE_SZIP -I"$with_SZIP_include""
SZIP_LD="$with_SZIP_lib"/$SZIPlib
else
AM_CONDITIONAL(BUILD_SZIP,false)
SZIP_CXX=
SZIP_LD=
fi
AC_SUBST([SZIP_CXX])
AC_SUBST([SZIP_LD])
##########################
# check for lib
ZLIBlib=libz.a
ZLIBheader=zlib.h
have_ZLIB="no"
if test "$with_ZLIB_lib" != "no"
then
AC_CHECK_FILE([$with_ZLIB_lib/$ZLIBlib],[have_ZLIB="yes"],[have_ZLIB="no"])
if test "$have_ZLIB" == "no"
then
AC_MSG_ERROR([ZLIB requested but library file not found.])
fi
fi
# check for header
if test "$have_ZLIB" != "no"
then
if test "$with_ZLIB_include" != "no"
then
AC_CHECK_FILE([$with_ZLIB_include/$ZLIBheader],[have_ZLIB='yes'],[have_ZLIB='no'])
if test "$have_ZLIB" == "no"
then
AC_MSG_ERROR([ZLIB requested but header file not found.])
fi
else
have_ZLIB="no"
fi
fi
if test "$have_ZLIB" != "no"
then
AM_CONDITIONAL(BUILD_ZLIB,true)
ZLIB_CXX="-DHAVE_ZLIB -I"$with_ZLIB_include""
ZLIB_LD="$with_ZLIB_lib"/$ZLIBlib
else
AM_CONDITIONAL(BUILD_ZLIB,false)
ZLIB_CXX=
ZLIB_LD=
fi
AC_SUBST([ZLIB_CXX])
AC_SUBST([ZLIB_LD])
##########################
# check for lib
Mutationpplib=libmutation++.dylib
Mutationppheader=mutation++.h
have_Mutationpp="no"
if test "$with_Mutationpp_lib" != "no"
then
AC_CHECK_FILE([$with_Mutationpp_lib/$Mutationpplib],[have_Mutationpp="yes"],[have_Mutationpp="no"])
if test "$have_Mutationpp" == "no"
then
AC_MSG_ERROR([Mutation++ requested but library file not found.])
fi
fi
# check for header
if test "$have_Mutationpp" != "no"
then
if test "$with_Mutationpp_include" != "no"
then
AC_CHECK_FILE([$with_Mutationpp_include/$Mutationppheader],[have_Mutationpp='yes'],[have_Mutationpp='no'])
if test "$have_Mutationpp" == "no"
then
AC_MSG_ERROR([Mutation++ requested but header file not found.])
fi
else
have_Mutationpp="no"
fi
fi
if test "$have_Mutationpp" != "no"
then
AM_CONDITIONAL(BUILD_MUTATIONPP,true)
MUTATIONPP_CXX="-DHAVE_MUTATIONPP -I"$with_Mutationpp_include""
MUTATIONPP_LD="$with_Mutationpp_lib"/$Mutationpplib
else
AM_CONDITIONAL(BUILD_MUTATIONPP,false)
MUTATIONPP_CXX=
MUTATION_LD=
fi
AC_SUBST([MUTATIONPP_CXX])
AC_SUBST([MUTATIONPP_LD])
##########################
# check for lib
Jsoncpplib=libjson.a
Jsoncppheader=json/json.h
have_Jsoncpp="no"
if test "$with_Jsoncpp_lib" != "no"
then
AC_CHECK_FILE([$with_Jsoncpp_lib/$Jsoncpplib],[have_Jsoncpp="yes"],[have_Jsoncpp="no"])
if test "$have_Jsoncpp" == "no"
then
AC_MSG_ERROR([Jsoncpp requested but library file not found.])
fi
fi
# check for header
if test "$have_Jsoncpp" != "no"
then
if test "$with_Jsoncpp_include" != "no"
then
AC_CHECK_FILE([$with_Jsoncpp_include/$Jsoncppheader],[have_Jsoncpp='yes'],[have_Jsoncpp='no'])
if test "$have_Jsoncpp" == "no"
then
AC_MSG_ERROR([Jsoncpp requested but header file not found.])
fi
else
have_Jsoncpp="no"
fi
fi
if test "$have_Jsoncpp" != "no"
then
AM_CONDITIONAL(BUILD_JSONCPP,true)
JSONCPP_CXX="-DHAVE_JSONCPP -I"$with_Jsoncpp_include""
JSONCPP_LD="$with_Jsoncpp_lib"/$Jsoncpplib
else
AM_CONDITIONAL(BUILD_JSONCPP,false)
JSONCPP_CXX=
JSONCPP_LD=
fi
AC_SUBST([JSONCPP_CXX])
AC_SUBST([JSONCPP_LD])
##########################
# check for lib
LAPACKlib=liblapacke.a
LAPACKheader=lapacke.h
have_LAPACK="no"
if test "$with_LAPACK_lib" != "no"
then
AC_CHECK_FILE([$with_LAPACK_lib/$LAPACKlib],[have_LAPACK="yes"],[have_LAPACK="no"])
if test "$have_LAPACK" == "no"
then
AC_MSG_ERROR([LAPACK requested but library file not found.])
fi
fi
# check for header
if test "$have_LAPACK" != "no"
then
if test "$with_LAPACK_include" != "no"
then
AC_CHECK_FILE([$with_LAPACK_include/$LAPACKheader],[have_LAPACK='yes'],[have_LAPACK='no'])
if test "$have_LAPACK" == "no"
then
AC_MSG_ERROR([LAPACK requested but header file not found.])
fi
else
have_LAPACK="no"
fi
fi
if test "$have_LAPACK" != "no"
then
AM_CONDITIONAL(BUILD_LAPACK,true)
LAPACK_CXX="-DHAVE_LAPACK -I"$with_LAPACK_include""
LAPACK_LD="$with_LAPACK_lib"/$LAPACKlib
else
AM_CONDITIONAL(BUILD_LAPACK,false)
LAPACK_CXX=
LAPACK_LD=
fi
AC_SUBST([LAPACK_CXX])
AC_SUBST([LAPACK_LD])
###########################
# Determine what versions of the code to build
# Complex type
COMPLEX_CXX="-std=gnu++11 -DCOMPLEX_TYPE"
# direct differentation type
build_DIRECTDIFF=no
DIRECTDIFF_CXX=
DIRECTDIFF_LIBS=
# reverse mode type
build_REVERSE=no
REVERSE_CXX=
FORWARD_CXX=
#CONFIGURE_ADOLC
CONFIGURE_CODI
if test $build_COMPLEX != "no"
then
DIRECTDIFF_CXX=$COMPLEX_CXX
build_DIRECTDIFF=yes
build_REVERSE=no
build_NORMAL=no
fi
AC_SUBST([DIRECTDIFF_CXX])
AC_SUBST([DIRECTDIFF_LIBS])
AC_SUBST([REVERSE_CXX])
AC_SUBST([REVERSE_LIBS])
# Set the variables
AM_CONDITIONAL([BUILD_NORMAL], [test $build_NORMAL != "no"])
AM_CONDITIONAL([BUILD_DIRECTDIFF], [test $build_DIRECTDIFF != "no"])
AM_CONDITIONAL([BUILD_REVERSE], [test $build_REVERSE != "no"])
if test $build_NORMAL == "no"
then
build_DOT=no
build_MSH=no
build_DEF=no
build_SOL=no
build_GEO=no
fi
if test $build_REVERSE == "yes"
then
build_DOT=yes
fi
###########################
AM_CONDITIONAL([BUILD_CFD],[test $build_CFD != "no"])
AM_CONDITIONAL([BUILD_DOT],[test $build_DOT != "no"])
AM_CONDITIONAL([BUILD_MSH],[test $build_MSH != "no"])
AM_CONDITIONAL([BUILD_DEF],[test $build_DEF != "no"])
AM_CONDITIONAL([BUILD_SOL],[test $build_SOL != "no"])
AM_CONDITIONAL([BUILD_GEO],[test $build_GEO != "no"])
###########################
AC_OUTPUT(Makefile \
externals/Makefile \
Common/lib/Makefile \
SU2_CFD/obj/Makefile \
SU2_DOT/obj/Makefile \
SU2_MSH/obj/Makefile \
SU2_DEF/obj/Makefile \
SU2_SOL/obj/Makefile \
SU2_GEO/obj/Makefile \
SU2_PY/Makefile)
abs_srcdir=`(cd $srcdir && pwd)`
abs_prefix=$prefix #`(cd $prefix && pwd)`
AC_MSG_RESULT([
-------------------------------------------------------------------------
| ___ _ _ ___ |
| / __| | | |_ ) Release 4.1.0 'Cardinal' |
| \\__ \\ |_| |/ / |
| |___/\\___//___| Suite |
| |
-------------------------------------------------------------------------
| SU2 Lead Dev.: Dr. Francisco Palacios, [email protected]|
| Dr. Thomas D. Economon, [email protected] |
-------------------------------------------------------------------------
| SU2 Developers: |
| - Prof. Juan J. Alonso's group at Stanford University. |
| - Prof. Piero Colonna's group at Delft University of Technology. |
| - Prof. Nicolas R. Gauger's group at Kaiserslautern U. of Technology. |
| - Prof. Alberto Guardone's group at Polytechnic University of Milan. |
| - Prof. Rafael Palacios' group at Imperial College London. |
-------------------------------------------------------------------------
| Copyright (C) 2012-2015 SU2, the open-source CFD code. |
| |
| SU2 is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
| License as published by the Free Software Foundation; either |
| version 2.1 of the License, or (at your option) any later version. |
| |
| SU2 is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| Lesser General Public License for more details. |
| |
| You should have received a copy of the GNU Lesser General Public |
| License along with SU2. If not, see <http://www.gnu.org/licenses/>. |
-------------------------------------------------------------------------
Build Configuration Summary:
Source code location: ${abs_srcdir}
Install location: ${abs_prefix}
Version: ${VERSION}
C++ Compiler: ${CXX}
C Compiler: ${CC}
Preprocessor flags: ${CPPFLAGS}
Compiler flags: ${CXXFLAGS}
Linker flags: ${LDFLAGS}
MPI support: $have_MPI
Metis support: $enablemetis
Parmetis support: $enableparmetis
TecIO support: $enabletecio
CGNS support: $have_CGNS
HDF5 support: $have_HDF5
SZIP support: $have_SZIP
ZLIB support: $have_ZLIB
Mutation++ support: $have_Mutationpp
Jsoncpp support: $have_Jsoncpp
LAPACK support: $have_LAPACK
Datatype support:
double $build_NORMAL
complex $build_COMPLEX
codi_reverse $build_CODI_REVERSE
codi_forward $build_CODI_FORWARD
External includes: $su2_externals_INCLUDES
External libs: $su2_externals_LIBS
Build SU2_CFD: $build_CFD
Build SU2_DOT: $build_DOT
Build SU2_MSH: $build_MSH
Build SU2_DEF: $build_DEF
Build SU2_SOL: $build_SOL
Build SU2_GEO: $build_GEO
Please be sure to add the [\$]SU2_HOME and [\$]SU2_RUN environment variables,
and update your [\$]PATH (and [\$]PYTHONPATH if applicable) with [\$]SU2_RUN.
Based on the input to this configuration, add these lines to your .bashrc file:
export SU2_RUN="${abs_prefix}/bin"
export SU2_HOME="${abs_srcdir}"
export PATH=[\$]PATH:[\$]SU2_RUN
export PYTHONPATH=[\$]PYTHONPATH:[\$]SU2_RUN
])