Merge lp:~fluidity-core/fluidity/sediment_restructure into lp:~fluidity-core/fluidity/sediment

Proposed by Samuel Parkinson
Status: Merged
Merged at revision: 3415
Proposed branch: lp:~fluidity-core/fluidity/sediment_restructure
Merge into: lp:~fluidity-core/fluidity/sediment
Diff against target: 788642 lines
To merge this branch: bzr merge lp:~fluidity-core/fluidity/sediment_restructure
Reviewer Review Type Date Requested Status
Jon Hill Approve
Review via email: mp+80584@code.launchpad.net

Description of the change

Restructure to match blueprint. Also added some additional error checks and edited the manual a little to reflect these changes.

To post a comment you must log in.
3421. By Samuel Parkinson

added some deallocate commands

3422. By Samuel Parkinson

Changed definition of sediment to include submerged specific gravity instead of density. This allows for any reference and ambient density of sediment and removes 1000's in sediment code.

Also started adapting erosion subroutine to allow for several erosion algorithms

3423. By Samuel Parkinson

partly added Garcia_1991 entrainment algorithm

3424. By Samuel Parkinson

fixed bugs in reentrainment and also some bugs in k-epsilon scalar field diffusivity paths - still doesn't work

3425. By Samuel Parkinson

merge with trunk

3426. By Samuel Parkinson

Changed k-epsilon so that it initialises eddy_viscosity properly from kk and keps at start of simulation

Changed main/Fluids.F90 so that this is done before the initial dump to vtu files

Removed references to Prandtl number in Populate_State as they are not needed here

3427. By Samuel Parkinson

Added k-epsilon scalar field diffusivity diagnostic algorithm

3428. By Samuel Parkinson

moved k_epsilon init so that the initial diffusivities are calculated correctly

removed some print statements

3429. By Samuel Parkinson

First attempt at getting Garcia_1991 entrainmnet working
Added two diagnostic fields for d50 and standard deviation of bed sediment
Added interface for retrieving items from sediment fields
Added face_val_at_quad_tensor_dim_dim to face_val_at_quad interface
Removed unused k_epsilon code in populate state

3430. By Samuel Parkinson

merge with trunk

3431. By Samuel Parkinson

- changes to sediment interface in code to allow name and field of sediment field to be extracted using same interface as other items
- added ability to be able to provide an overriding viscosity to be used when calculating reentrainment
- revision of garcia entrainment fixing some bugs and including d50 value in algorithm (sitll need to include sd)
- added tests for garcia entrainment and also bedload calculation with diffusivity

3432. By Samuel Parkinson

rearranged and fixed bug in SedimentDiagnostics
fixed various bugs in reentrainment and reworked JHill reentrainment

3433. By Samuel Parkinson

Reentrainment now works for single sediment classes. Garcia still needs some work to have it working for multiple sediments. A working test has been created for reentrainment and a more challenging test for settling rate.

3434. By Samuel Parkinson

created diagnostic to calculate standard deviation of bed sediment diameters

3435. By Samuel Parkinson

merge with branch including remap_surface_to_field but then removed this change and approached it a different way which seems to work

3436. By Samuel Parkinson

calculation of standard deviation of bed sediment complete

3437. By Samuel Parkinson

now with reentrainment scaled by volume fraction

3438. By Samuel Parkinson

changed SedimentBedload to Bedload

3439. By Samuel Parkinson

removed k-epsilon changes

3440. By Samuel Parkinson

merge with k_epsilon_scalar_diffusivity branch

3441. By Samuel Parkinson

merge with revised k-epsilon scalar diffusivity branch

3442. By Samuel Parkinson

fixed two bugs, SedimentBedload split across two lines and viscosity field deallocation

3443. By Samuel Parkinson

removed vtu file from repository

Revision history for this message
Jon Hill (jon-hill) wrote :

Latest results look very encouraging and the coding standard is good, so merging this into the main sediment branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2011-04-15 16:18:30 +0000
+++ .bzrignore 2011-11-30 17:31:28 +0000
@@ -2,3 +2,4 @@
2backward_facing_step_2d-high.flml2backward_facing_step_2d-high.flml
3examples/backward_facing_step_2d/coarse3examples/backward_facing_step_2d/coarse
4coarse4coarse
5matrixdump
56
=== modified file 'Makefile.in'
--- Makefile.in 2011-10-21 13:38:04 +0000
+++ Makefile.in 2011-11-30 17:31:28 +0000
@@ -27,7 +27,16 @@
27SHELL = @SHELL@27SHELL = @SHELL@
2828
29PACKAGE_NAME = @PACKAGE_NAME@29PACKAGE_NAME = @PACKAGE_NAME@
30PACKAGE_VERSION = @PACKAGE_VERSION@30
31# Ignore package version from autoconf. Instead, for packages
32# FLUIDITY_VERSION is passed into ./configure and used here. If it is not
33# set we obtain version information from bzr. Again, this is not done in
34# configure to ensure the info is up-to-date after a "bzr up" without reconfiguring
35ifeq ("@FLUIDITY_VERSION@","")
36PACKAGE_VERSION = `bzr version-info --custom --template='{branch_nick}.{revno}'`
37else
38PACKAGE_VERSION = "@FLUIDITY_VERSION@"
39endif
3140
32FLUIDITY = $(PACKAGE_NAME)41FLUIDITY = $(PACKAGE_NAME)
3342
@@ -40,6 +49,7 @@
40# Follow: www.gnu.org/prep/standards/html_node/Directory-Variables.html49# Follow: www.gnu.org/prep/standards/html_node/Directory-Variables.html
41PACKAGE_NAME = @PACKAGE_NAME@50PACKAGE_NAME = @PACKAGE_NAME@
42prefix = @prefix@51prefix = @prefix@
52exec_prefix = @exec_prefix@
43bindir = @bindir@53bindir = @bindir@
44libdir = @libdir@54libdir = @libdir@
45datadir = @datadir@55datadir = @datadir@
@@ -62,6 +72,8 @@
6272
63LINKER = @LINKER@ @LDFLAGS@73LINKER = @LINKER@ @LDFLAGS@
6474
75FLLINKER = @FLLINKER@ @LDFLAGS@ $(FCFLAGS)
76
65LIBS = -L./lib -l$(FLUIDITY) @BLAS_LIBS@ @LIB_FEMDEM@ ./lib/libadaptivity.a \77LIBS = -L./lib -l$(FLUIDITY) @BLAS_LIBS@ @LIB_FEMDEM@ ./lib/libadaptivity.a \
66 ./lib/libvtkfortran.a ./lib/libspatialindex.a ./lib/libspud.a ./lib/libjudy.a \78 ./lib/libvtkfortran.a ./lib/libspatialindex.a ./lib/libspud.a ./lib/libjudy.a \
67 @LIBS@79 @LIBS@
@@ -75,8 +87,6 @@
7587
76EVAL = tools/silenteval.sh88EVAL = tools/silenteval.sh
7789
78VERSION = $(shell bzr revision-info)
79
80ifeq (@MBA2D@,yes)90ifeq (@MBA2D@,yes)
81LIBMBA2D = lib/libmba2d.a91LIBMBA2D = lib/libmba2d.a
82endif92endif
@@ -109,7 +119,7 @@
109sub_system: $(LIBMBA2D) $(LIBMBA3D) $(LIBALGENCAN) @LIB_FEMDEM@ \119sub_system: $(LIBMBA2D) $(LIBMBA3D) $(LIBALGENCAN) @LIB_FEMDEM@ \
110 lib/libadaptivity.a lib/libvtkfortran.a lib/libspatialindex.a \120 lib/libadaptivity.a lib/libvtkfortran.a lib/libspatialindex.a \
111 lib/libspud.a lib/libjudy.a include/version.h121 lib/libspud.a lib/libjudy.a include/version.h
112 122
113lib/libjudy.a:123lib/libjudy.a:
114 @echo ' MKDIR lib'; mkdir -p lib124 @echo ' MKDIR lib'; mkdir -p lib
115 @cd libjudy; echo ' MAKE libjudy'; $(MAKE) > make.log ; $(MAKE) install >> make.log ; cd ..125 @cd libjudy; echo ' MAKE libjudy'; $(MAKE) > make.log ; $(MAKE) install >> make.log ; cd ..
@@ -143,7 +153,7 @@
143ifeq (@SPUD_ONLY@,yes)153ifeq (@SPUD_ONLY@,yes)
144 @cd libspud; echo ' MAKE libspud'; $(MAKE) ; $(MAKE) install-libspud154 @cd libspud; echo ' MAKE libspud'; $(MAKE) ; $(MAKE) install-libspud
145else155else
146 @cd libspud; echo ' MAKE libspud'; $(MAKE) ; $(MAKE) install; cd ..; cp lib*/python*/site-packages/libspud.so python/156 @cd libspud; echo ' MAKE libspud'; $(MAKE) ; $(MAKE) install-libspud; cd python; python setup.py build; cd ../..; cp libspud/python/build/lib*/libspud.so python/
147endif157endif
148158
149libfemtools: sub_system159libfemtools: sub_system
@@ -190,8 +200,8 @@
190 @echo " MKDIR bin"200 @echo " MKDIR bin"
191 @mkdir -p bin201 @mkdir -p bin
192 @echo " LD shallow_water"202 @echo " LD shallow_water"
193 @$(EVAL) $(LINKER) -o bin/hybridized_helmholtz_solver main/Hybridized_Helmholtz_Solver.o $(LIBS)203 @$(EVAL) $(FLLINKER) -o bin/hybridized_helmholtz_solver main/Hybridized_Helmholtz_Solver.o $(LIBS)
194 @$(EVAL) $(LINKER) -o bin/shallow_water main/Shallow_Water.o $(LIBS)204 @$(EVAL) $(FLLINKER) -o bin/shallow_water main/Shallow_Water.o $(LIBS)
195205
196bin/hybridized_helmholtz_solver: fluidity_library main/Hybridized_Helmholtz_Solver.F90206bin/hybridized_helmholtz_solver: fluidity_library main/Hybridized_Helmholtz_Solver.F90
197 @cd main; $(MAKE) Hybridized_Helmholtz_Solver.o207 @cd main; $(MAKE) Hybridized_Helmholtz_Solver.o
@@ -199,7 +209,7 @@
199 @echo " MKDIR bin"209 @echo " MKDIR bin"
200 @mkdir -p bin210 @mkdir -p bin
201 @echo " LD hybridized_helmholtz_solver"211 @echo " LD hybridized_helmholtz_solver"
202 @$(EVAL) $(LINKER) -o bin/hybridized_helmholtz_solver main/Hybridized_Helmholtz_Solver.o $(LIBS)212 @$(EVAL) $(FLLINKER) -o bin/hybridized_helmholtz_solver main/Hybridized_Helmholtz_Solver.o $(LIBS)
203213
204bin/burgers_equation: fluidity_library main/Burgers_Equation.F90214bin/burgers_equation: fluidity_library main/Burgers_Equation.F90
205 @cd main; $(MAKE) Burgers_Equation.o215 @cd main; $(MAKE) Burgers_Equation.o
@@ -395,6 +405,9 @@
395 @cd horizontal_adaptivity/tests; $(MAKE) clean405 @cd horizontal_adaptivity/tests; $(MAKE) clean
396 @echo " CLEAN tools"406 @echo " CLEAN tools"
397 @cd tools; $(MAKE) clean407 @cd tools; $(MAKE) clean
408 @echo " CLEAN adjoint"
409 @cd adjoint; $(MAKE) clean
410 @cd adjoint/tests; $(MAKE) clean
398 @echo " CLEAN bathymetry"411 @echo " CLEAN bathymetry"
399 @cd bathymetry; $(MAKE) clean412 @cd bathymetry; $(MAKE) clean
400 @echo " CLEAN ocean_forcing"413 @echo " CLEAN ocean_forcing"
@@ -416,7 +429,7 @@
416 @cd main; $(MAKE) clean429 @cd main; $(MAKE) clean
417 @rm -fr bin/* lib430 @rm -fr bin/* lib
418431
419clean: clean-light clean-test python_clean432clean: clean-light clean-test python_clean clean-debian
420 @echo " CLEAN libvtkfortran"433 @echo " CLEAN libvtkfortran"
421 @cd libvtkfortran; $(MAKE) clean434 @cd libvtkfortran; $(MAKE) clean
422 @echo " CLEAN libjudy"435 @echo " CLEAN libjudy"
@@ -433,17 +446,24 @@
433 @cd libalgencan; $(MAKE) clean446 @cd libalgencan; $(MAKE) clean
434 @echo " CLEAN libwm"447 @echo " CLEAN libwm"
435 @cd libwm; $(MAKE) clean448 @cd libwm; $(MAKE) clean
449 @echo " CLEAN manual"
450 @cd manual; $(MAKE) clean
436 @CLEAN_LIBADAPT@451 @CLEAN_LIBADAPT@
437 @rm -fr include/*.mod *.cache core *.o config.status452 @rm -fr include/*.mod *.cache core *.o config.status
438 @find ./ \( -name work.pc \) -exec rm {} \;453 @find ./ \( -name work.pc \) -exec rm {} \;
439 @find ./ \( -name work.pcl \) -exec rm {} \;454 @find ./ \( -name work.pcl \) -exec rm {} \;
440455
456clean-debian:
457 @echo " CLEAN debian"
458 @cd debian; rm -rf files tmp fluidity python-fluidity *.substvars *.debhelper*
459
441clean-test: 460clean-test:
442 @echo " CLEAN tests"461 @echo " CLEAN tests"
443 @cd tests; ../tools/testharness.py --clean >/dev/null462 @cd tests; PYTHONPATH=../python ../tools/testharness.py --clean >/dev/null
463 @cd tests/data; $(MAKE) clean
444464
445distclean: clean465distclean: clean
446 @echo " DISTCLEAN"466 @echo " DISTCLEAN"
447 @cd spatialindex-1.5 ; make distclean > /dev/null ; rm -rf \467 @cd spatialindex-1.5 ; make distclean > /dev/null ; rm -rf \
448 make.log regressiontest/mvrtree/.deps \468 make.log regressiontest/mvrtree/.deps \
449 regressiontest/rtree/.deps regressiontest/tprtree/.deps > \469 regressiontest/rtree/.deps regressiontest/tprtree/.deps > \
@@ -473,7 +493,7 @@
473 include/spatialindex include/spud include/spud.h \493 include/spatialindex include/spud include/spud.h \
474 include/spud_enums.h include/tinystr.h include/tinyxml.h \494 include/spud_enums.h include/tinystr.h include/tinyxml.h \
475 include/version.h include/vtk.h \495 include/version.h include/vtk.h \
476 preprocessor/check_options.F90 \496 preprocessor/check_options.F90 schemas/flml \
477 preprocessor/register_diagnostics.F90 python/setup.py > \497 preprocessor/register_diagnostics.F90 python/setup.py > \
478 /dev/null498 /dev/null
479 @for i in `find ./*/ -name Makefile.in`; do rm -f `echo $$i | sed 's/.in$$//'`; done > /dev/null499 @for i in `find ./*/ -name Makefile.in`; do rm -f `echo $$i | sed 's/.in$$//'`; done > /dev/null
@@ -482,7 +502,7 @@
482502
483test: fltools bin/$(FLUIDITY) bin/shallow_water serialtest bin/burgers_equation503test: fltools bin/$(FLUIDITY) bin/shallow_water serialtest bin/burgers_equation
484504
485serialtest:505serialtest: fltools bin/$(FLUIDITY) bin/shallow_water
486ifeq (@MBA2D@,yes)506ifeq (@MBA2D@,yes)
487 ifeq (@ZOLTAN@,yes)507 ifeq (@ZOLTAN@,yes)
488 @cd tests; ../bin/testharness -l short -p serial -e nozoltan -n $(THREADS)508 @cd tests; ../bin/testharness -l short -p serial -e nozoltan -n $(THREADS)
@@ -497,7 +517,7 @@
497 endif517 endif
498endif518endif
499519
500mediumtest: bin/burgers_equation520mediumtest: fltools bin/$(FLUIDITY) manual bin/burgers_equation
501 @cd tests; ../bin/testharness -l medium $(EXCLUDE_TAGS) -n $(THREADS)521 @cd tests; ../bin/testharness -l medium $(EXCLUDE_TAGS) -n $(THREADS)
502522
503mediumzoltantest:523mediumzoltantest:
@@ -599,7 +619,18 @@
599 $(MAKE) clean-light619 $(MAKE) clean-light
600 @echo " Congratulations, make makefiles succeeded!"620 @echo " Congratulations, make makefiles succeeded!"
601621
602install:622install: default fltools bin/shallow_water bin/burgers_equation
603 @mkdir -p $(DESTDIR)$(bindir)623 @mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(docdir)/fluidity
604 cp bin/* $(DESTDIR)$(bindir)624 cp bin/* $(DESTDIR)$(bindir)
605 cd python ; python setup.py install --root="${DESTDIR}" --prefix="$(prefix)"625 rm -f $(DESTDIR)$(bindir)/spud-* $(DESTDIR)$(bindir)/diamond $(DESTDIR)$(bindir)/silenteval $(DESTDIR)$(bindir)/runut
626 [ -f manual/fluidity_manual.pdf ] && cp manual/fluidity_manual.pdf $(DESTDIR)$(docdir)/fluidity || true
627 mkdir -p $(DESTDIR)$(datadir)/fluidity
628 cp -r schemas/ $(DESTDIR)$(datadir)/fluidity/
629 mkdir -p $(DESTDIR)$(datadir)/diamond/schemata
630 cp schemas/flml $(DESTDIR)$(datadir)/diamond/schemata
631 cd python ; python setup.py install --root="${DESTDIR}" --prefix="$(prefix)" $$FLUIDITY_PYTHON_INSTALL_ARGS
632 cp -r examples/ $(DESTDIR)$(docdir)/fluidity
633 find $(DESTDIR)$(docdir)/fluidity/examples -type f -exec sed -i "s/\.\.\/\.\.\/\.\.\/bin\///" '{}' \;
634 find $(DESTDIR)$(docdir)/fluidity/examples -type f -exec sed -i "s/\.\.\/\.\.\/bin\///" '{}' \;
635 tar -czvf $(DESTDIR)$(docdir)/fluidity/examples.tar.gz $(DESTDIR)$(docdir)/fluidity/examples/
636 rm -rf $(DESTDIR)$(docdir)/fluidity/examples/
606637
=== modified file 'aclocal.m4'
--- aclocal.m4 2011-10-03 17:24:46 +0000
+++ aclocal.m4 2011-11-30 17:31:28 +0000
@@ -500,7 +500,11 @@
500 PetscInt i,j,II,JJ,m,n,its500 PetscInt i,j,II,JJ,m,n,its
501 PetscInt Istart,Iend,ione501 PetscInt Istart,Iend,ione
502 PetscErrorCode ierr502 PetscErrorCode ierr
503#if PETSC_VERSION_MINOR==2
504 PetscBool flg
505#else
503 PetscTruth flg506 PetscTruth flg
507#endif
504 PetscScalar v,one,neg_one508 PetscScalar v,one,neg_one
505 Vec x,b,u509 Vec x,b,u
506 Mat A 510 Mat A
507511
=== modified file 'assemble/Biology.F90'
--- assemble/Biology.F90 2011-10-19 17:55:20 +0000
+++ assemble/Biology.F90 2011-11-30 17:31:28 +0000
@@ -39,6 +39,9 @@
39 use solvers39 use solvers
40 use python_state40 use python_state
41 use sparsity_patterns_meshes41 use sparsity_patterns_meshes
42 use fefields
43 use field_options
44
42 implicit none45 implicit none
4346
44 private47 private
@@ -66,6 +69,14 @@
66 type(state_type), intent(inout) :: state69 type(state_type), intent(inout) :: state
6770
68 character(len=OPTION_PATH_LEN) :: prefix, algorithm71 character(len=OPTION_PATH_LEN) :: prefix, algorithm
72 ! This is the photosynthetic radiation projected onto the
73 ! same mesh as the biology fields
74 ! It also takes into account the "active" part of the solar radiation
75 type(scalar_field) :: par_bio
76 ! we use the phytoplankton as the "bio" mesh
77 type(scalar_field), pointer :: phytoplankton, PhotosyntheticRadiation
78 type(vector_field) :: coords
79 integer :: stat
6980
70 call backup_source_terms(state)81 call backup_source_terms(state)
7182
@@ -91,6 +102,24 @@
91 ! Calculate the light field at every point.102 ! Calculate the light field at every point.
92 call solve_light_equation(state, prefix)103 call solve_light_equation(state, prefix)
93104
105 par_bio = extract_scalar_field(state, "_PAR", stat)
106 phytoplankton => extract_scalar_field(state, "Phytoplankton")
107 if (stat /= 0) then
108 ! field does not yet exist: create it
109 call allocate(par_bio,phytoplankton%mesh, name="_PAR")
110 call zero(par_bio)
111 call insert(state, par_bio, par_bio%name)
112 call deallocate(par_bio)
113 par_bio = extract_scalar_field(state, "_PAR", stat)
114 end if
115 PhotosyntheticRadiation => extract_scalar_field(state, "PhotosyntheticRadiation")
116 coords = get_coordinate_field(state, par_bio%mesh)
117 ! project the Photosynthetic radaition field onto the _PAR field
118 call project_field(PhotosyntheticRadiation, par_bio, coords)
119 ! scale it to get the active part
120 call scale(par_bio, 0.43)
121 call deallocate(coords)
122
94 ! Calculate the sources and sinks at every point.123 ! Calculate the sources and sinks at every point.
95 call calculate_biology_from_python(state, prefix, algorithm)124 call calculate_biology_from_python(state, prefix, algorithm)
96125
@@ -210,13 +239,9 @@
210 g=extract_vector_field(state, "GravityDirection")239 g=extract_vector_field(state, "GravityDirection")
211 light=extract_scalar_field(state, "PhotosyntheticRadiation")240 light=extract_scalar_field(state, "PhotosyntheticRadiation")
212 P=extract_scalar_field(state, "Phytoplankton")241 P=extract_scalar_field(state, "Phytoplankton")
213 242
214 if(continuity(light)<0) then243 ! Only need first order sparsity as we have no diffusion
215 ! could be cleverer with this and check if diffusion is assembled244 sparsity=>get_csr_sparsity_firstorder(state, light%mesh, light%mesh)
216 sparsity=>get_csr_sparsity_secondorder(state, light%mesh, light%mesh)
217 else
218 sparsity=>get_csr_sparsity_firstorder(state, light%mesh, light%mesh)
219 end if
220245
221 call get_option(trim(light%option_path)//&246 call get_option(trim(light%option_path)//&
222 "/prognostic/absorption_coefficients/water", k_w)247 "/prognostic/absorption_coefficients/water", k_w)
@@ -369,23 +394,22 @@
369 ! External face.394 ! External face.
370 face_2=face395 face_2=face
371 end if396 end if
372397
373 call construct_light_interface(ele, ele_2, face, face_2, ni,&398 call construct_light_interface(face, face_2,&
374 & light_mat, rhs, X, g, light, &399 & light_mat, rhs, X, g, light, &
375 & bc_value, bc_type) 400 & bc_value, bc_type)
376
377 end do neighbourloop401 end do neighbourloop
378402
379 end subroutine construct_light_element403 end subroutine construct_light_element
380404
381 subroutine construct_light_interface(ele, ele_2, face, face_2, ni,&405 subroutine construct_light_interface(face, face_2,&
382 & light_mat, rhs, X, g, light, bc_value, bc_type)406 & light_mat, rhs, X, g, light, bc_value, bc_type)
383 !!< Construct the element boundary integrals on the ni-th face of407 !!< Construct the element boundary integrals on the ni-th face of
384 !!< element ele. For continuous discretisation, this is only boundary408 !!< element ele. For continuous discretisation, this is only boundary
385 !!< faces. For DG it's all of them.409 !!< faces. For DG it's all of them.
386 implicit none410 implicit none
387411
388 integer, intent(in) :: ele, ele_2, face, face_2, ni412 integer, intent(in) :: face, face_2
389 type(csr_matrix), intent(inout) :: light_mat413 type(csr_matrix), intent(inout) :: light_mat
390 type(scalar_field), intent(inout) :: rhs414 type(scalar_field), intent(inout) :: rhs
391 ! We pass these additional fields to save on state lookups.415 ! We pass these additional fields to save on state lookups.
@@ -399,7 +423,7 @@
399423
400 ! Face objects and numberings.424 ! Face objects and numberings.
401 type(element_type), pointer ::l_shape, l_shape_2425 type(element_type), pointer ::l_shape, l_shape_2
402 integer, dimension(face_loc(light,face)) :: l_face, l_face_l426 integer, dimension(face_loc(light,face)) :: l_face
403 integer, dimension(face_loc(light,face_2)) :: l_face_2427 integer, dimension(face_loc(light,face_2)) :: l_face_2
404428
405 ! Note that both sides of the face can be assumed to have the same429 ! Note that both sides of the face can be assumed to have the same
@@ -428,7 +452,7 @@
428 ! Boundary nodes have both faces the same.452 ! Boundary nodes have both faces the same.
429 boundary=(face==face_2)453 boundary=(face==face_2)
430 dirichlet=.false.454 dirichlet=.false.
431 if (boundary) then455 if (boundary .and. face < size(bc_type)) then
432 if (bc_type(face)==BCTYPE_WEAKDIRICHLET) then456 if (bc_type(face)==BCTYPE_WEAKDIRICHLET) then
433 dirichlet=.true.457 dirichlet=.true.
434 end if458 end if
435459
=== modified file 'assemble/Diagnostic_fields_wrapper.F90'
--- assemble/Diagnostic_fields_wrapper.F90 2011-09-20 12:26:59 +0000
+++ assemble/Diagnostic_fields_wrapper.F90 2011-11-30 17:31:28 +0000
@@ -544,8 +544,11 @@
544544
545 ! Start of sediment diagnostics.545 ! Start of sediment diagnostics.
546 if (have_option("/material_phase[0]/sediment")) then546 if (have_option("/material_phase[0]/sediment")) then
547 call calculate_sinking_velocity(state(i))547 call calculate_sediment_sinking_velocity(state(i))
548 call calculate_sediment_flux(state(i))548 call calculate_sediment_flux(state(i))
549 call calculate_sediment_active_layer_d50(state(i))
550 call calculate_sediment_active_layer_sigma(state(i))
551 call calculate_sediment_active_layer_volume_fractions(state(i))
549 end if552 end if
550 ! End of sediment diagnostics.553 ! End of sediment diagnostics.
551554
552555
=== modified file 'assemble/Divergence_Matrix_CV.F90'
--- assemble/Divergence_Matrix_CV.F90 2011-09-16 21:18:56 +0000
+++ assemble/Divergence_Matrix_CV.F90 2011-11-30 17:31:28 +0000
@@ -107,7 +107,7 @@
107 type(vector_field) :: field_bc107 type(vector_field) :: field_bc
108108
109 real, dimension(:,:,:), allocatable :: ct_mat_local, ct_mat_local_bdy109 real, dimension(:,:,:), allocatable :: ct_mat_local, ct_mat_local_bdy
110 real, dimension(:), allocatable :: ct_rhs_local110 real, dimension(:,:), allocatable :: ct_rhs_local
111111
112 logical :: l_get_ct112 logical :: l_get_ct
113113
@@ -316,7 +316,7 @@
316 allocate(field_nodes_bdy(field%mesh%faces%shape%loc))316 allocate(field_nodes_bdy(field%mesh%faces%shape%loc))
317 allocate(test_nodes_bdy(test_mesh%faces%shape%loc))317 allocate(test_nodes_bdy(test_mesh%faces%shape%loc))
318 allocate(ct_mat_local_bdy(x%dim, test_mesh%faces%shape%loc, field%mesh%faces%shape%loc), &318 allocate(ct_mat_local_bdy(x%dim, test_mesh%faces%shape%loc, field%mesh%faces%shape%loc), &
319 ct_rhs_local(test_mesh%faces%shape%loc))319 ct_rhs_local(x%dim, test_mesh%faces%shape%loc))
320 320
321 surface_element_loop: do sele = 1, surface_element_count(test_mesh)321 surface_element_loop: do sele = 1, surface_element_count(test_mesh)
322 322
@@ -366,11 +366,11 @@
366 if((present(ct_rhs)).and.(field_bc_type(dim, sele)==BC_TYPE_WEAKDIRICHLET)) then366 if((present(ct_rhs)).and.(field_bc_type(dim, sele)==BC_TYPE_WEAKDIRICHLET)) then
367 367
368 if(multiphase) then368 if(multiphase) then
369 ct_rhs_local(iloc) = ct_rhs_local(iloc) + &369 ct_rhs_local(dim, iloc) = ct_rhs_local(dim, iloc) - &
370 field_cvbdyshape%n(jloc,ggi)*detwei_bdy(ggi)*nvfrac_gi_f(ggi)*&370 field_cvbdyshape%n(jloc,ggi)*detwei_bdy(ggi)*nvfrac_gi_f(ggi)*&
371 normal_bdy(dim,ggi)*field_bc_val(dim, jloc)371 normal_bdy(dim,ggi)*field_bc_val(dim, jloc)
372 else372 else
373 ct_rhs_local(iloc) = ct_rhs_local(iloc) + &373 ct_rhs_local(dim, iloc) = ct_rhs_local(dim, iloc) - &
374 field_cvbdyshape%n(jloc,ggi)*detwei_bdy(ggi)*normal_bdy(dim,ggi)*&374 field_cvbdyshape%n(jloc,ggi)*detwei_bdy(ggi)*normal_bdy(dim,ggi)*&
375 field_bc_val(dim, jloc)375 field_bc_val(dim, jloc)
376 end if376 end if
@@ -403,7 +403,7 @@
403 403
404 if((present(ct_rhs)).and.(field_bc_type(dim, sele)==BC_TYPE_WEAKDIRICHLET)) then404 if((present(ct_rhs)).and.(field_bc_type(dim, sele)==BC_TYPE_WEAKDIRICHLET)) then
405 405
406 call addto(ct_rhs, test_nodes_bdy, ct_rhs_local)406 call addto(ct_rhs, test_nodes_bdy, ct_rhs_local(dim,:))
407 407
408 elseif(l_get_ct) then408 elseif(l_get_ct) then
409 409
410410
=== modified file 'assemble/Full_Projection.F90'
--- assemble/Full_Projection.F90 2011-04-06 15:37:23 +0000
+++ assemble/Full_Projection.F90 2011-11-30 17:31:28 +0000
@@ -44,8 +44,8 @@
44 use petsc_solve_state_module44 use petsc_solve_state_module
45 use boundary_conditions_from_options45 use boundary_conditions_from_options
4646
47#ifdef HAVE_PETSC_MODULES
48#include "petscversion.h"47#include "petscversion.h"
48#ifdef HAVE_PETSC_MODULES
49 use petsc49 use petsc
50#if PETSC_VERSION_MINOR==050#if PETSC_VERSION_MINOR==0
51 use petscvec51 use petscvec
5252
=== modified file 'assemble/LES_viscosity.F90'
--- assemble/LES_viscosity.F90 2011-05-10 10:39:15 +0000
+++ assemble/LES_viscosity.F90 2011-11-30 17:31:28 +0000
@@ -54,17 +54,17 @@
54 ewrite(2,*) "Initialising optional dynamic LES diagnostic fields"54 ewrite(2,*) "Initialising optional dynamic LES diagnostic fields"
55 ! Filter width55 ! Filter width
56 if(have_filter_width) then56 if(have_filter_width) then
57 tensorfield => extract_tensor_field(state, "DynamicFilterWidth")57 tensorfield => extract_tensor_field(state, "FilterWidth")
58 call zero(tensorfield)58 call zero(tensorfield)
59 end if59 end if
60 ! Strain rate field S160 ! Strain rate field S1
61 if(have_strain) then61 if(have_strain) then
62 tensorfield => extract_tensor_field(state, "DynamicStrainRate")62 tensorfield => extract_tensor_field(state, "StrainRate")
63 call zero(tensorfield)63 call zero(tensorfield)
64 end if64 end if
65 ! Filtered strain rate field S265 ! Filtered strain rate field S2
66 if(have_filtered_strain) then66 if(have_filtered_strain) then
67 tensorfield => extract_tensor_field(state, "DynamicFilteredStrainRate")67 tensorfield => extract_tensor_field(state, "FilteredStrainRate")
68 call zero(tensorfield)68 call zero(tensorfield)
69 end if69 end if
70 ! Eddy viscosity field m_ij70 ! Eddy viscosity field m_ij
@@ -98,31 +98,31 @@
9898
99 ! Strain rate field S199 ! Strain rate field S1
100 if(have_strain) then100 if(have_strain) then
101 tensorfield => extract_tensor_field(state, "DynamicStrainRate")101 tensorfield => extract_tensor_field(state, "StrainRate")
102 tensor_loc=shape_tensor_rhs(ele_shape(nu, ele), strain_gi, detwei)102 tensor_loc=shape_tensor_rhs(ele_shape(nu, ele), strain_gi, detwei)
103 call addto(tensorfield, ele_nodes(nu, ele), tensor_loc)103 call addto(tensorfield, ele_nodes(nu, ele), tensor_loc)
104 end if104 end if
105105
106 ! Filtered strain rate field S2106 ! Filtered strain rate field S2
107 if(have_filtered_strain) then107 if(have_filtered_strain) then
108 tensorfield => extract_tensor_field(state, "DynamicFilteredStrainRate")108 tensorfield => extract_tensor_field(state, "FilteredStrainRate")
109 tensor_loc=shape_tensor_rhs(ele_shape(nu, ele), t_strain_gi, detwei)109 tensor_loc=shape_tensor_rhs(ele_shape(nu, ele), t_strain_gi, detwei)
110 call addto(tensorfield, ele_nodes(nu, ele), tensor_loc)110 call addto(tensorfield, ele_nodes(nu, ele), tensor_loc)
111 end if111 end if
112112
113 ! Filter width113 ! Filter width
114 if(have_filter_width) then114 if(have_filter_width) then
115 tensorfield => extract_tensor_field(state, "DynamicFilterWidth")115 tensorfield => extract_tensor_field(state, "FilterWidth")
116 tensor_loc=shape_tensor_rhs(ele_shape(nu, ele), mesh_size_gi, detwei)116 tensor_loc=shape_tensor_rhs(ele_shape(nu, ele), mesh_size_gi, detwei)
117 call addto(tensorfield, ele_nodes(nu, ele), tensor_loc)117 call addto(tensorfield, ele_nodes(nu, ele), tensor_loc)
118 end if118 end if
119119
120 end subroutine les_set_diagnostic_tensor_fields120 end subroutine les_set_diagnostic_tensor_fields
121121
122 subroutine leonard_tensor(mnu, positions, tnu, leonard, alpha, path)122 subroutine leonard_tensor(nu, positions, tnu, leonard, alpha, path)
123123
124 ! Unfiltered velocity124 ! Unfiltered velocity
125 type(vector_field), pointer :: mnu125 type(vector_field), pointer :: nu
126 type(vector_field), intent(in) :: positions126 type(vector_field), intent(in) :: positions
127 ! Filtered velocity127 ! Filtered velocity
128 type(vector_field), pointer :: tnu128 type(vector_field), pointer :: tnu
@@ -140,31 +140,30 @@
140140
141 ! Path is to level above solver options141 ! Path is to level above solver options
142 lpath = (trim(path)//"/dynamic_les")142 lpath = (trim(path)//"/dynamic_les")
143 ewrite(2,*) "path: ", trim(lpath)143 ewrite(2,*) "filter factor alpha: ", alpha
144 ewrite(2,*) "alpha: ", alpha
145144
146 ewrite_minmax(mnu)145 ewrite_minmax(nu)
147 ewrite_minmax(tnu)146 ewrite_minmax(tnu)
148147
149 call anisotropic_smooth_vector(mnu, positions, tnu, alpha, lpath)148 call anisotropic_smooth_vector(nu, positions, tnu, alpha, lpath)
150149
151 ewrite_minmax(mnu)150 ewrite_minmax(nu)
152 ewrite_minmax(tnu)151 ewrite_minmax(tnu)
153152
154 ! Velocity products (ui*uj)153 ! Velocity products (ui*uj)
155 allocate(ui_uj); allocate(tui_tuj)154 allocate(ui_uj); allocate(tui_tuj)
156 call allocate(ui_uj, mnu%mesh, "NonlinearVelocityProduct")155 call allocate(ui_uj, nu%mesh, "NonlinearVelocityProduct")
157 call allocate(tui_tuj, mnu%mesh, "TestNonlinearVelocityProduct")156 call allocate(tui_tuj, nu%mesh, "TestNonlinearVelocityProduct")
158 call zero(ui_uj); call zero(tui_tuj)157 call zero(ui_uj); call zero(tui_tuj)
159158
160 ! Other local variables159 ! Other local variables
161 allocate(u_loc(mnu%dim)); allocate(t_loc(mnu%dim, mnu%dim))160 allocate(u_loc(nu%dim)); allocate(t_loc(nu%dim, nu%dim))
162 u_loc=0.0; t_loc=0.0161 u_loc=0.0; t_loc=0.0
163162
164 ! Get cross products of velocities163 ! Get cross products of velocities
165 do i=1, node_count(mnu)164 do i=1, node_count(nu)
166 ! Mesh filter ^r165 ! Mesh filter ^r
167 u_loc = node_val(mnu,i)166 u_loc = node_val(nu,i)
168 t_loc = outer_product(u_loc, u_loc)167 t_loc = outer_product(u_loc, u_loc)
169 call set( ui_uj, i, t_loc )168 call set( ui_uj, i, t_loc )
170 ! Test filter ^t169 ! Test filter ^t
171170
=== modified file 'assemble/Makefile.dependencies'
--- assemble/Makefile.dependencies 2011-10-19 13:24:47 +0000
+++ assemble/Makefile.dependencies 2011-11-30 17:31:28 +0000
@@ -131,11 +131,11 @@
131131
132Biology.o ../include/biology.mod: Biology.F90 \132Biology.o ../include/biology.mod: Biology.F90 \
133 ../include/boundary_conditions.mod ../include/fdebug.h \133 ../include/boundary_conditions.mod ../include/fdebug.h \
134 ../include/fetools.mod ../include/fields.mod \134 ../include/fefields.mod ../include/fetools.mod ../include/field_options.mod \
135 ../include/global_parameters.mod ../include/python_state.mod \135 ../include/fields.mod ../include/global_parameters.mod \
136 ../include/solvers.mod ../include/sparse_tools.mod \136 ../include/python_state.mod ../include/solvers.mod \
137 ../include/sparsity_patterns_meshes.mod ../include/spud.mod \137 ../include/sparse_tools.mod ../include/sparsity_patterns_meshes.mod \
138 ../include/state_module.mod138 ../include/spud.mod ../include/state_module.mod
139139
140../include/burgers_assembly.mod: Burgers_Assembly.o140../include/burgers_assembly.mod: Burgers_Assembly.o
141 @true141 @true
142142
=== modified file 'assemble/Momentum_CG.F90'
--- assemble/Momentum_CG.F90 2011-10-19 13:53:05 +0000
+++ assemble/Momentum_CG.F90 2011-11-30 17:31:28 +0000
@@ -133,7 +133,7 @@
133 133
134 ! LES coefficients and options134 ! LES coefficients and options
135 real :: smagorinsky_coefficient135 real :: smagorinsky_coefficient
136 logical :: have_averaging, have_lilly, have_eddy_visc136 logical :: have_lilly, have_eddy_visc, backscatter
137 logical :: have_strain, have_filtered_strain, have_filter_width137 logical :: have_strain, have_filtered_strain, have_filter_width
138138
139 ! Temperature dependent viscosity coefficients:139 ! Temperature dependent viscosity coefficients:
@@ -235,9 +235,9 @@
235 ! For 4th order:235 ! For 4th order:
236 type(tensor_field):: grad_u236 type(tensor_field):: grad_u
237 ! For Germano Dynamic LES:237 ! For Germano Dynamic LES:
238 type(vector_field), pointer :: nu_av, mnu, mnu_av, tnu, tnu_av238 type(vector_field), pointer :: tnu
239 type(tensor_field), pointer :: leonard, leonard_av239 type(tensor_field), pointer :: leonard
240 real :: alpha, alpha2240 real :: alpha
241241
242 ! for temperature dependent viscosity :242 ! for temperature dependent viscosity :
243 type(scalar_field), pointer :: temperature243 type(scalar_field), pointer :: temperature
@@ -387,90 +387,47 @@
387 smagorinsky_coefficient)387 smagorinsky_coefficient)
388 end if388 end if
389 if(dynamic_les) then389 if(dynamic_les) then
390 ! Are we using averaged velocity to stabilise the model? NOT WORKING
391 have_averaging = have_option(trim(les_option_path)//"/dynamic_les/enable_averaging")
392 ! Are we using the Lilly (1991) modification?390 ! Are we using the Lilly (1991) modification?
393 have_lilly = have_option(trim(les_option_path)//"/dynamic_les/enable_lilly")391 have_lilly = have_option(trim(les_option_path)//"/dynamic_les/enable_lilly")
394 ! Get optional diagnostic fields392
393 ! Whether or not to allow backscatter (negative eddy viscosity)
394 backscatter = have_option(trim(les_option_path)//"/dynamic_les/enable_backscatter")
395
396 ! Initialise optional diagnostic fields
395 have_eddy_visc = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::EddyViscosity")397 have_eddy_visc = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::EddyViscosity")
396 have_strain = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::DynamicStrainRate")398 have_strain = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::StrainRate")
397 have_filtered_strain = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::DynamicFilteredStrainRate")399 have_filtered_strain = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::FilteredStrainRate")
398 have_filter_width = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::DynamicFilterWidth")400 have_filter_width = have_option(trim(les_option_path)//"/dynamic_les/tensor_field::FilterWidth")
401 call les_init_diagnostic_tensor_fields(state, have_eddy_visc, have_strain, have_filtered_strain, have_filter_width)
399402
400 ! Initialise necessary local fields.403 ! Initialise necessary local fields.
401 ewrite(2,*) "Initialising compulsory dynamic LES fields"404 ewrite(2,*) "Initialising compulsory dynamic LES fields"
402 allocate(mnu); allocate(tnu); allocate(leonard)405 if(have_option(trim(les_option_path)//"/dynamic_les/vector_field::FilteredVelocity")) then
403 call allocate(mnu, u%dim, u%mesh, "DynamicVelocity")406 tnu => extract_vector_field(state, "FilteredVelocity")
404 call allocate(tnu, u%dim, u%mesh, "DynamicFilteredVelocity")407 else
405 call allocate(leonard, u%mesh, "DynamicLeonardTensor")408 allocate(tnu)
406 call zero(mnu); call zero(tnu); call zero(leonard)409 call allocate(tnu, u%dim, u%mesh, "FilteredVelocity")
407410 end if
408 ! Initialise optional diagnostic fields.411 call zero(tnu)
409 call les_init_diagnostic_tensor_fields(state, have_eddy_visc, have_strain, have_filtered_strain, have_filter_width)412 allocate(leonard)
410413 call allocate(leonard, u%mesh, "LeonardTensor")
411 ! Use time-averaged quantities. EXPERIMENTAL - DOES NOT WORK.414 call zero(leonard)
412 if(have_averaging) then415
413 ewrite(2,*) "Initialising dynamic LES averaged fields"416 ! Get (test filter)/(mesh filter) size ratio alpha. Default value is 2.
414 ! Test-filtered velocity field
415 allocate(mnu_av); allocate(tnu_av); allocate(leonard_av)
416 call allocate(mnu_av, u%dim, u%mesh, "DynamicAverageVelocity")
417 call allocate(tnu_av, u%dim, u%mesh, "DynamicFilteredAverageVelocity")
418 call allocate(leonard_av, u%mesh, "DynamicAverageLeonardTensor")
419 call zero(mnu_av); call zero(tnu_av); call zero(leonard_av)
420
421 ! Averaged velocity field
422 ewrite(2,*) "Calculating averaged velocity"
423 !nu_av => vector_source_field(state, u)
424 !call calculate_time_averaged_vector(state, nu_av)
425 else
426 nu_av => dummyvector
427 end if
428
429 ! Are we filtering the velocity field to stabilise the model?
430 call get_option(trim(les_option_path)//"/dynamic_les/stabilisation_parameter", alpha2, default=0.0)
431 if(alpha2 > 0.0) then
432 ! Calculate mesh-filtered velocity
433 ewrite(2,*) "Calculating mesh-filtered velocity from Velocity (not NonlinearVelocity)"
434 call anisotropic_smooth_vector(u, x, mnu, alpha2, trim(les_option_path)//"/dynamic_les")
435 ! If averaging, we need to smooth the averaged velocity too!
436 if(have_averaging) then
437 call anisotropic_smooth_vector(nu_av, x, mnu_av, alpha2, trim(les_option_path)//"/dynamic_les")
438 else
439 mnu_av => dummyvector
440 end if
441 else if(alpha2==0.0) then
442 ! Point the dynamic velocity field at the Velocity field because we're not filtering it.
443 call set(mnu, u)
444 if(have_averaging) then
445 call set(mnu_av, nu_av)
446 else
447 mnu_av => dummyvector
448 end if
449 else
450 FLAbort("Incorrect value for dynamic LES stabilisation parameter.")
451 end if
452
453 ! Get (test filter)/(mesh filter) size ratio alpha
454 call get_option(trim(les_option_path)//"/dynamic_les/alpha", alpha, default=2.0)417 call get_option(trim(les_option_path)//"/dynamic_les/alpha", alpha, default=2.0)
455418
456 ! Calculate test-filtered velocity field and Leonard tensor field.419 ! Calculate test-filtered velocity field and Leonard tensor field.
457 ewrite(2,*) "Calculating test-filtered velocity and Leonard tensor"420 ewrite(2,*) "Calculating test-filtered velocity and Leonard tensor"
458 call leonard_tensor(mnu, x, tnu, leonard, alpha, les_option_path)421 call leonard_tensor(nu, x, tnu, leonard, alpha, les_option_path)
459 if(have_averaging) then
460 call leonard_tensor(mnu_av, x, tnu_av, leonard_av, alpha, les_option_path)
461 else
462 tnu_av => dummyvector; leonard_av => dummytensor
463 end if
464422
465 ewrite_minmax(leonard)423 ewrite_minmax(leonard)
466 else424 else
467 have_averaging=.false.; have_lilly=.false.; have_eddy_visc=.false.425 have_lilly=.false.; have_eddy_visc=.false.; backscatter=.false.
468 have_strain=.false.; have_filtered_strain=.false.; have_filter_width=.false.426 have_strain=.false.; have_filtered_strain=.false.; have_filter_width=.false.
469 end if427 end if
470 else428 else
471 les_second_order=.false.; les_fourth_order=.false.; wale=.false.; dynamic_les=.false.429 les_second_order=.false.; les_fourth_order=.false.; wale=.false.; dynamic_les=.false.
472 tnu => dummyvector; mnu => dummyvector; nu_av => dummyvector; tnu_av => dummyvector; mnu_av => dummyvector430 tnu => dummyvector; leonard => dummytensor
473 leonard => dummytensor; leonard_av => dummytensor
474 end if431 end if
475 432
476433
@@ -670,7 +627,7 @@
670 density, p, &627 density, p, &
671 source, absorption, buoyancy, gravity, &628 source, absorption, buoyancy, gravity, &
672 viscosity, grad_u, &629 viscosity, grad_u, &
673 mnu, tnu, leonard, alpha, &630 tnu, leonard, alpha, &
674 gp, surfacetension, &631 gp, surfacetension, &
675 assemble_ct_matrix_here, on_sphere, depth, &632 assemble_ct_matrix_here, on_sphere, depth, &
676 alpha_u_field, abs_wd, temperature, nvfrac)633 alpha_u_field, abs_wd, temperature, nvfrac)
@@ -835,14 +792,10 @@
835 end if792 end if
836793
837 if (dynamic_les) then794 if (dynamic_les) then
838 call deallocate(mnu); deallocate(mnu)795 if(.not. have_option(trim(les_option_path)//"/dynamic_les/vector_field::FilteredVelocity")) then
839 call deallocate(tnu); deallocate(tnu)796 call deallocate(tnu); deallocate(tnu)
797 end if
840 call deallocate(leonard); deallocate(leonard)798 call deallocate(leonard); deallocate(leonard)
841 if (have_averaging) then
842 call deallocate(mnu_av); deallocate(mnu_av)
843 call deallocate(tnu_av); deallocate(tnu_av)
844 call deallocate(leonard_av); deallocate(leonard_av)
845 end if
846 end if799 end if
847800
848 call deallocate(dummytensor)801 call deallocate(dummytensor)
@@ -1113,7 +1066,7 @@
1113 density, p, &1066 density, p, &
1114 source, absorption, buoyancy, gravity, &1067 source, absorption, buoyancy, gravity, &
1115 viscosity, grad_u, &1068 viscosity, grad_u, &
1116 mnu, tnu, leonard, alpha, &1069 tnu, leonard, alpha, &
1117 gp, surfacetension, &1070 gp, surfacetension, &
1118 assemble_ct_matrix_here, on_sphere, depth, &1071 assemble_ct_matrix_here, on_sphere, depth, &
1119 alpha_u_field, abs_wd, temperature, nvfrac)1072 alpha_u_field, abs_wd, temperature, nvfrac)
@@ -1143,7 +1096,7 @@
1143 type(tensor_field), intent(in) :: viscosity, grad_u1096 type(tensor_field), intent(in) :: viscosity, grad_u
11441097
1145 ! Fields for Germano Dynamic LES Model1098 ! Fields for Germano Dynamic LES Model
1146 type(vector_field), intent(in) :: mnu, tnu1099 type(vector_field), intent(in) :: tnu
1147 type(tensor_field), intent(in) :: leonard1100 type(tensor_field), intent(in) :: leonard
1148 real, intent(in) :: alpha1101 real, intent(in) :: alpha
11491102
@@ -1341,7 +1294,7 @@
1341 ! Viscous terms1294 ! Viscous terms
1342 if(have_viscosity .or. have_les) then1295 if(have_viscosity .or. have_les) then
1343 call add_viscosity_element_cg(state, ele, test_function, u, oldu_val, nu, x, viscosity, grad_u, &1296 call add_viscosity_element_cg(state, ele, test_function, u, oldu_val, nu, x, viscosity, grad_u, &
1344 mnu, tnu, leonard, alpha, &1297 tnu, leonard, alpha, &
1345 du_t, detwei, big_m_tensor_addto, rhs_addto, temperature, nvfrac)1298 du_t, detwei, big_m_tensor_addto, rhs_addto, temperature, nvfrac)
1346 end if1299 end if
1347 1300
@@ -1956,7 +1909,7 @@
1956 end subroutine add_absorption_element_cg1909 end subroutine add_absorption_element_cg
1957 1910
1958 subroutine add_viscosity_element_cg(state, ele, test_function, u, oldu_val, nu, x, viscosity, grad_u, &1911 subroutine add_viscosity_element_cg(state, ele, test_function, u, oldu_val, nu, x, viscosity, grad_u, &
1959 mnu, tnu, leonard, alpha, &1912 tnu, leonard, alpha, &
1960 du_t, detwei, big_m_tensor_addto, rhs_addto, temperature, nvfrac)1913 du_t, detwei, big_m_tensor_addto, rhs_addto, temperature, nvfrac)
1961 type(state_type), intent(inout) :: state1914 type(state_type), intent(inout) :: state
1962 integer, intent(in) :: ele1915 integer, intent(in) :: ele
@@ -1968,7 +1921,7 @@
1968 type(tensor_field), intent(in) :: grad_u1921 type(tensor_field), intent(in) :: grad_u
19691922
1970 ! Fields for Germano Dynamic LES Model1923 ! Fields for Germano Dynamic LES Model
1971 type(vector_field), intent(in) :: mnu, tnu1924 type(vector_field), intent(in) :: tnu
1972 type(tensor_field), intent(in) :: leonard1925 type(tensor_field), intent(in) :: leonard
1973 real, intent(in) :: alpha1926 real, intent(in) :: alpha
19741927
@@ -1977,8 +1930,8 @@
1977 real, dimension(x%dim, x%dim, ele_ngi(u,ele)) :: strain_gi, t_strain_gi1930 real, dimension(x%dim, x%dim, ele_ngi(u,ele)) :: strain_gi, t_strain_gi
1978 real, dimension(x%dim, x%dim, ele_ngi(u,ele)) :: mesh_size_gi, leonard_gi1931 real, dimension(x%dim, x%dim, ele_ngi(u,ele)) :: mesh_size_gi, leonard_gi
1979 real, dimension(ele_ngi(u, ele)) :: strain_mod, t_strain_mod1932 real, dimension(ele_ngi(u, ele)) :: strain_mod, t_strain_mod
1980 type(element_type) :: shape_mnu1933 type(element_type) :: shape_nu
1981 integer, dimension(:), pointer :: nodes_mnu1934 integer, dimension(:), pointer :: nodes_nu
19821935
1983 ! Temperature dependent viscosity:1936 ! Temperature dependent viscosity:
1984 type(scalar_field), intent(in) :: temperature1937 type(scalar_field), intent(in) :: temperature
@@ -2064,21 +2017,20 @@
2064 end do2017 end do
2065 ! Germano dynamic model2018 ! Germano dynamic model
2066 else if (dynamic_les) then2019 else if (dynamic_les) then
2067 shape_mnu = ele_shape(mnu, ele)2020 shape_nu = ele_shape(nu, ele)
2068 nodes_mnu => ele_nodes(mnu, ele)2021 nodes_nu => ele_nodes(nu, ele)
2069 les_tensor_gi=0.02022 les_tensor_gi=0.0
20702023
2071 ! Get strain S1 for unfiltered velocity (dim,dim,ngi)2024 ! Get strain S1 for unfiltered velocity (dim,dim,ngi)
2072 strain_gi = les_strain_rate(du_t, ele_val(mnu, ele))2025 strain_gi = les_strain_rate(du_t, ele_val(nu, ele))
2073 ! Get strain S2 for test-filtered velocity (dim,dim,ngi)2026 ! Get strain S2 for test-filtered velocity (dim,dim,ngi)
2074 t_strain_gi = les_strain_rate(du_t, ele_val(tnu, ele))2027 t_strain_gi = les_strain_rate(du_t, ele_val(tnu, ele))
2075
2076 ! Filter width G1 associated with mesh size (units length^2)2028 ! Filter width G1 associated with mesh size (units length^2)
2077 mesh_size_gi = length_scale_tensor(du_t, shape_mnu)2029 mesh_size_gi = length_scale_tensor(du_t, ele_shape(u, ele))
2078 ! Leonard tensor L at gi2030 ! Leonard tensor L at gi
2079 leonard_gi =ele_val_at_quad(leonard, ele)2031 leonard_gi =ele_val_at_quad(leonard, ele)
20802032
2081 do gi=1, ele_ngi(mnu, ele)2033 do gi=1, ele_ngi(nu, ele)
2082 ! Get strain modulus |S1| for unfiltered velocity (ngi)2034 ! Get strain modulus |S1| for unfiltered velocity (ngi)
2083 strain_mod(gi) = sqrt( 2*sum(strain_gi(:,:,gi)*strain_gi(:,:,gi) ) )2035 strain_mod(gi) = sqrt( 2*sum(strain_gi(:,:,gi)*strain_gi(:,:,gi) ) )
2084 ! Get strain modulus |S2| for test-filtered velocity (ngi)2036 ! Get strain modulus |S2| for test-filtered velocity (ngi)
@@ -2092,42 +2044,52 @@
2092 else2044 else
2093 ! Choose original Germano model or Lilly's (1991) modification from options2045 ! Choose original Germano model or Lilly's (1991) modification from options
2094 if(.not. have_lilly) then2046 if(.not. have_lilly) then
2095 do gi=1, ele_ngi(mnu, ele)2047 do gi=1, ele_ngi(nu, ele)
2096 ! L.S12048 ! |S1|*L.S1
2097 numerator = sum( leonard_gi(:,:,gi)*strain_gi(:,:,gi) )2049 numerator = sum( leonard_gi(:,:,gi)*strain_gi(:,:,gi) )*strain_mod(gi)
2050
2098 ! alpha^2*|S2|*S2.S12051 ! alpha^2*|S2|*S2.S1
2099 ! This term is WRONG until I find a way of filtering the strain rate product.2052 ! This term is WRONG until I find a way of filtering the strain rate product. The difference may be quite small though.
2100 denominator = -2*alpha**2*t_strain_mod(gi)*sum(t_strain_gi(:,:,gi)*strain_gi(:,:,gi))2053 denominator = -alpha**2*t_strain_mod(gi)*sum(t_strain_gi(:,:,gi)*strain_gi(:,:,gi))
2101 ! Dynamic eddy viscosity m_ij2054
2102 ! N.B. If averaging, beware of operator not applying to every term.2055 ! Dynamic eddy viscosity m_ij = C*S1
2103 les_tensor_gi(:,:,gi) = numerator/denominator*strain_mod(gi)2056 les_tensor_gi(:,:,gi) = numerator/denominator
21042057
2105 ! Artificial but it works!2058 ! Whether or not to allow negative eddy viscosity (backscattering)
2059 ! but do not allow (viscosity+eddy_viscosity) < 0.
2106 if(any(les_tensor_gi(:,:,gi) < 0.0)) then2060 if(any(les_tensor_gi(:,:,gi) < 0.0)) then
2107 les_tensor_gi(:,:,gi) = max(les_tensor_gi(:,:,gi),0.0)2061 if(backscatter) then
2062 les_tensor_gi(:,:,gi) = max(les_tensor_gi(:,:,gi), epsilon(0.0) - viscosity_gi(:,:,gi))
2063 else
2064 les_tensor_gi(:,:,gi) = max(les_tensor_gi(:,:,gi),0.0)
2065 end if
2108 end if2066 end if
2109 end do2067 end do
2110 else if(have_lilly) then2068 else if(have_lilly) then
2111 do gi=1, ele_ngi(mnu, ele)2069 do gi=1, ele_ngi(nu, ele)
2112 ! |S1|*L.S12070 ! |S1|*L.S1
2113 numerator = t_strain_mod(gi)*sum(leonard_gi(:,:,gi)*t_strain_gi(:,:,gi))2071 numerator = sum(leonard_gi(:,:,gi)*t_strain_gi(:,:,gi))*strain_mod(gi)
2114 ! alpha^2*|S2|^2*S2.S22072 ! alpha^2*|S2|^2*S2.S2
2115 ! This term is WRONG until I find a way of filtering the strain rate product.2073 ! This term is WRONG until I find a way of filtering the strain rate product. The difference may be quite small though.
2116 denominator = -2*alpha**2*(t_strain_mod(gi))**2*sum(t_strain_gi(:,:,gi)*t_strain_gi(:,:,gi))2074 denominator = -alpha**2*(t_strain_mod(gi))**2*sum(t_strain_gi(:,:,gi)*t_strain_gi(:,:,gi))
2117 ! Dynamic eddy viscosity m_ij2075 ! Dynamic eddy viscosity m_ij
2118 ! N.B. If averaging, beware of operator not applying to every term.2076 les_tensor_gi(:,:,gi) = numerator/denominator
2119 les_tensor_gi(:,:,gi) = numerator/denominator*strain_mod(gi)
21202077
2121 ! Artificial but it works!2078 ! Whether or not to allow negative eddy viscosity (backscattering)
2079 ! but do not allow (viscosity+eddy_viscosity) < 0.
2122 if(any(les_tensor_gi(:,:,gi) < 0.0)) then2080 if(any(les_tensor_gi(:,:,gi) < 0.0)) then
2123 les_tensor_gi(:,:,gi) = max(les_tensor_gi(:,:,gi),0.0)2081 if(backscatter) then
2082 les_tensor_gi(:,:,gi) = max(les_tensor_gi(:,:,gi), epsilon(0.0) - viscosity_gi(:,:,gi))
2083 else
2084 les_tensor_gi(:,:,gi) = max(les_tensor_gi(:,:,gi),0.0)
2085 end if
2124 end if2086 end if
2125 end do2087 end do
2126 end if2088 end if
2127 end if2089 end if
21282090
2129 ! Set diagnostic fields2091 ! Set diagnostic fields
2130 call les_set_diagnostic_tensor_fields(state, mnu, ele, detwei, &2092 call les_set_diagnostic_tensor_fields(state, nu, ele, detwei, &
2131 mesh_size_gi, strain_gi, t_strain_gi, les_tensor_gi, &2093 mesh_size_gi, strain_gi, t_strain_gi, les_tensor_gi, &
2132 have_eddy_visc, have_strain, have_filtered_strain, have_filter_width)2094 have_eddy_visc, have_strain, have_filtered_strain, have_filter_width)
21332095
21342096
=== modified file 'assemble/Momentum_Equation.F90'
--- assemble/Momentum_Equation.F90 2011-10-19 17:35:23 +0000
+++ assemble/Momentum_Equation.F90 2011-11-30 17:31:28 +0000
@@ -98,6 +98,8 @@
98 logical, dimension(:), allocatable :: lump_mass98 logical, dimension(:), allocatable :: lump_mass
99 ! are we using a cv pressure 99 ! are we using a cv pressure
100 logical :: cv_pressure 100 logical :: cv_pressure
101 ! for a CG pressure are we testing the continuity with cv
102 logical :: cg_pressure_cv_test_continuity
101103
102 ! Do we need to reassemble the C^T or CMC matrices?104 ! Do we need to reassemble the C^T or CMC matrices?
103 logical :: reassemble_all_ct_m, reassemble_all_cmc_m105 logical :: reassemble_all_ct_m, reassemble_all_cmc_m
@@ -179,7 +181,10 @@
179 ! Scaled pressure mass matrix - used for preconditioning full projection solve:181 ! Scaled pressure mass matrix - used for preconditioning full projection solve:
180 type(csr_matrix), target :: scaled_pressure_mass_matrix182 type(csr_matrix), target :: scaled_pressure_mass_matrix
181 type(csr_sparsity), pointer :: scaled_pressure_mass_matrix_sparsity183 type(csr_sparsity), pointer :: scaled_pressure_mass_matrix_sparsity
182 ! Compressible pressure gradient operator/left hand matrix of CMC184 ! Left hand matrix of CMC. For incompressibe flow this points to ct_m as they are identical,
185 ! unless for CG pressure with CV tested continuity case when this matrix will be the
186 ! CV divergence tested matrix and ct_m the CG divergence tested matrix (right hand matrix of CMC).
187 ! For compressible flow this differs to ct_m in that it will contain the variable density.
183 type(block_csr_matrix_pointer), dimension(:), allocatable :: ctp_m188 type(block_csr_matrix_pointer), dimension(:), allocatable :: ctp_m
184 ! The lumped mass matrix (may vary per component as absorption could be included)189 ! The lumped mass matrix (may vary per component as absorption could be included)
185 type(vector_field), dimension(1:size(state)) :: inverse_masslump, visc_inverse_masslump190 type(vector_field), dimension(1:size(state)) :: inverse_masslump, visc_inverse_masslump
@@ -377,6 +382,14 @@
377 ! Get the pressure gradient matrix (i.e. the divergence matrix)382 ! Get the pressure gradient matrix (i.e. the divergence matrix)
378 ct_m(istate)%ptr => get_velocity_divergence_matrix(state(istate), get_ct=reassemble_ct_m) ! Sets reassemble_ct_m to true if it does not already exist in state(i) 383 ct_m(istate)%ptr => get_velocity_divergence_matrix(state(istate), get_ct=reassemble_ct_m) ! Sets reassemble_ct_m to true if it does not already exist in state(i)
379 reassemble_ct_m = reassemble_ct_m .or. reassemble_all_ct_m384 reassemble_ct_m = reassemble_ct_m .or. reassemble_all_ct_m
385
386 ! For the CG pressure with CV tested continuity case
387 ! get the CV tested pressure gradient matrix (i.e. the divergence matrix)
388 ! if required with a different unique name. Note there is no need
389 ! to again decide reassemble_ct_m as ctp_m for this case is assembled when ct_m is.
390 if ((.not. use_compressible_projection) .and. cg_pressure_cv_test_continuity) then
391 ctp_m(istate)%ptr => get_velocity_divergence_matrix(state(istate), ct_m_name = "CVTestedVelocityDivergenceMatrix")
392 end if
380393
381 ! Get the pressure poisson matrix (i.e. the CMC/projection matrix)394 ! Get the pressure poisson matrix (i.e. the CMC/projection matrix)
382 cmc_m => get_pressure_poisson_matrix(state(istate), get_cmc=reassemble_cmc_m) ! ...and similarly for reassemble_cmc_m395 cmc_m => get_pressure_poisson_matrix(state(istate), get_cmc=reassemble_cmc_m) ! ...and similarly for reassemble_cmc_m
@@ -514,10 +527,13 @@
514 diagonal=diagonal_big_m, name="BIG_m")527 diagonal=diagonal_big_m, name="BIG_m")
515 end if528 end if
516529
517 ! Initialise the big_m and ct_m matrices530 ! Initialise the big_m, ct_m and ctp_m matrices
518 call zero(big_m(istate))531 call zero(big_m(istate))
519 if(reassemble_ct_m) then532 if(reassemble_ct_m) then
520 call zero(ct_m(istate)%ptr)533 call zero(ct_m(istate)%ptr)
534 if ((.not. use_compressible_projection) .and. cg_pressure_cv_test_continuity) then
535 call zero(ctp_m(istate)%ptr)
536 end if
521 end if537 end if
522538
523 ! Allocate the momentum RHS539 ! Allocate the momentum RHS
@@ -563,6 +579,8 @@
563 call subtract_geostrophic_pressure_gradient(mom_rhs(istate), state(istate))579 call subtract_geostrophic_pressure_gradient(mom_rhs(istate), state(istate))
564 end if580 end if
565 else581 else
582 ! This call will form the ct_rhs, which for use_compressible_projection
583 ! or cg_pressure_cv_test_continuity is formed for a second time later below.
566 call construct_momentum_cg(u, p, density, x, &584 call construct_momentum_cg(u, p, density, x, &
567 big_m(istate), mom_rhs(istate), ct_m(istate)%ptr, &585 big_m(istate), mom_rhs(istate), ct_m(istate)%ptr, &
568 ct_rhs(istate), mass(istate), inverse_masslump(istate), visc_inverse_masslump(istate), &586 ct_rhs(istate), mass(istate), inverse_masslump(istate), visc_inverse_masslump(istate), &
@@ -607,22 +625,20 @@
607 call wall_functions(big_m(istate), mom_rhs(istate), state(istate))625 call wall_functions(big_m(istate), mom_rhs(istate), state(istate))
608 end if626 end if
609627
610 ! Add mass source-absorption for implicit solids
611 if (have_option("/implicit_solids/two_way_coupling")) then
612 call add_mass_source_absorption(ct_rhs(istate), state(istate))
613 end if
614
615 call profiler_toc(u, "assembly")628 call profiler_toc(u, "assembly")
616629
617 call profiler_tic(p, "assembly")630 call profiler_tic(p, "assembly")
618 if(cv_pressure) then631 if(cv_pressure) then
632 ! This call will form the ct_rhs, which for use_compressible_projection
633 ! is formed for a second time later below.
619 call assemble_divergence_matrix_cv(ct_m(istate)%ptr, state(istate), ct_rhs=ct_rhs(istate), &634 call assemble_divergence_matrix_cv(ct_m(istate)%ptr, state(istate), ct_rhs=ct_rhs(istate), &
620 test_mesh=p%mesh, field=u, get_ct=reassemble_ct_m)635 test_mesh=p%mesh, field=u, get_ct=reassemble_ct_m)
621 end if636 end if
622637
623 !! Assemble divergence matrix C^T638 ! Assemble divergence matrix C^T.
624 ! At the moment cg does its own ct assembly. We might change this in639 ! At the moment cg does its own ct assembly. We might change this in the future.
625 ! the future.640 ! This call will form the ct_rhs, which for use_compressible_projection
641 ! or cg_pressure_cv_test_continuity is formed for a second time later below.
626 if(dg(istate) .and. .not. cv_pressure) then642 if(dg(istate) .and. .not. cv_pressure) then
627 call assemble_divergence_matrix_cg(ct_m(istate)%ptr, state(istate), ct_rhs=ct_rhs(istate), &643 call assemble_divergence_matrix_cg(ct_m(istate)%ptr, state(istate), ct_rhs=ct_rhs(istate), &
628 test_mesh=p%mesh, field=u, get_ct=reassemble_ct_m)644 test_mesh=p%mesh, field=u, get_ct=reassemble_ct_m)
@@ -658,15 +674,35 @@
658 call profiler_tic(p, "assembly")674 call profiler_tic(p, "assembly")
659 675
660 if (prognostic_p .and. .not.reduced_model) then676 if (prognostic_p .and. .not.reduced_model) then
661677
678 ! Set up the left C matrix in CMC
679
662 if(use_compressible_projection) then680 if(use_compressible_projection) then
663 allocate(ctp_m(istate)%ptr)681 allocate(ctp_m(istate)%ptr)
664 call allocate(ctp_m(istate)%ptr, ct_m(istate)%ptr%sparsity, (/1, u%dim/), name="CTP_m")682 call allocate(ctp_m(istate)%ptr, ct_m(istate)%ptr%sparsity, (/1, u%dim/), name="CTP_m")
683 ! NOTE that this is not optimal in that the ct_rhs
684 ! was formed already above. The call here will overwrite those values.
665 if(cv_pressure) then685 if(cv_pressure) then
666 call assemble_compressible_divergence_matrix_cv(ctp_m(istate)%ptr, state, ct_rhs(istate))686 call assemble_compressible_divergence_matrix_cv(ctp_m(istate)%ptr, state, ct_rhs(istate))
667 else687 else
668 call assemble_compressible_divergence_matrix_cg(ctp_m(istate)%ptr, state, ct_rhs(istate))688 call assemble_compressible_divergence_matrix_cg(ctp_m(istate)%ptr, state, ct_rhs(istate))
689 end if
690 else
691 ! Incompressible scenario
692 if (cg_pressure_cv_test_continuity) then
693 ! Form the CV tested divergence matrix and ct_rhs.
694 ! This will only reassemble ctp_m when ct_m
695 ! also requires reassemble. NOTE that this is not optimal in that the ct_rhs
696 ! was formed already above. The call here will overwrite those values.
697 call assemble_divergence_matrix_cv(ctp_m(istate)%ptr, state(istate), ct_rhs=ct_rhs(istate), &
698 test_mesh=p%mesh, field=u, get_ct=reassemble_ct_m)
699 else
700 ! ctp_m is identical to ct_m
701 ctp_m(istate)%ptr => ct_m(istate)%ptr
669 end if702 end if
703 end if
704
705 if (use_compressible_projection .or. cg_pressure_cv_test_continuity) then
670 if (have_rotated_bcs(u)) then706 if (have_rotated_bcs(u)) then
671 if (dg(istate)) then707 if (dg(istate)) then
672 call zero_non_owned(u)708 call zero_non_owned(u)
@@ -679,9 +715,18 @@
679 end if715 end if
680 call rotate_ct_m_sphere(state(istate), ctp_m(istate)%ptr, u)716 call rotate_ct_m_sphere(state(istate), ctp_m(istate)%ptr, u)
681 end if717 end if
682 else718 end if
683 ctp_m(istate)%ptr => ct_m(istate)%ptr ! Incompressible scenario719
684 end if720 ! Add mass source-absorption for implicit solids.
721 ! This needs to be done after ct_rhs has been formed
722 ! in the divergence routines as they zero the field.
723 ! This routine assumes the continuity is tested with
724 ! FE basis functions, so is not correct for cv_pressure
725 ! or cg_pressure_cv_test_continuity.
726 if (have_option("/implicit_solids/two_way_coupling")) then
727 call add_mass_source_absorption(ct_rhs(istate), state(istate))
728 end if
729
685 ewrite_minmax(ctp_m(istate)%ptr)730 ewrite_minmax(ctp_m(istate)%ptr)
686 ewrite_minmax(ct_rhs(istate))731 ewrite_minmax(ct_rhs(istate))
687732
@@ -1242,6 +1287,11 @@
1242 cv_pressure = have_option(trim(p%option_path)//&1287 cv_pressure = have_option(trim(p%option_path)//&
1243 "/prognostic/spatial_discretisation/control_volumes")1288 "/prognostic/spatial_discretisation/control_volumes")
12441289
1290 ! For CG pressure are we testing the continuity with the CV dual
1291 cg_pressure_cv_test_continuity = have_option(trim(p%option_path)//&
1292 &"/prognostic/spatial_discretisation/continuous_galerkin&
1293 &/test_continuity_with_cv_dual")
1294
1245 end subroutine get_pressure_options1295 end subroutine get_pressure_options
12461296
12471297
@@ -1750,9 +1800,11 @@
17501800
1751 subroutine momentum_equation_check_options1801 subroutine momentum_equation_check_options
17521802
1753 integer :: i, nmat1803 integer :: i, nmat, bc, nbc
1754 character(len=FIELD_NAME_LEN) :: schur_scheme1804 character(len=FIELD_NAME_LEN) :: schur_scheme
1755 character(len=FIELD_NAME_LEN) :: schur_preconditioner1805 character(len=FIELD_NAME_LEN) :: schur_preconditioner
1806 character(len=FIELD_NAME_LEN) :: pressure_mesh
1807 character(len=FIELD_NAME_LEN) :: pressure_mesh_element_type
17561808
1757 ewrite(1,*) 'Checking momentum discretisation options'1809 ewrite(1,*) 'Checking momentum discretisation options'
17581810
@@ -2004,6 +2056,91 @@
2004 FLExit("Lump the mass matrix (of the velocity) if you want to make use of the low Reynolds number fix")2056 FLExit("Lump the mass matrix (of the velocity) if you want to make use of the low Reynolds number fix")
2005 end if2057 end if
2006 end if2058 end if
2059
2060 ! Check options for case with CG pressure and
2061 ! testing continuity with CV dual mesh.
2062 ! Will not work with compressible, free surface or
2063 ! wetting and drying and implicit solids two way coupling.
2064 ! Also will not work if the pressure is on a mesh that has
2065 ! bubble or trace shape functions.
2066 if (have_option("/material_phase["//int2str(i)//&
2067 &"]/scalar_field::Pressure/prognostic&
2068 &/spatial_discretisation/continuous_galerkin&
2069 &/test_continuity_with_cv_dual")) then
2070
2071 ! Check that the incompressible projection is being used
2072 if(.not.have_option("/material_phase["//int2str(i)//&
2073 &"]/scalar_field::Pressure/prognostic&
2074 &/scheme/use_projection_method")) then
2075
2076 ewrite(-1,*) "Error: For a CG Pressure the continuity"
2077 ewrite(-1,*) "can only be tested with the cv dual mesh"
2078 ewrite(-1,*) "if the pressure scheme is the incompressible"
2079 ewrite(-1,*) "projection method, which is given by the option"
2080 ewrite(-1,*) "path material_phase/Pressure/spatial_discretisation/"
2081 ewrite(-1,*) "continuous_galerkin/scheme/use_projection_method"
2082 FLExit("Use incompressible projection method if wanting to test continuity with cv dual with CG pressure")
2083 end if
2084
2085 ! Check that there are no free_surface boundary conditions for Velocity
2086 nbc = option_count("/material_phase["//int2str(i)//"]/vector_field::Velocity&
2087 &/prognostic/boundary_conditions")
2088
2089 bc_loop: do bc = 0, nbc - 1
2090
2091 if(have_option("/material_phase["//int2str(i)//"]/vector_field::Velocity/prognostic&
2092 &/boundary_conditions["//int2str(bc)//"]/type::free_surface")) then
2093 ewrite(-1,*) "Cannot have free_surface BC for Velocity of phase ",i+1
2094 ewrite(-1,*) "when using a CG pressure with a CV tested continuity equation"
2095 FLExit("For CG Pressure cannot test the continuity equation with CV when Velocity has a free_surface BC")
2096 end if
2097
2098 end do bc_loop
2099
2100 ! Check that the wetting_and_drying model is not being used
2101 if(have_option("/mesh_adaptivity/mesh_movement/free_surface/wetting_and_drying")) then
2102 FLExit("For CG Pressure cannot test the continuity equation with CV when using the wetting and drying model")
2103 end if
2104
2105 ! Check that implicit solids two way coupling is not being used
2106 if (have_option("/implicit_solids/two_way_coupling")) then
2107 FLExit("For CG Pressure cannot test the continuity equation with CV when using implicit solids two way coupling model")
2108 end if
2109
2110 ! get the pressure mesh name
2111 call get_option("/material_phase["//int2str(i)//"]/scalar_field::Pressure/prognostic/mesh/name", &
2112 pressure_mesh)
2113
2114 ! check that the pressure mesh options
2115 ! do NOT say bubble or trace
2116 call get_option("/geometry/mesh::"//trim(pressure_mesh)//"/from_mesh/mesh_shape/element_type", &
2117 pressure_mesh_element_type, &
2118 default = "lagranian")
2119
2120 if (trim(pressure_mesh_element_type) == "bubble") then
2121 FLExit("For CG Pressure cannot test the continuity equation with CV if the pressure mesh has element type bubble")
2122 end if
2123
2124 if (trim(pressure_mesh_element_type) == "trace") then
2125 FLExit("For CG Pressure cannot test the continuity equation with CV if the pressure mesh has element type trace")
2126 end if
2127
2128 end if
2129
2130 ! Check that is using implicit solids two way coupling that
2131 ! the pressure is NOT CV. CV pressure implies CV tested continuity
2132 ! which is not possible yet for the two way coupling terms.
2133 ! Note the check of CG pressure with CV tested continuity
2134 ! and implicit solids two way coupling has been done above.
2135 if (have_option("/implicit_solids/two_way_coupling")) then
2136
2137 if (have_option("/material_phase["//int2str(i)//&
2138 &"]/scalar_field::Pressure/prognostic&
2139 &/spatial_discretisation/control_volumes")) then
2140 FLExit("Cannot use implicit solids two way coupling if the pressure is control volume discretised")
2141 end if
2142
2143 end if
2007 2144
2008 end do2145 end do
20092146
20102147
=== modified file 'assemble/State_Matrices.F90'
--- assemble/State_Matrices.F90 2011-07-18 16:53:16 +0000
+++ assemble/State_Matrices.F90 2011-11-30 17:31:28 +0000
@@ -248,17 +248,19 @@
248 248
249 end function get_pressure_stabilisation_matrix_multiple_states249 end function get_pressure_stabilisation_matrix_multiple_states
250 250
251 function get_velocity_divergence_matrix_single_state(state, get_ct) result(ct_m)251 function get_velocity_divergence_matrix_single_state(state, get_ct, ct_m_name) result(ct_m)
252 !!< extracts the ct matrix from state, 252 !!< extracts the ct matrix from state,
253 !!< if it fails to find it it returns get_ct=.true. to indicate that it needs assembling253 !!< if it fails to find it it returns get_ct=.true. to indicate that it needs assembling
254 !!< if ct_m_name is present then that name is used else a default is used.
254 type(block_csr_matrix), pointer :: ct_m255 type(block_csr_matrix), pointer :: ct_m
255 type(state_type), intent(inout) :: state256 type(state_type), intent(inout) :: state
256 logical, intent(inout), optional :: get_ct257 logical, intent(inout), optional :: get_ct
257 258 character(len=*), intent(in), optional :: ct_m_name
259
258 type(state_type), dimension(1) :: states260 type(state_type), dimension(1) :: states
259 261
260 states = (/state/)262 states = (/state/)
261 ct_m => get_velocity_divergence_matrix(states, get_ct=get_ct)263 ct_m => get_velocity_divergence_matrix(states, get_ct=get_ct, ct_m_name = ct_m_name)
262 state = states(1)264 state = states(1)
263265
264 ! In multi-phase simulations, C^T depends on the phase volume fraction,266 ! In multi-phase simulations, C^T depends on the phase volume fraction,
@@ -269,24 +271,33 @@
269271
270 end function get_velocity_divergence_matrix_single_state272 end function get_velocity_divergence_matrix_single_state
271273
272 function get_velocity_divergence_matrix_multiple_states(states, get_ct) result(ct_m)274 function get_velocity_divergence_matrix_multiple_states(states, get_ct, ct_m_name) result(ct_m)
273 !!< extracts the ct matrix from states, 275 !!< extracts the ct matrix from states,
274 !!< if it fails to find it it returns get_ct=.true. to indicate that it needs assembling276 !!< if it fails to find it it returns get_ct=.true. to indicate that it needs assembling
277 !!< if ct_m_name is present then that name is used else a default is used.
275 type(block_csr_matrix), pointer :: ct_m278 type(block_csr_matrix), pointer :: ct_m
276 type(state_type), dimension(:), intent(inout) :: states279 type(state_type), dimension(:), intent(inout) :: states
277 logical, intent(inout), optional :: get_ct280 logical, intent(inout), optional :: get_ct
278 281 character(len=*), intent(in), optional :: ct_m_name
282
279 integer :: stat, i283 integer :: stat, i
280 type(mesh_type), pointer :: p_mesh, u_mesh284 type(mesh_type), pointer :: p_mesh, u_mesh
281 type(vector_field), pointer :: velocity285 type(vector_field), pointer :: velocity
282 type(csr_sparsity), pointer :: ct_sparsity286 type(csr_sparsity), pointer :: ct_sparsity
283 type(block_csr_matrix) :: temp_ct_m287 type(block_csr_matrix) :: temp_ct_m
284 288 character(len=FIELD_NAME_LEN) :: l_ct_m_name
289
285 integer, save :: last_mesh_movement = -1290 integer, save :: last_mesh_movement = -1
286 291
292 ! Form the ct_m_name dependent on interface argument
293 if (present(ct_m_name)) then
294 l_ct_m_name = trim(ct_m_name)
295 else
296 l_ct_m_name = "VelocityDivergenceMatrix"
297 end if
287 298
288 if(present(get_ct)) get_ct = .false.299 if(present(get_ct)) get_ct = .false.
289 ct_m => extract_block_csr_matrix(states, "VelocityDivergenceMatrix", stat)300 ct_m => extract_block_csr_matrix(states, trim(l_ct_m_name), stat)
290 301
291 if(stat/=0) then302 if(stat/=0) then
292 if(present(get_ct)) get_ct = .true.303 if(present(get_ct)) get_ct = .true.
@@ -300,11 +311,11 @@
300 311
301 ct_sparsity => get_csr_sparsity_firstorder(states, p_mesh, u_mesh)312 ct_sparsity => get_csr_sparsity_firstorder(states, p_mesh, u_mesh)
302 313
303 call allocate(temp_ct_m, ct_sparsity, blocks=(/1,velocity%dim/), name="VelocityDivergenceMatrix")314 call allocate(temp_ct_m, ct_sparsity, blocks=(/1,velocity%dim/), name=trim(l_ct_m_name))
304 call insert(states, temp_ct_m, name="VelocityDivergenceMatrix")315 call insert(states, temp_ct_m, name=trim(l_ct_m_name))
305 call deallocate(temp_ct_m)316 call deallocate(temp_ct_m)
306 317
307 ct_m => extract_block_csr_matrix(states, "VelocityDivergenceMatrix")318 ct_m => extract_block_csr_matrix(states, trim(l_ct_m_name))
308 else319 else
309 ! just check if we need to reassemble the matrix anyway320 ! just check if we need to reassemble the matrix anyway
310 if(present(get_ct)) get_ct = (eventcount(EVENT_MESH_MOVEMENT)/=last_mesh_movement)321 if(present(get_ct)) get_ct = (eventcount(EVENT_MESH_MOVEMENT)/=last_mesh_movement)
311322
=== modified file 'assemble/Zoltan_callbacks.F90'
--- assemble/Zoltan_callbacks.F90 2011-09-26 17:04:31 +0000
+++ assemble/Zoltan_callbacks.F90 2011-11-30 17:31:28 +0000
@@ -173,7 +173,7 @@
173 real :: quality, min_quality, my_min_quality173 real :: quality, min_quality, my_min_quality
174 174
175 ! variables for recording the local maximum/minimum edge weights and local 90th percentile edge weight175 ! variables for recording the local maximum/minimum edge weights and local 90th percentile edge weight
176 real(zoltan_float) :: min_weight, max_weight, ninety_weight, my_max_weight176 real(zoltan_float) :: min_weight, max_weight, ninety_weight, my_max_weight, my_min_weight
177 177
178 integer, dimension(:), pointer :: my_nelist, nbor_nelist178 integer, dimension(:), pointer :: my_nelist, nbor_nelist
179 179
@@ -295,7 +295,6 @@
295 end if295 end if
296 end do296 end do
297 297
298 value = maxval(ewgts(head:head+size(neighbours)-1))
299 head = head + size(neighbours)298 head = head + size(neighbours)
300 end do299 end do
301 300
@@ -307,8 +306,14 @@
307 my_max_weight = maxval(ewgts(1:head-1))306 my_max_weight = maxval(ewgts(1:head-1))
308 307
309 ! calculate the local minimum edge weight308 ! calculate the local minimum edge weight
310 min_weight = minval(ewgts(1:head-1))309 my_min_weight = minval(ewgts(1:head-1))
311 call MPI_ALLREDUCE(my_max_weight,max_weight,1,MPI_INTEGER,MPI_MAX, MPI_COMM_FEMTOOLS,err)310
311 ! calculate global maximum edge weight
312 call MPI_ALLREDUCE(my_max_weight,max_weight,1,MPI_REAL,MPI_MAX, MPI_COMM_FEMTOOLS,err)
313
314 ! calculate global minimum edge weight
315 call MPI_ALLREDUCE(my_min_weight,min_weight,1,MPI_REAL,MPI_MIN, MPI_COMM_FEMTOOLS,err)
316
312 ! calculate the local 90th percentile edge weight 317 ! calculate the local 90th percentile edge weight
313 ninety_weight = max_weight * 0.90318 ninety_weight = max_weight * 0.90
314 319
315320
=== modified file 'configure'
--- configure 2011-10-21 10:05:25 +0000
+++ configure 2011-11-30 17:31:28 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for fluidity trunk.3665.3# Generated by GNU Autoconf 2.67 for fluidity None.
4#4#
5#5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -89,7 +89,6 @@
89IFS=" "" $as_nl"89IFS=" "" $as_nl"
9090
91# Find who we are. Look in the path if we contain no directory separator.91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((92case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;93 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -215,18 +214,11 @@
215 # We cannot yet assume a decent shell, so we have to provide a214 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also215 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.216 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null217 BASH_ENV=/dev/null
220 ENV=/dev/null218 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL220 export CONFIG_SHELL
223 case $- in # ((((221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230fi222fi
231223
232 if test x$as_have_required = xno; then :224 if test x$as_have_required = xno; then :
@@ -557,8 +549,8 @@
557# Identity of this package.549# Identity of this package.
558PACKAGE_NAME='fluidity'550PACKAGE_NAME='fluidity'
559PACKAGE_TARNAME='fluidity'551PACKAGE_TARNAME='fluidity'
560PACKAGE_VERSION='trunk.3665'552PACKAGE_VERSION='None'
561PACKAGE_STRING='fluidity trunk.3665'553PACKAGE_STRING='fluidity None'
562PACKAGE_BUGREPORT=''554PACKAGE_BUGREPORT=''
563PACKAGE_URL=''555PACKAGE_URL=''
564556
@@ -615,6 +607,7 @@
615BUILD_LIBADAPT607BUILD_LIBADAPT
616DEFINE_MPI608DEFINE_MPI
617USE_CPP609USE_CPP
610FLLINKER
618LINKER611LINKER
619OPTIMIZATION_FFLAGS612OPTIMIZATION_FFLAGS
620FORTRAN_REAL_8613FORTRAN_REAL_8
@@ -686,6 +679,7 @@
686build_vendor679build_vendor
687build_cpu680build_cpu
688build681build
682FLUIDITY_VERSION
689target_alias683target_alias
690host_alias684host_alias
691build_alias685build_alias
@@ -1185,7 +1179,7 @@
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21179 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21181 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1182 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189 ;;1183 ;;
11901184
1191 esac1185 esac
@@ -1323,7 +1317,7 @@
1323 # Omit some internal or obsolete options to make the list less imposing.1317 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.1318 # This message is too long to be a string in the A/UX 3.1 sh.
1325 cat <<_ACEOF1319 cat <<_ACEOF
1326\`configure' configures fluidity trunk.3665 to adapt to many kinds of systems.1320\`configure' configures fluidity None to adapt to many kinds of systems.
13271321
1328Usage: $0 [OPTION]... [VAR=VALUE]...1322Usage: $0 [OPTION]... [VAR=VALUE]...
13291323
@@ -1392,7 +1386,7 @@
13921386
1393if test -n "$ac_init_help"; then1387if test -n "$ac_init_help"; then
1394 case $ac_init_help in1388 case $ac_init_help in
1395 short | recursive ) echo "Configuration of fluidity trunk.3665:";;1389 short | recursive ) echo "Configuration of fluidity None:";;
1396 esac1390 esac
1397 cat <<\_ACEOF1391 cat <<\_ACEOF
13981392
@@ -1540,8 +1534,8 @@
1540test -n "$ac_init_help" && exit $ac_status1534test -n "$ac_init_help" && exit $ac_status
1541if $ac_init_version; then1535if $ac_init_version; then
1542 cat <<\_ACEOF1536 cat <<\_ACEOF
1543fluidity configure trunk.36651537fluidity configure None
1544generated by GNU Autoconf 2.681538generated by GNU Autoconf 2.67
15451539
1546Copyright (C) 2010 Free Software Foundation, Inc.1540Copyright (C) 2010 Free Software Foundation, Inc.
1547This configure script is free software; the Free Software Foundation1541This configure script is free software; the Free Software Foundation
@@ -1587,7 +1581,7 @@
15871581
1588 ac_retval=11582 ac_retval=1
1589fi1583fi
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1591 as_fn_set_status $ac_retval1585 as_fn_set_status $ac_retval
15921586
1593} # ac_fn_f77_try_compile1587} # ac_fn_f77_try_compile
@@ -1625,7 +1619,7 @@
16251619
1626 ac_retval=11620 ac_retval=1
1627fi1621fi
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1629 as_fn_set_status $ac_retval1623 as_fn_set_status $ac_retval
16301624
1631} # ac_fn_fc_try_compile1625} # ac_fn_fc_try_compile
@@ -1663,7 +1657,7 @@
16631657
1664 ac_retval=11658 ac_retval=1
1665fi1659fi
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667 as_fn_set_status $ac_retval1661 as_fn_set_status $ac_retval
16681662
1669} # ac_fn_c_try_compile1663} # ac_fn_c_try_compile
@@ -1701,7 +1695,7 @@
17011695
1702 ac_retval=11696 ac_retval=1
1703fi1697fi
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705 as_fn_set_status $ac_retval1699 as_fn_set_status $ac_retval
17061700
1707} # ac_fn_cxx_try_compile1701} # ac_fn_cxx_try_compile
@@ -1738,7 +1732,7 @@
17381732
1739 ac_retval=11733 ac_retval=1
1740fi1734fi
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742 as_fn_set_status $ac_retval1736 as_fn_set_status $ac_retval
17431737
1744} # ac_fn_c_try_cpp1738} # ac_fn_c_try_cpp
@@ -1780,7 +1774,7 @@
1780 ac_retval=$ac_status1774 ac_retval=$ac_status
1781fi1775fi
1782 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 as_fn_set_status $ac_retval1778 as_fn_set_status $ac_retval
17851779
1786} # ac_fn_c_try_run1780} # ac_fn_c_try_run
@@ -1958,7 +1952,7 @@
1958rm -f conftest.val1952rm -f conftest.val
19591953
1960 fi1954 fi
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1962 as_fn_set_status $ac_retval1956 as_fn_set_status $ac_retval
19631957
1964} # ac_fn_c_compute_int1958} # ac_fn_c_compute_int
@@ -1972,7 +1966,7 @@
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974$as_echo_n "checking for $2... " >&6; }1968$as_echo_n "checking for $2... " >&6; }
1975if eval \${$3+:} false; then :1969if eval "test \"\${$3+set}\"" = set; then :
1976 $as_echo_n "(cached) " >&61970 $as_echo_n "(cached) " >&6
1977else1971else
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1990,7 +1984,7 @@
1990eval ac_res=\$$31984eval ac_res=\$$3
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992$as_echo "$ac_res" >&6; }1986$as_echo "$ac_res" >&6; }
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1987 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
19941988
1995} # ac_fn_c_check_header_compile1989} # ac_fn_c_check_header_compile
19961990
@@ -2035,7 +2029,7 @@
2035 # interfere with the next link command; also delete a directory that is2029 # interfere with the next link command; also delete a directory that is
2036 # left behind by Apple's compiler. We do this before executing the actions.2030 # left behind by Apple's compiler. We do this before executing the actions.
2037 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2039 as_fn_set_status $ac_retval2033 as_fn_set_status $ac_retval
20402034
2041} # ac_fn_c_try_link2035} # ac_fn_c_try_link
@@ -2081,7 +2075,7 @@
2081 # interfere with the next link command; also delete a directory that is2075 # interfere with the next link command; also delete a directory that is
2082 # left behind by Apple's compiler. We do this before executing the actions.2076 # left behind by Apple's compiler. We do this before executing the actions.
2083 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2085 as_fn_set_status $ac_retval2079 as_fn_set_status $ac_retval
20862080
2087} # ac_fn_cxx_try_link2081} # ac_fn_cxx_try_link
@@ -2127,7 +2121,7 @@
2127 # interfere with the next link command; also delete a directory that is2121 # interfere with the next link command; also delete a directory that is
2128 # left behind by Apple's compiler. We do this before executing the actions.2122 # left behind by Apple's compiler. We do this before executing the actions.
2129 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2123 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2124 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131 as_fn_set_status $ac_retval2125 as_fn_set_status $ac_retval
21322126
2133} # ac_fn_f77_try_link2127} # ac_fn_f77_try_link
@@ -2140,7 +2134,7 @@
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142$as_echo_n "checking for $2... " >&6; }2136$as_echo_n "checking for $2... " >&6; }
2143if eval \${$3+:} false; then :2137if eval "test \"\${$3+set}\"" = set; then :
2144 $as_echo_n "(cached) " >&62138 $as_echo_n "(cached) " >&6
2145else2139else
2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2211,7 +2205,7 @@
2211eval ac_res=\$$32205eval ac_res=\$$3
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213$as_echo "$ac_res" >&6; }2207$as_echo "$ac_res" >&6; }
2214 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2208 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
22152209
2216} # ac_fn_c_check_func2210} # ac_fn_c_check_func
22172211
@@ -2256,7 +2250,7 @@
2256 # interfere with the next link command; also delete a directory that is2250 # interfere with the next link command; also delete a directory that is
2257 # left behind by Apple's compiler. We do this before executing the actions.2251 # left behind by Apple's compiler. We do this before executing the actions.
2258 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2252 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2260 as_fn_set_status $ac_retval2254 as_fn_set_status $ac_retval
22612255
2262} # ac_fn_fc_try_link2256} # ac_fn_fc_try_link
@@ -2298,7 +2292,7 @@
2298 ac_retval=$ac_status2292 ac_retval=$ac_status
2299fi2293fi
2300 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2294 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2301 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2295 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2302 as_fn_set_status $ac_retval2296 as_fn_set_status $ac_retval
23032297
2304} # ac_fn_fc_try_run2298} # ac_fn_fc_try_run
@@ -2335,7 +2329,7 @@
23352329
2336 ac_retval=12330 ac_retval=1
2337fi2331fi
2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2332 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2339 as_fn_set_status $ac_retval2333 as_fn_set_status $ac_retval
23402334
2341} # ac_fn_cxx_try_cpp2335} # ac_fn_cxx_try_cpp
@@ -2348,10 +2342,10 @@
2348ac_fn_cxx_check_header_mongrel ()2342ac_fn_cxx_check_header_mongrel ()
2349{2343{
2350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2344 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2351 if eval \${$3+:} false; then :2345 if eval "test \"\${$3+set}\"" = set; then :
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2353$as_echo_n "checking for $2... " >&6; }2347$as_echo_n "checking for $2... " >&6; }
2354if eval \${$3+:} false; then :2348if eval "test \"\${$3+set}\"" = set; then :
2355 $as_echo_n "(cached) " >&62349 $as_echo_n "(cached) " >&6
2356fi2350fi
2357eval ac_res=\$$32351eval ac_res=\$$3
@@ -2414,7 +2408,7 @@
2414esac2408esac
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2416$as_echo_n "checking for $2... " >&6; }2410$as_echo_n "checking for $2... " >&6; }
2417if eval \${$3+:} false; then :2411if eval "test \"\${$3+set}\"" = set; then :
2418 $as_echo_n "(cached) " >&62412 $as_echo_n "(cached) " >&6
2419else2413else
2420 eval "$3=\$ac_header_compiler"2414 eval "$3=\$ac_header_compiler"
@@ -2423,15 +2417,15 @@
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2424$as_echo "$ac_res" >&6; }2418$as_echo "$ac_res" >&6; }
2425fi2419fi
2426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2420 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
24272421
2428} # ac_fn_cxx_check_header_mongrel2422} # ac_fn_cxx_check_header_mongrel
2429cat >config.log <<_ACEOF2423cat >config.log <<_ACEOF
2430This file contains any messages produced by compilers while2424This file contains any messages produced by compilers while
2431running configure, to aid debugging if configure makes a mistake.2425running configure, to aid debugging if configure makes a mistake.
24322426
2433It was created by fluidity $as_me trunk.3665, which was2427It was created by fluidity $as_me None, which was
2434generated by GNU Autoconf 2.68. Invocation command line was2428generated by GNU Autoconf 2.67. Invocation command line was
24352429
2436 $ $0 $@2430 $ $0 $@
24372431
@@ -2689,7 +2683,7 @@
2689 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52683 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2690$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2684$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2691as_fn_error $? "failed to load site script $ac_site_file2685as_fn_error $? "failed to load site script $ac_site_file
2692See \`config.log' for more details" "$LINENO" 5; }2686See \`config.log' for more details" "$LINENO" 5 ; }
2693 fi2687 fi
2694done2688done
26952689
@@ -2782,6 +2776,10 @@
2782ac_config_headers="$ac_config_headers include/config.h"2776ac_config_headers="$ac_config_headers include/config.h"
27832777
27842778
2779# we ignore PACKAGE_VERSION as it is useless
2780# instead we pass on FLUIDITY_VERSION from the env. if it is set
2781
2782
2785echo "Hostname: `hostname`"2783echo "Hostname: `hostname`"
27862784
2787# Store enviroment variables2785# Store enviroment variables
@@ -2876,7 +2874,7 @@
28762874
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&52875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2878$as_echo_n "checking build system type... " >&6; }2876$as_echo_n "checking build system type... " >&6; }
2879if ${ac_cv_build+:} false; then :2877if test "${ac_cv_build+set}" = set; then :
2880 $as_echo_n "(cached) " >&62878 $as_echo_n "(cached) " >&6
2881else2879else
2882 ac_build_alias=$build_alias2880 ac_build_alias=$build_alias
@@ -2892,7 +2890,7 @@
2892$as_echo "$ac_cv_build" >&6; }2890$as_echo "$ac_cv_build" >&6; }
2893case $ac_cv_build in2891case $ac_cv_build in
2894*-*-*) ;;2892*-*-*) ;;
2895*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;2893*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2896esac2894esac
2897build=$ac_cv_build2895build=$ac_cv_build
2898ac_save_IFS=$IFS; IFS='-'2896ac_save_IFS=$IFS; IFS='-'
@@ -2910,7 +2908,7 @@
29102908
2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2912$as_echo_n "checking host system type... " >&6; }2910$as_echo_n "checking host system type... " >&6; }
2913if ${ac_cv_host+:} false; then :2911if test "${ac_cv_host+set}" = set; then :
2914 $as_echo_n "(cached) " >&62912 $as_echo_n "(cached) " >&6
2915else2913else
2916 if test "x$host_alias" = x; then2914 if test "x$host_alias" = x; then
@@ -2925,7 +2923,7 @@
2925$as_echo "$ac_cv_host" >&6; }2923$as_echo "$ac_cv_host" >&6; }
2926case $ac_cv_host in2924case $ac_cv_host in
2927*-*-*) ;;2925*-*-*) ;;
2928*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;2926*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2929esac2927esac
2930host=$ac_cv_host2928host=$ac_cv_host
2931ac_save_IFS=$IFS; IFS='-'2929ac_save_IFS=$IFS; IFS='-'
@@ -2956,7 +2954,7 @@
2956set dummy $ac_tool_prefix$ac_prog; ac_word=$22954set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958$as_echo_n "checking for $ac_word... " >&6; }2956$as_echo_n "checking for $ac_word... " >&6; }
2959if ${ac_cv_prog_F77+:} false; then :2957if test "${ac_cv_prog_F77+set}" = set; then :
2960 $as_echo_n "(cached) " >&62958 $as_echo_n "(cached) " >&6
2961else2959else
2962 if test -n "$F77"; then2960 if test -n "$F77"; then
@@ -3000,7 +2998,7 @@
3000set dummy $ac_prog; ac_word=$22998set dummy $ac_prog; ac_word=$2
3001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002$as_echo_n "checking for $ac_word... " >&6; }3000$as_echo_n "checking for $ac_word... " >&6; }
3003if ${ac_cv_prog_ac_ct_F77+:} false; then :3001if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
3004 $as_echo_n "(cached) " >&63002 $as_echo_n "(cached) " >&6
3005else3003else
3006 if test -n "$ac_ct_F77"; then3004 if test -n "$ac_ct_F77"; then
@@ -3158,7 +3156,7 @@
3158{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53156{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3157$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160as_fn_error 77 "Fortran 77 compiler cannot create executables3158as_fn_error 77 "Fortran 77 compiler cannot create executables
3161See \`config.log' for more details" "$LINENO" 5; }3159See \`config.log' for more details" "$LINENO" 5 ; }
3162else3160else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&53161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3164$as_echo "yes" >&6; }3162$as_echo "yes" >&6; }
@@ -3201,7 +3199,7 @@
3201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203as_fn_error $? "cannot compute suffix of executables: cannot compile and link3201as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3204See \`config.log' for more details" "$LINENO" 5; }3202See \`config.log' for more details" "$LINENO" 5 ; }
3205fi3203fi
3206rm -f conftest conftest$ac_cv_exeext3204rm -f conftest conftest$ac_cv_exeext
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&53205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3254,7 +3252,7 @@
3254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3252$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255as_fn_error $? "cannot run Fortran 77 compiled programs.3253as_fn_error $? "cannot run Fortran 77 compiled programs.
3256If you meant to cross compile, use \`--host'.3254If you meant to cross compile, use \`--host'.
3257See \`config.log' for more details" "$LINENO" 5; }3255See \`config.log' for more details" "$LINENO" 5 ; }
3258 fi3256 fi
3259 fi3257 fi
3260fi3258fi
@@ -3265,7 +3263,7 @@
3265ac_clean_files=$ac_clean_files_save3263ac_clean_files=$ac_clean_files_save
3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&53264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3267$as_echo_n "checking for suffix of object files... " >&6; }3265$as_echo_n "checking for suffix of object files... " >&6; }
3268if ${ac_cv_objext+:} false; then :3266if test "${ac_cv_objext+set}" = set; then :
3269 $as_echo_n "(cached) " >&63267 $as_echo_n "(cached) " >&6
3270else3268else
3271 cat > conftest.$ac_ext <<_ACEOF3269 cat > conftest.$ac_ext <<_ACEOF
@@ -3300,7 +3298,7 @@
3300{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53298{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302as_fn_error $? "cannot compute suffix of object files: cannot compile3300as_fn_error $? "cannot compute suffix of object files: cannot compile
3303See \`config.log' for more details" "$LINENO" 5; }3301See \`config.log' for more details" "$LINENO" 5 ; }
3304fi3302fi
3305rm -f conftest.$ac_cv_objext conftest.$ac_ext3303rm -f conftest.$ac_cv_objext conftest.$ac_ext
3306fi3304fi
@@ -3314,7 +3312,7 @@
3314ac_ext=F3312ac_ext=F
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&53313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
3316$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }3314$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
3317if ${ac_cv_f77_compiler_gnu+:} false; then :3315if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
3318 $as_echo_n "(cached) " >&63316 $as_echo_n "(cached) " >&6
3319else3317else
3320 cat > conftest.$ac_ext <<_ACEOF3318 cat > conftest.$ac_ext <<_ACEOF
@@ -3342,7 +3340,7 @@
3342FFLAGS=3340FFLAGS=
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&53341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
3344$as_echo_n "checking whether $F77 accepts -g... " >&6; }3342$as_echo_n "checking whether $F77 accepts -g... " >&6; }
3345if ${ac_cv_prog_f77_g+:} false; then :3343if test "${ac_cv_prog_f77_g+set}" = set; then :
3346 $as_echo_n "(cached) " >&63344 $as_echo_n "(cached) " >&6
3347else3345else
3348 FFLAGS=-g3346 FFLAGS=-g
@@ -3395,7 +3393,7 @@
3395ac_compiler_gnu=$ac_cv_f77_compiler_gnu3393ac_compiler_gnu=$ac_cv_f77_compiler_gnu
3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&53394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
3397$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }3395$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
3398if ${ac_cv_prog_f77_v+:} false; then :3396if test "${ac_cv_prog_f77_v+set}" = set; then :
3399 $as_echo_n "(cached) " >&63397 $as_echo_n "(cached) " >&6
3400else3398else
3401 cat > conftest.$ac_ext <<_ACEOF3399 cat > conftest.$ac_ext <<_ACEOF
@@ -3425,8 +3423,7 @@
3425# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,3423# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
3426# LIBRARY_PATH; skip all such settings.3424# LIBRARY_PATH; skip all such settings.
3427ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |3425ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
3428 sed '/^Driving:/d; /^Configured with:/d;3426 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
3429 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
3430$as_echo "$ac_f77_v_output" >&53427$as_echo "$ac_f77_v_output" >&5
3431FFLAGS=$ac_save_FFLAGS3428FFLAGS=$ac_save_FFLAGS
34323429
@@ -3491,7 +3488,7 @@
3491$as_echo "$ac_cv_prog_f77_v" >&6; }3488$as_echo "$ac_cv_prog_f77_v" >&6; }
3492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&53489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
3493$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }3490$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
3494if ${ac_cv_f77_libs+:} false; then :3491if test "${ac_cv_f77_libs+set}" = set; then :
3495 $as_echo_n "(cached) " >&63492 $as_echo_n "(cached) " >&6
3496else3493else
3497 if test "x$FLIBS" != "x"; then3494 if test "x$FLIBS" != "x"; then
@@ -3516,8 +3513,7 @@
3516# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,3513# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
3517# LIBRARY_PATH; skip all such settings.3514# LIBRARY_PATH; skip all such settings.
3518ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |3515ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
3519 sed '/^Driving:/d; /^Configured with:/d;3516 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
3520 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
3521$as_echo "$ac_f77_v_output" >&53517$as_echo "$ac_f77_v_output" >&5
3522FFLAGS=$ac_save_FFLAGS3518FFLAGS=$ac_save_FFLAGS
35233519
@@ -3713,7 +3709,7 @@
3713set dummy $ac_tool_prefix$ac_prog; ac_word=$23709set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715$as_echo_n "checking for $ac_word... " >&6; }3711$as_echo_n "checking for $ac_word... " >&6; }
3716if ${ac_cv_prog_FC+:} false; then :3712if test "${ac_cv_prog_FC+set}" = set; then :
3717 $as_echo_n "(cached) " >&63713 $as_echo_n "(cached) " >&6
3718else3714else
3719 if test -n "$FC"; then3715 if test -n "$FC"; then
@@ -3757,7 +3753,7 @@
3757set dummy $ac_prog; ac_word=$23753set dummy $ac_prog; ac_word=$2
3758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759$as_echo_n "checking for $ac_word... " >&6; }3755$as_echo_n "checking for $ac_word... " >&6; }
3760if ${ac_cv_prog_ac_ct_FC+:} false; then :3756if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
3761 $as_echo_n "(cached) " >&63757 $as_echo_n "(cached) " >&6
3762else3758else
3763 if test -n "$ac_ct_FC"; then3759 if test -n "$ac_ct_FC"; then
@@ -3839,7 +3835,7 @@
3839ac_ext=F3835ac_ext=F
3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&53836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
3841$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }3837$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
3842if ${ac_cv_fc_compiler_gnu+:} false; then :3838if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
3843 $as_echo_n "(cached) " >&63839 $as_echo_n "(cached) " >&6
3844else3840else
3845 cat > conftest.$ac_ext <<_ACEOF3841 cat > conftest.$ac_ext <<_ACEOF
@@ -3867,7 +3863,7 @@
3867FCFLAGS=3863FCFLAGS=
3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&53864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
3869$as_echo_n "checking whether $FC accepts -g... " >&6; }3865$as_echo_n "checking whether $FC accepts -g... " >&6; }
3870if ${ac_cv_prog_fc_g+:} false; then :3866if test "${ac_cv_prog_fc_g+set}" = set; then :
3871 $as_echo_n "(cached) " >&63867 $as_echo_n "(cached) " >&6
3872else3868else
3873 FCFLAGS=-g3869 FCFLAGS=-g
@@ -3915,7 +3911,7 @@
3915ac_compiler_gnu=$ac_cv_fc_compiler_gnu3911ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&53912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5
3917$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }3913$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
3918if ${ac_cv_prog_fc_v+:} false; then :3914if test "${ac_cv_prog_fc_v+set}" = set; then :
3919 $as_echo_n "(cached) " >&63915 $as_echo_n "(cached) " >&6
3920else3916else
3921 cat > conftest.$ac_ext <<_ACEOF3917 cat > conftest.$ac_ext <<_ACEOF
@@ -3945,8 +3941,7 @@
3945# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,3941# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
3946# LIBRARY_PATH; skip all such settings.3942# LIBRARY_PATH; skip all such settings.
3947ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |3943ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
3948 sed '/^Driving:/d; /^Configured with:/d;3944 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
3949 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
3950$as_echo "$ac_fc_v_output" >&53945$as_echo "$ac_fc_v_output" >&5
3951FCFLAGS=$ac_save_FCFLAGS3946FCFLAGS=$ac_save_FCFLAGS
39523947
@@ -4011,7 +4006,7 @@
4011$as_echo "$ac_cv_prog_fc_v" >&6; }4006$as_echo "$ac_cv_prog_fc_v" >&6; }
4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&54007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5
4013$as_echo_n "checking for Fortran libraries of $FC... " >&6; }4008$as_echo_n "checking for Fortran libraries of $FC... " >&6; }
4014if ${ac_cv_fc_libs+:} false; then :4009if test "${ac_cv_fc_libs+set}" = set; then :
4015 $as_echo_n "(cached) " >&64010 $as_echo_n "(cached) " >&6
4016else4011else
4017 if test "x$FCLIBS" != "x"; then4012 if test "x$FCLIBS" != "x"; then
@@ -4036,8 +4031,7 @@
4036# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,4031# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
4037# LIBRARY_PATH; skip all such settings.4032# LIBRARY_PATH; skip all such settings.
4038ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |4033ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
4039 sed '/^Driving:/d; /^Configured with:/d;4034 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
4040 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
4041$as_echo "$ac_fc_v_output" >&54035$as_echo "$ac_fc_v_output" >&5
4042FCFLAGS=$ac_save_FCFLAGS4036FCFLAGS=$ac_save_FCFLAGS
40434037
@@ -4289,7 +4283,7 @@
4289set dummy $ac_tool_prefix$ac_prog; ac_word=$24283set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4291$as_echo_n "checking for $ac_word... " >&6; }4285$as_echo_n "checking for $ac_word... " >&6; }
4292if ${ac_cv_prog_CC+:} false; then :4286if test "${ac_cv_prog_CC+set}" = set; then :
4293 $as_echo_n "(cached) " >&64287 $as_echo_n "(cached) " >&6
4294else4288else
4295 if test -n "$CC"; then4289 if test -n "$CC"; then
@@ -4333,7 +4327,7 @@
4333set dummy $ac_prog; ac_word=$24327set dummy $ac_prog; ac_word=$2
4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335$as_echo_n "checking for $ac_word... " >&6; }4329$as_echo_n "checking for $ac_word... " >&6; }
4336if ${ac_cv_prog_ac_ct_CC+:} false; then :4330if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4337 $as_echo_n "(cached) " >&64331 $as_echo_n "(cached) " >&6
4338else4332else
4339 if test -n "$ac_ct_CC"; then4333 if test -n "$ac_ct_CC"; then
@@ -4386,7 +4380,7 @@
4386test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&54380test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}4381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4388as_fn_error $? "no acceptable C compiler found in \$PATH4382as_fn_error $? "no acceptable C compiler found in \$PATH
4389See \`config.log' for more details" "$LINENO" 5; }4383See \`config.log' for more details" "$LINENO" 5 ; }
43904384
4391# Provide some information about the compiler.4385# Provide some information about the compiler.
4392$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&54386$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4415,7 +4409,7 @@
44154409
4416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&54410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4417$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }4411$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4418if ${ac_cv_c_compiler_gnu+:} false; then :4412if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4419 $as_echo_n "(cached) " >&64413 $as_echo_n "(cached) " >&6
4420else4414else
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4452,7 +4446,7 @@
4452ac_save_CFLAGS=$CFLAGS4446ac_save_CFLAGS=$CFLAGS
4453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&54447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4454$as_echo_n "checking whether $CC accepts -g... " >&6; }4448$as_echo_n "checking whether $CC accepts -g... " >&6; }
4455if ${ac_cv_prog_cc_g+:} false; then :4449if test "${ac_cv_prog_cc_g+set}" = set; then :
4456 $as_echo_n "(cached) " >&64450 $as_echo_n "(cached) " >&6
4457else4451else
4458 ac_save_c_werror_flag=$ac_c_werror_flag4452 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4530,7 +4524,7 @@
4530fi4524fi
4531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&54525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4532$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }4526$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4533if ${ac_cv_prog_cc_c89+:} false; then :4527if test "${ac_cv_prog_cc_c89+set}" = set; then :
4534 $as_echo_n "(cached) " >&64528 $as_echo_n "(cached) " >&6
4535else4529else
4536 ac_cv_prog_cc_c89=no4530 ac_cv_prog_cc_c89=no
@@ -4641,7 +4635,7 @@
4641set dummy $ac_tool_prefix$ac_prog; ac_word=$24635set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643$as_echo_n "checking for $ac_word... " >&6; }4637$as_echo_n "checking for $ac_word... " >&6; }
4644if ${ac_cv_prog_CXX+:} false; then :4638if test "${ac_cv_prog_CXX+set}" = set; then :
4645 $as_echo_n "(cached) " >&64639 $as_echo_n "(cached) " >&6
4646else4640else
4647 if test -n "$CXX"; then4641 if test -n "$CXX"; then
@@ -4685,7 +4679,7 @@
4685set dummy $ac_prog; ac_word=$24679set dummy $ac_prog; ac_word=$2
4686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687$as_echo_n "checking for $ac_word... " >&6; }4681$as_echo_n "checking for $ac_word... " >&6; }
4688if ${ac_cv_prog_ac_ct_CXX+:} false; then :4682if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4689 $as_echo_n "(cached) " >&64683 $as_echo_n "(cached) " >&6
4690else4684else
4691 if test -n "$ac_ct_CXX"; then4685 if test -n "$ac_ct_CXX"; then
@@ -4763,7 +4757,7 @@
47634757
4764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&54758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4765$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }4759$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4766if ${ac_cv_cxx_compiler_gnu+:} false; then :4760if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4767 $as_echo_n "(cached) " >&64761 $as_echo_n "(cached) " >&6
4768else4762else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4800,7 +4794,7 @@
4800ac_save_CXXFLAGS=$CXXFLAGS4794ac_save_CXXFLAGS=$CXXFLAGS
4801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&54795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4802$as_echo_n "checking whether $CXX accepts -g... " >&6; }4796$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4803if ${ac_cv_prog_cxx_g+:} false; then :4797if test "${ac_cv_prog_cxx_g+set}" = set; then :
4804 $as_echo_n "(cached) " >&64798 $as_echo_n "(cached) " >&6
4805else4799else
4806 ac_save_cxx_werror_flag=$ac_cxx_werror_flag4800 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
@@ -4894,7 +4888,7 @@
4894 CPP=4888 CPP=
4895fi4889fi
4896if test -z "$CPP"; then4890if test -z "$CPP"; then
4897 if ${ac_cv_prog_CPP+:} false; then :4891 if test "${ac_cv_prog_CPP+set}" = set; then :
4898 $as_echo_n "(cached) " >&64892 $as_echo_n "(cached) " >&6
4899else4893else
4900 # Double quotes because CPP needs to be expanded4894 # Double quotes because CPP needs to be expanded
@@ -5010,7 +5004,7 @@
5010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&55004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}5005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5012as_fn_error $? "C preprocessor \"$CPP\" fails sanity check5006as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5013See \`config.log' for more details" "$LINENO" 5; }5007See \`config.log' for more details" "$LINENO" 5 ; }
5014fi5008fi
50155009
5016ac_ext=c5010ac_ext=c
@@ -5025,7 +5019,7 @@
50255019
5026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&55020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5027$as_echo_n "checking for grep that handles long lines and -e... " >&6; }5021$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5028if ${ac_cv_path_GREP+:} false; then :5022if test "${ac_cv_path_GREP+set}" = set; then :
5029 $as_echo_n "(cached) " >&65023 $as_echo_n "(cached) " >&6
5030else5024else
5031 if test -z "$GREP"; then5025 if test -z "$GREP"; then
@@ -5088,7 +5082,7 @@
50885082
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&55083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5090$as_echo_n "checking for egrep... " >&6; }5084$as_echo_n "checking for egrep... " >&6; }
5091if ${ac_cv_path_EGREP+:} false; then :5085if test "${ac_cv_path_EGREP+set}" = set; then :
5092 $as_echo_n "(cached) " >&65086 $as_echo_n "(cached) " >&6
5093else5087else
5094 if echo a | $GREP -E '(a|b)' >/dev/null 2>&15088 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -5155,7 +5149,7 @@
51555149
5156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&55150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5157$as_echo_n "checking for ANSI C header files... " >&6; }5151$as_echo_n "checking for ANSI C header files... " >&6; }
5158if ${ac_cv_header_stdc+:} false; then :5152if test "${ac_cv_header_stdc+set}" = set; then :
5159 $as_echo_n "(cached) " >&65153 $as_echo_n "(cached) " >&6
5160else5154else
5161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5288,7 +5282,7 @@
5288# This bug is HP SR number 8606223364.5282# This bug is HP SR number 8606223364.
5289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&55283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
5290$as_echo_n "checking size of long int... " >&6; }5284$as_echo_n "checking size of long int... " >&6; }
5291if ${ac_cv_sizeof_long_int+:} false; then :5285if test "${ac_cv_sizeof_long_int+set}" = set; then :
5292 $as_echo_n "(cached) " >&65286 $as_echo_n "(cached) " >&6
5293else5287else
5294 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :5288 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
@@ -5298,7 +5292,7 @@
5298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&55292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}5293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5300as_fn_error 77 "cannot compute sizeof (long int)5294as_fn_error 77 "cannot compute sizeof (long int)
5301See \`config.log' for more details" "$LINENO" 5; }5295See \`config.log' for more details" "$LINENO" 5 ; }
5302 else5296 else
5303 ac_cv_sizeof_long_int=05297 ac_cv_sizeof_long_int=0
5304 fi5298 fi
@@ -5329,7 +5323,7 @@
5329ac_compiler_gnu=$ac_cv_f77_compiler_gnu5323ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&55324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
5331$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }5325$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
5332if ${ac_cv_prog_f77_v+:} false; then :5326if test "${ac_cv_prog_f77_v+set}" = set; then :
5333 $as_echo_n "(cached) " >&65327 $as_echo_n "(cached) " >&6
5334else5328else
5335 cat > conftest.$ac_ext <<_ACEOF5329 cat > conftest.$ac_ext <<_ACEOF
@@ -5359,8 +5353,7 @@
5359# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,5353# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
5360# LIBRARY_PATH; skip all such settings.5354# LIBRARY_PATH; skip all such settings.
5361ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |5355ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
5362 sed '/^Driving:/d; /^Configured with:/d;5356 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
5363 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
5364$as_echo "$ac_f77_v_output" >&55357$as_echo "$ac_f77_v_output" >&5
5365FFLAGS=$ac_save_FFLAGS5358FFLAGS=$ac_save_FFLAGS
53665359
@@ -5425,7 +5418,7 @@
5425$as_echo "$ac_cv_prog_f77_v" >&6; }5418$as_echo "$ac_cv_prog_f77_v" >&6; }
5426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&55419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
5427$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }5420$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
5428if ${ac_cv_f77_libs+:} false; then :5421if test "${ac_cv_f77_libs+set}" = set; then :
5429 $as_echo_n "(cached) " >&65422 $as_echo_n "(cached) " >&6
5430else5423else
5431 if test "x$FLIBS" != "x"; then5424 if test "x$FLIBS" != "x"; then
@@ -5450,8 +5443,7 @@
5450# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,5443# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
5451# LIBRARY_PATH; skip all such settings.5444# LIBRARY_PATH; skip all such settings.
5452ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |5445ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
5453 sed '/^Driving:/d; /^Configured with:/d;5446 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
5454 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
5455$as_echo "$ac_f77_v_output" >&55447$as_echo "$ac_f77_v_output" >&5
5456FFLAGS=$ac_save_FFLAGS5448FFLAGS=$ac_save_FFLAGS
54575449
@@ -5638,7 +5630,7 @@
5638ac_compiler_gnu=$ac_cv_fc_compiler_gnu5630ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&55631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5
5640$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }5632$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
5641if ${ac_cv_prog_fc_v+:} false; then :5633if test "${ac_cv_prog_fc_v+set}" = set; then :
5642 $as_echo_n "(cached) " >&65634 $as_echo_n "(cached) " >&6
5643else5635else
5644 cat > conftest.$ac_ext <<_ACEOF5636 cat > conftest.$ac_ext <<_ACEOF
@@ -5668,8 +5660,7 @@
5668# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,5660# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
5669# LIBRARY_PATH; skip all such settings.5661# LIBRARY_PATH; skip all such settings.
5670ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |5662ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
5671 sed '/^Driving:/d; /^Configured with:/d;5663 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
5672 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
5673$as_echo "$ac_fc_v_output" >&55664$as_echo "$ac_fc_v_output" >&5
5674FCFLAGS=$ac_save_FCFLAGS5665FCFLAGS=$ac_save_FCFLAGS
56755666
@@ -5734,7 +5725,7 @@
5734$as_echo "$ac_cv_prog_fc_v" >&6; }5725$as_echo "$ac_cv_prog_fc_v" >&6; }
5735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&55726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5
5736$as_echo_n "checking for Fortran libraries of $FC... " >&6; }5727$as_echo_n "checking for Fortran libraries of $FC... " >&6; }
5737if ${ac_cv_fc_libs+:} false; then :5728if test "${ac_cv_fc_libs+set}" = set; then :
5738 $as_echo_n "(cached) " >&65729 $as_echo_n "(cached) " >&6
5739else5730else
5740 if test "x$FCLIBS" != "x"; then5731 if test "x$FCLIBS" != "x"; then
@@ -5759,8 +5750,7 @@
5759# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,5750# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
5760# LIBRARY_PATH; skip all such settings.5751# LIBRARY_PATH; skip all such settings.
5761ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |5752ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
5762 sed '/^Driving:/d; /^Configured with:/d;5753 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
5763 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
5764$as_echo "$ac_fc_v_output" >&55754$as_echo "$ac_fc_v_output" >&5
5765FCFLAGS=$ac_save_FCFLAGS5755FCFLAGS=$ac_save_FCFLAGS
57665756
@@ -5949,7 +5939,7 @@
59495939
5950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&55940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&5
5951$as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }5941$as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }
5952if ${ac_cv_f77_dummy_main+:} false; then :5942if test "${ac_cv_f77_dummy_main+set}" = set; then :
5953 $as_echo_n "(cached) " >&65943 $as_echo_n "(cached) " >&6
5954else5944else
5955 ac_f77_dm_save_LIBS=$LIBS5945 ac_f77_dm_save_LIBS=$LIBS
@@ -6046,7 +6036,7 @@
6046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&56036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}6037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6048as_fn_error $? "linking to Fortran libraries from C fails6038as_fn_error $? "linking to Fortran libraries from C fails
6049See \`config.log' for more details" "$LINENO" 5; }6039See \`config.log' for more details" "$LINENO" 5 ; }
6050fi6040fi
60516041
6052ac_ext=c6042ac_ext=c
@@ -6061,7 +6051,7 @@
6061ac_compiler_gnu=$ac_cv_f77_compiler_gnu6051ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&56052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&5
6063$as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }6053$as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }
6064if ${ac_cv_f77_mangling+:} false; then :6054if test "${ac_cv_f77_mangling+set}" = set; then :
6065 $as_echo_n "(cached) " >&66055 $as_echo_n "(cached) " >&6
6066else6056else
6067 cat > conftest.$ac_ext <<_ACEOF6057 cat > conftest.$ac_ext <<_ACEOF
@@ -6208,7 +6198,7 @@
6208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&56198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}6199$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6210as_fn_error $? "cannot compile a simple Fortran program6200as_fn_error $? "cannot compile a simple Fortran program
6211See \`config.log' for more details" "$LINENO" 5; }6201See \`config.log' for more details" "$LINENO" 5 ; }
6212fi6202fi
6213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext6203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62146204
@@ -6357,7 +6347,7 @@
6357set dummy python$PYTHON_VERSION; ac_word=$26347set dummy python$PYTHON_VERSION; ac_word=$2
6358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359$as_echo_n "checking for $ac_word... " >&6; }6349$as_echo_n "checking for $ac_word... " >&6; }
6360if ${ac_cv_path_PYTHON+:} false; then :6350if test "${ac_cv_path_PYTHON+set}" = set; then :
6361 $as_echo_n "(cached) " >&66351 $as_echo_n "(cached) " >&6
6362else6352else
6363 case $PYTHON in6353 case $PYTHON in
@@ -6421,7 +6411,7 @@
6421Moreover, to disable this check, set PYTHON_NOVERSIONCHECK6411Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
6422to something else than an empty string.6412to something else than an empty string.
64236413
6424See \`config.log' for more details" "$LINENO" 5; }6414See \`config.log' for more details" "$LINENO" 5 ; }
6425 else6415 else
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&56416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5
6427$as_echo "skip at user request" >&6; }6417$as_echo "skip at user request" >&6; }
@@ -6692,7 +6682,7 @@
6692 for your distribution. The exact name of this package varies among them.6682 for your distribution. The exact name of this package varies among them.
6693 ============================================================================6683 ============================================================================
66946684
6695See \`config.log' for more details" "$LINENO" 5; }6685See \`config.log' for more details" "$LINENO" 5 ; }
6696 PYTHON_VERSION=""6686 PYTHON_VERSION=""
6697 fi6687 fi
66986688
@@ -6741,7 +6731,7 @@
6741if test "$enable_cgal" = "yes" ; then6731if test "$enable_cgal" = "yes" ; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lCGAL" >&56732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lCGAL" >&5
6743$as_echo_n "checking for cos in -lCGAL... " >&6; }6733$as_echo_n "checking for cos in -lCGAL... " >&6; }
6744if ${ac_cv_lib_CGAL_cos+:} false; then :6734if test "${ac_cv_lib_CGAL_cos+set}" = set; then :
6745 $as_echo_n "(cached) " >&66735 $as_echo_n "(cached) " >&6
6746else6736else
6747 ac_check_lib_save_LIBS=$LIBS6737 ac_check_lib_save_LIBS=$LIBS
@@ -6783,7 +6773,7 @@
6783fi6773fi
6784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CGAL_cos" >&56774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CGAL_cos" >&5
6785$as_echo "$ac_cv_lib_CGAL_cos" >&6; }6775$as_echo "$ac_cv_lib_CGAL_cos" >&6; }
6786if test "x$ac_cv_lib_CGAL_cos" = xyes; then :6776if test "x$ac_cv_lib_CGAL_cos" = x""yes; then :
6787 HAVE_CGAL=yes6777 HAVE_CGAL=yes
6788else6778else
6789 HAVE_CGAL=no6779 HAVE_CGAL=no
@@ -6831,7 +6821,7 @@
68316821
6832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran libraries" >&56822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran libraries" >&5
6833$as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; }6823$as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; }
6834if ${ac_cv_fc_dummy_main+:} false; then :6824if test "${ac_cv_fc_dummy_main+set}" = set; then :
6835 $as_echo_n "(cached) " >&66825 $as_echo_n "(cached) " >&6
6836else6826else
6837 ac_fc_dm_save_LIBS=$LIBS6827 ac_fc_dm_save_LIBS=$LIBS
@@ -6944,7 +6934,7 @@
6944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&56934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6945$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}6935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6946as_fn_error $? "linking to Fortran libraries from C fails6936as_fn_error $? "linking to Fortran libraries from C fails
6947See \`config.log' for more details" "$LINENO" 5; }6937See \`config.log' for more details" "$LINENO" 5 ; }
6948fi6938fi
69496939
6950ac_ext=c6940ac_ext=c
@@ -6959,7 +6949,7 @@
6959ac_compiler_gnu=$ac_cv_fc_compiler_gnu6949ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran name-mangling scheme" >&56950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran name-mangling scheme" >&5
6961$as_echo_n "checking for Fortran name-mangling scheme... " >&6; }6951$as_echo_n "checking for Fortran name-mangling scheme... " >&6; }
6962if ${ac_cv_fc_mangling+:} false; then :6952if test "${ac_cv_fc_mangling+set}" = set; then :
6963 $as_echo_n "(cached) " >&66953 $as_echo_n "(cached) " >&6
6964else6954else
6965 cat > conftest.$ac_ext <<_ACEOF6955 cat > conftest.$ac_ext <<_ACEOF
@@ -7122,7 +7112,7 @@
7122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}7113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7124as_fn_error $? "cannot compile a simple Fortran program7114as_fn_error $? "cannot compile a simple Fortran program
7125See \`config.log' for more details" "$LINENO" 5; }7115See \`config.log' for more details" "$LINENO" 5 ; }
7126fi7116fi
7127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext7117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71287118
@@ -7360,7 +7350,7 @@
7360 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`7350 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`
7361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&57351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&5
7362$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }7352$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }
7363if eval \${$as_ac_Lib+:} false; then :7353if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7364 $as_echo_n "(cached) " >&67354 $as_echo_n "(cached) " >&6
7365else7355else
7366 ac_check_lib_save_LIBS=$LIBS7356 ac_check_lib_save_LIBS=$LIBS
@@ -7420,7 +7410,7 @@
7420 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_ipf_$sgemm" | $as_tr_sh`7410 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_ipf_$sgemm" | $as_tr_sh`
7421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_ipf" >&57411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_ipf" >&5
7422$as_echo_n "checking for $sgemm in -lmkl_ipf... " >&6; }7412$as_echo_n "checking for $sgemm in -lmkl_ipf... " >&6; }
7423if eval \${$as_ac_Lib+:} false; then :7413if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7424 $as_echo_n "(cached) " >&67414 $as_echo_n "(cached) " >&6
7425else7415else
7426 ac_check_lib_save_LIBS=$LIBS7416 ac_check_lib_save_LIBS=$LIBS
@@ -7480,7 +7470,7 @@
7480 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_em64t_$sgemm" | $as_tr_sh`7470 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_em64t_$sgemm" | $as_tr_sh`
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_em64t" >&57471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_em64t" >&5
7482$as_echo_n "checking for $sgemm in -lmkl_em64t... " >&6; }7472$as_echo_n "checking for $sgemm in -lmkl_em64t... " >&6; }
7483if eval \${$as_ac_Lib+:} false; then :7473if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7484 $as_echo_n "(cached) " >&67474 $as_echo_n "(cached) " >&6
7485else7475else
7486 ac_check_lib_save_LIBS=$LIBS7476 ac_check_lib_save_LIBS=$LIBS
@@ -7543,7 +7533,7 @@
7543 unset ac_cv_lib_mkl_def_sgemm7533 unset ac_cv_lib_mkl_def_sgemm
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lsame in -lmkl_lapack" >&57534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lsame in -lmkl_lapack" >&5
7545$as_echo_n "checking for lsame in -lmkl_lapack... " >&6; }7535$as_echo_n "checking for lsame in -lmkl_lapack... " >&6; }
7546if ${ac_cv_lib_mkl_lapack_lsame+:} false; then :7536if test "${ac_cv_lib_mkl_lapack_lsame+set}" = set; then :
7547 $as_echo_n "(cached) " >&67537 $as_echo_n "(cached) " >&6
7548else7538else
7549 ac_check_lib_save_LIBS=$LIBS7539 ac_check_lib_save_LIBS=$LIBS
@@ -7593,13 +7583,13 @@
7593fi7583fi
7594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mkl_lapack_lsame" >&57584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mkl_lapack_lsame" >&5
7595$as_echo "$ac_cv_lib_mkl_lapack_lsame" >&6; }7585$as_echo "$ac_cv_lib_mkl_lapack_lsame" >&6; }
7596if test "x$ac_cv_lib_mkl_lapack_lsame" = xyes; then :7586if test "x$ac_cv_lib_mkl_lapack_lsame" = x""yes; then :
75977587
7598 acx_lapack_ok=yes;7588 acx_lapack_ok=yes;
7599 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`7589 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`
7600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&57590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&5
7601$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }7591$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }
7602if eval \${$as_ac_Lib+:} false; then :7592if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7603 $as_echo_n "(cached) " >&67593 $as_echo_n "(cached) " >&6
7604else7594else
7605 ac_check_lib_save_LIBS=$LIBS7595 ac_check_lib_save_LIBS=$LIBS
@@ -7668,7 +7658,7 @@
7668 as_ac_Lib=`$as_echo "ac_cv_lib_acml_$sgemm" | $as_tr_sh`7658 as_ac_Lib=`$as_echo "ac_cv_lib_acml_$sgemm" | $as_tr_sh`
7669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lacml" >&57659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lacml" >&5
7670$as_echo_n "checking for $sgemm in -lacml... " >&6; }7660$as_echo_n "checking for $sgemm in -lacml... " >&6; }
7671if eval \${$as_ac_Lib+:} false; then :7661if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7672 $as_echo_n "(cached) " >&67662 $as_echo_n "(cached) " >&6
7673else7663else
7674 ac_check_lib_save_LIBS=$LIBS7664 ac_check_lib_save_LIBS=$LIBS
@@ -7730,7 +7720,7 @@
7730 as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`7720 as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`
7731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&57721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&5
7732$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }7722$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }
7733if eval \${$as_ac_Lib+:} false; then :7723if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7734 $as_echo_n "(cached) " >&67724 $as_echo_n "(cached) " >&6
7735else7725else
7736 ac_check_lib_save_LIBS=$LIBS7726 ac_check_lib_save_LIBS=$LIBS
@@ -7792,7 +7782,7 @@
7792 as_ac_Lib=`$as_echo "ac_cv_lib_veclib_$sgemm" | $as_tr_sh`7782 as_ac_Lib=`$as_echo "ac_cv_lib_veclib_$sgemm" | $as_tr_sh`
7793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lveclib" >&57783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lveclib" >&5
7794$as_echo_n "checking for $sgemm in -lveclib... " >&6; }7784$as_echo_n "checking for $sgemm in -lveclib... " >&6; }
7795if eval \${$as_ac_Lib+:} false; then :7785if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7796 $as_echo_n "(cached) " >&67786 $as_echo_n "(cached) " >&6
7797else7787else
7798 ac_check_lib_save_LIBS=$LIBS7788 ac_check_lib_save_LIBS=$LIBS
@@ -7856,7 +7846,7 @@
7856 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`7846 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
7857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&57847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
7858$as_echo_n "checking for $sgemm in -lblas... " >&6; }7848$as_echo_n "checking for $sgemm in -lblas... " >&6; }
7859if eval \${$as_ac_Lib+:} false; then :7849if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7860 $as_echo_n "(cached) " >&67850 $as_echo_n "(cached) " >&6
7861else7851else
7862 ac_check_lib_save_LIBS=$LIBS7852 ac_check_lib_save_LIBS=$LIBS
@@ -7910,7 +7900,7 @@
7910if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :7900if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgemm in -ldgemm" >&57901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgemm in -ldgemm" >&5
7912$as_echo_n "checking for dgemm in -ldgemm... " >&6; }7902$as_echo_n "checking for dgemm in -ldgemm... " >&6; }
7913if ${ac_cv_lib_dgemm_dgemm+:} false; then :7903if test "${ac_cv_lib_dgemm_dgemm+set}" = set; then :
7914 $as_echo_n "(cached) " >&67904 $as_echo_n "(cached) " >&6
7915else7905else
7916 ac_check_lib_save_LIBS=$LIBS7906 ac_check_lib_save_LIBS=$LIBS
@@ -7960,11 +7950,11 @@
7960fi7950fi
7961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgemm_dgemm" >&57951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgemm_dgemm" >&5
7962$as_echo "$ac_cv_lib_dgemm_dgemm" >&6; }7952$as_echo "$ac_cv_lib_dgemm_dgemm" >&6; }
7963if test "x$ac_cv_lib_dgemm_dgemm" = xyes; then :7953if test "x$ac_cv_lib_dgemm_dgemm" = x""yes; then :
7964 as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`7954 as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`
7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&57955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&5
7966$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }7956$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }
7967if eval \${$as_ac_Lib+:} false; then :7957if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7968 $as_echo_n "(cached) " >&67958 $as_echo_n "(cached) " >&6
7969else7959else
7970 ac_check_lib_save_LIBS=$LIBS7960 ac_check_lib_save_LIBS=$LIBS
@@ -8033,7 +8023,7 @@
8033 as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`8023 as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`
8034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&58024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&5
8035$as_echo_n "checking for $sgemm in -lcxml... " >&6; }8025$as_echo_n "checking for $sgemm in -lcxml... " >&6; }
8036if eval \${$as_ac_Lib+:} false; then :8026if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8037 $as_echo_n "(cached) " >&68027 $as_echo_n "(cached) " >&6
8038else8028else
8039 ac_check_lib_save_LIBS=$LIBS8029 ac_check_lib_save_LIBS=$LIBS
@@ -8095,7 +8085,7 @@
8095 as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`8085 as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`
8096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&58086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&5
8097$as_echo_n "checking for $sgemm in -ldxml... " >&6; }8087$as_echo_n "checking for $sgemm in -ldxml... " >&6; }
8098if eval \${$as_ac_Lib+:} false; then :8088if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8099 $as_echo_n "(cached) " >&68089 $as_echo_n "(cached) " >&6
8100else8090else
8101 ac_check_lib_save_LIBS=$LIBS8091 ac_check_lib_save_LIBS=$LIBS
@@ -8157,7 +8147,7 @@
8157 if test "x$GCC" != xyes; then # only works with Sun CC8147 if test "x$GCC" != xyes; then # only works with Sun CC
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&58148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
8159$as_echo_n "checking for acosp in -lsunmath... " >&6; }8149$as_echo_n "checking for acosp in -lsunmath... " >&6; }
8160if ${ac_cv_lib_sunmath_acosp+:} false; then :8150if test "${ac_cv_lib_sunmath_acosp+set}" = set; then :
8161 $as_echo_n "(cached) " >&68151 $as_echo_n "(cached) " >&6
8162else8152else
8163 ac_check_lib_save_LIBS=$LIBS8153 ac_check_lib_save_LIBS=$LIBS
@@ -8207,11 +8197,11 @@
8207fi8197fi
8208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&58198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
8209$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }8199$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
8210if test "x$ac_cv_lib_sunmath_acosp" = xyes; then :8200if test "x$ac_cv_lib_sunmath_acosp" = x""yes; then :
8211 as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`8201 as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`
8212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&58202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&5
8213$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }8203$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }
8214if eval \${$as_ac_Lib+:} false; then :8204if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8215 $as_echo_n "(cached) " >&68205 $as_echo_n "(cached) " >&6
8216else8206else
8217 ac_check_lib_save_LIBS=$LIBS8207 ac_check_lib_save_LIBS=$LIBS
@@ -8278,7 +8268,7 @@
8278 as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`8268 as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`
8279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&58269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&5
8280$as_echo_n "checking for $sgemm in -lscs... " >&6; }8270$as_echo_n "checking for $sgemm in -lscs... " >&6; }
8281if eval \${$as_ac_Lib+:} false; then :8271if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8282 $as_echo_n "(cached) " >&68272 $as_echo_n "(cached) " >&6
8283else8273else
8284 ac_check_lib_save_LIBS=$LIBS8274 ac_check_lib_save_LIBS=$LIBS
@@ -8340,7 +8330,7 @@
8340 as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`8330 as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`
8341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&58331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&5
8342$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }8332$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }
8343if eval \${$as_ac_Lib+:} false; then :8333if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8344 $as_echo_n "(cached) " >&68334 $as_echo_n "(cached) " >&6
8345else8335else
8346 ac_check_lib_save_LIBS=$LIBS8336 ac_check_lib_save_LIBS=$LIBS
@@ -8405,7 +8395,7 @@
8405 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`8395 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
8406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&58396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
8407$as_echo_n "checking for $sgemm in -lblas... " >&6; }8397$as_echo_n "checking for $sgemm in -lblas... " >&6; }
8408if eval \${$as_ac_Lib+:} false; then :8398if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8409 $as_echo_n "(cached) " >&68399 $as_echo_n "(cached) " >&6
8410else8400else
8411 ac_check_lib_save_LIBS=$LIBS8401 ac_check_lib_save_LIBS=$LIBS
@@ -8460,7 +8450,7 @@
8460 as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`8450 as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`
8461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&58451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&5
8462$as_echo_n "checking for $sgemm in -lessl... " >&6; }8452$as_echo_n "checking for $sgemm in -lessl... " >&6; }
8463if eval \${$as_ac_Lib+:} false; then :8453if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8464 $as_echo_n "(cached) " >&68454 $as_echo_n "(cached) " >&6
8465else8455else
8466 ac_check_lib_save_LIBS=$LIBS8456 ac_check_lib_save_LIBS=$LIBS
@@ -8528,7 +8518,7 @@
8528 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`8518 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
8529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&58519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
8530$as_echo_n "checking for $sgemm in -lblas... " >&6; }8520$as_echo_n "checking for $sgemm in -lblas... " >&6; }
8531if eval \${$as_ac_Lib+:} false; then :8521if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8532 $as_echo_n "(cached) " >&68522 $as_echo_n "(cached) " >&6
8533else8523else
8534 ac_check_lib_save_LIBS=$LIBS8524 ac_check_lib_save_LIBS=$LIBS
@@ -8591,7 +8581,7 @@
8591 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`8581 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
8592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&58582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
8593$as_echo_n "checking for $sgemm in -lblas... " >&6; }8583$as_echo_n "checking for $sgemm in -lblas... " >&6; }
8594if eval \${$as_ac_Lib+:} false; then :8584if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8595 $as_echo_n "(cached) " >&68585 $as_echo_n "(cached) " >&6
8596else8586else
8597 ac_check_lib_save_LIBS=$LIBS8587 ac_check_lib_save_LIBS=$LIBS
@@ -8719,7 +8709,7 @@
8719$as_echo "$as_me: Appear to be using Portland Group compiler suite. Check if ACML is also available." >&6;}8709$as_echo "$as_me: Appear to be using Portland Group compiler suite. Check if ACML is also available." >&6;}
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgesv in -lacml" >&58710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgesv in -lacml" >&5
8721$as_echo_n "checking for dgesv in -lacml... " >&6; }8711$as_echo_n "checking for dgesv in -lacml... " >&6; }
8722if ${ac_cv_lib_acml_dgesv+:} false; then :8712if test "${ac_cv_lib_acml_dgesv+set}" = set; then :
8723 $as_echo_n "(cached) " >&68713 $as_echo_n "(cached) " >&6
8724else8714else
8725 ac_check_lib_save_LIBS=$LIBS8715 ac_check_lib_save_LIBS=$LIBS
@@ -8769,7 +8759,7 @@
8769fi8759fi
8770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acml_dgesv" >&58760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acml_dgesv" >&5
8771$as_echo "$ac_cv_lib_acml_dgesv" >&6; }8761$as_echo "$ac_cv_lib_acml_dgesv" >&6; }
8772if test "x$ac_cv_lib_acml_dgesv" = xyes; then :8762if test "x$ac_cv_lib_acml_dgesv" = x""yes; then :
8773 found_blas=yes8763 found_blas=yes
8774else8764else
8775 found_blas=no8765 found_blas=no
@@ -8783,7 +8773,7 @@
8783$as_echo "$as_me: Appear to be using Sun Studio compiler suite. Check if Sun Performance Library is also available." >&6;}8773$as_echo "$as_me: Appear to be using Sun Studio compiler suite. Check if Sun Performance Library is also available." >&6;}
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgesv in -lsunperf" >&58774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgesv in -lsunperf" >&5
8785$as_echo_n "checking for dgesv in -lsunperf... " >&6; }8775$as_echo_n "checking for dgesv in -lsunperf... " >&6; }
8786if ${ac_cv_lib_sunperf_dgesv+:} false; then :8776if test "${ac_cv_lib_sunperf_dgesv+set}" = set; then :
8787 $as_echo_n "(cached) " >&68777 $as_echo_n "(cached) " >&6
8788else8778else
8789 ac_check_lib_save_LIBS=$LIBS8779 ac_check_lib_save_LIBS=$LIBS
@@ -8833,7 +8823,7 @@
8833fi8823fi
8834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunperf_dgesv" >&58824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunperf_dgesv" >&5
8835$as_echo "$ac_cv_lib_sunperf_dgesv" >&6; }8825$as_echo "$ac_cv_lib_sunperf_dgesv" >&6; }
8836if test "x$ac_cv_lib_sunperf_dgesv" = xyes; then :8826if test "x$ac_cv_lib_sunperf_dgesv" = x""yes; then :
8837 found_blas=yes ; acx_blas_ok=yes8827 found_blas=yes ; acx_blas_ok=yes
8838else8828else
8839 found_blas=no8829 found_blas=no
@@ -8992,7 +8982,7 @@
8992 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`8982 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`
8993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&58983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&5
8994$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }8984$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }
8995if eval \${$as_ac_Lib+:} false; then :8985if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
8996 $as_echo_n "(cached) " >&68986 $as_echo_n "(cached) " >&6
8997else8987else
8998 ac_check_lib_save_LIBS=$LIBS8988 ac_check_lib_save_LIBS=$LIBS
@@ -9023,7 +9013,7 @@
9023 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_ipf_$sgemm" | $as_tr_sh`9013 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_ipf_$sgemm" | $as_tr_sh`
9024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_ipf" >&59014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_ipf" >&5
9025$as_echo_n "checking for $sgemm in -lmkl_ipf... " >&6; }9015$as_echo_n "checking for $sgemm in -lmkl_ipf... " >&6; }
9026if eval \${$as_ac_Lib+:} false; then :9016if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9027 $as_echo_n "(cached) " >&69017 $as_echo_n "(cached) " >&6
9028else9018else
9029 ac_check_lib_save_LIBS=$LIBS9019 ac_check_lib_save_LIBS=$LIBS
@@ -9054,7 +9044,7 @@
9054 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_em64t_$sgemm" | $as_tr_sh`9044 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_em64t_$sgemm" | $as_tr_sh`
9055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_em64t" >&59045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_em64t" >&5
9056$as_echo_n "checking for $sgemm in -lmkl_em64t... " >&6; }9046$as_echo_n "checking for $sgemm in -lmkl_em64t... " >&6; }
9057if eval \${$as_ac_Lib+:} false; then :9047if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9058 $as_echo_n "(cached) " >&69048 $as_echo_n "(cached) " >&6
9059else9049else
9060 ac_check_lib_save_LIBS=$LIBS9050 ac_check_lib_save_LIBS=$LIBS
@@ -9088,7 +9078,7 @@
9088 unset ac_cv_lib_mkl_def_sgemm9078 unset ac_cv_lib_mkl_def_sgemm
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lsame in -lmkl_lapack" >&59079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lsame in -lmkl_lapack" >&5
9090$as_echo_n "checking for lsame in -lmkl_lapack... " >&6; }9080$as_echo_n "checking for lsame in -lmkl_lapack... " >&6; }
9091if ${ac_cv_lib_mkl_lapack_lsame+:} false; then :9081if test "${ac_cv_lib_mkl_lapack_lsame+set}" = set; then :
9092 $as_echo_n "(cached) " >&69082 $as_echo_n "(cached) " >&6
9093else9083else
9094 ac_check_lib_save_LIBS=$LIBS9084 ac_check_lib_save_LIBS=$LIBS
@@ -9109,13 +9099,13 @@
9109fi9099fi
9110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mkl_lapack_lsame" >&59100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mkl_lapack_lsame" >&5
9111$as_echo "$ac_cv_lib_mkl_lapack_lsame" >&6; }9101$as_echo "$ac_cv_lib_mkl_lapack_lsame" >&6; }
9112if test "x$ac_cv_lib_mkl_lapack_lsame" = xyes; then :9102if test "x$ac_cv_lib_mkl_lapack_lsame" = x""yes; then :
91139103
9114 acx_lapack_ok=yes;9104 acx_lapack_ok=yes;
9115 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`9105 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_def_$sgemm" | $as_tr_sh`
9116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&59106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl_def" >&5
9117$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }9107$as_echo_n "checking for $sgemm in -lmkl_def... " >&6; }
9118if eval \${$as_ac_Lib+:} false; then :9108if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9119 $as_echo_n "(cached) " >&69109 $as_echo_n "(cached) " >&6
9120else9110else
9121 ac_check_lib_save_LIBS=$LIBS9111 ac_check_lib_save_LIBS=$LIBS
@@ -9155,7 +9145,7 @@
9155 as_ac_Lib=`$as_echo "ac_cv_lib_acml_$sgemm" | $as_tr_sh`9145 as_ac_Lib=`$as_echo "ac_cv_lib_acml_$sgemm" | $as_tr_sh`
9156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lacml" >&59146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lacml" >&5
9157$as_echo_n "checking for $sgemm in -lacml... " >&6; }9147$as_echo_n "checking for $sgemm in -lacml... " >&6; }
9158if eval \${$as_ac_Lib+:} false; then :9148if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9159 $as_echo_n "(cached) " >&69149 $as_echo_n "(cached) " >&6
9160else9150else
9161 ac_check_lib_save_LIBS=$LIBS9151 ac_check_lib_save_LIBS=$LIBS
@@ -9188,7 +9178,7 @@
9188 as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`9178 as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`
9189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&59179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&5
9190$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }9180$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }
9191if eval \${$as_ac_Lib+:} false; then :9181if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9192 $as_echo_n "(cached) " >&69182 $as_echo_n "(cached) " >&6
9193else9183else
9194 ac_check_lib_save_LIBS=$LIBS9184 ac_check_lib_save_LIBS=$LIBS
@@ -9221,7 +9211,7 @@
9221 as_ac_Lib=`$as_echo "ac_cv_lib_veclib_$sgemm" | $as_tr_sh`9211 as_ac_Lib=`$as_echo "ac_cv_lib_veclib_$sgemm" | $as_tr_sh`
9222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lveclib" >&59212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lveclib" >&5
9223$as_echo_n "checking for $sgemm in -lveclib... " >&6; }9213$as_echo_n "checking for $sgemm in -lveclib... " >&6; }
9224if eval \${$as_ac_Lib+:} false; then :9214if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9225 $as_echo_n "(cached) " >&69215 $as_echo_n "(cached) " >&6
9226else9216else
9227 ac_check_lib_save_LIBS=$LIBS9217 ac_check_lib_save_LIBS=$LIBS
@@ -9256,7 +9246,7 @@
9256 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`9246 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
9257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&59247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
9258$as_echo_n "checking for $sgemm in -lblas... " >&6; }9248$as_echo_n "checking for $sgemm in -lblas... " >&6; }
9259if eval \${$as_ac_Lib+:} false; then :9249if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9260 $as_echo_n "(cached) " >&69250 $as_echo_n "(cached) " >&6
9261else9251else
9262 ac_check_lib_save_LIBS=$LIBS9252 ac_check_lib_save_LIBS=$LIBS
@@ -9281,7 +9271,7 @@
9281if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :9271if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgemm in -ldgemm" >&59272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgemm in -ldgemm" >&5
9283$as_echo_n "checking for dgemm in -ldgemm... " >&6; }9273$as_echo_n "checking for dgemm in -ldgemm... " >&6; }
9284if ${ac_cv_lib_dgemm_dgemm+:} false; then :9274if test "${ac_cv_lib_dgemm_dgemm+set}" = set; then :
9285 $as_echo_n "(cached) " >&69275 $as_echo_n "(cached) " >&6
9286else9276else
9287 ac_check_lib_save_LIBS=$LIBS9277 ac_check_lib_save_LIBS=$LIBS
@@ -9302,11 +9292,11 @@
9302fi9292fi
9303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgemm_dgemm" >&59293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgemm_dgemm" >&5
9304$as_echo "$ac_cv_lib_dgemm_dgemm" >&6; }9294$as_echo "$ac_cv_lib_dgemm_dgemm" >&6; }
9305if test "x$ac_cv_lib_dgemm_dgemm" = xyes; then :9295if test "x$ac_cv_lib_dgemm_dgemm" = x""yes; then :
9306 as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`9296 as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`
9307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&59297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&5
9308$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }9298$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }
9309if eval \${$as_ac_Lib+:} false; then :9299if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9310 $as_echo_n "(cached) " >&69300 $as_echo_n "(cached) " >&6
9311else9301else
9312 ac_check_lib_save_LIBS=$LIBS9302 ac_check_lib_save_LIBS=$LIBS
@@ -9346,7 +9336,7 @@
9346 as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`9336 as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`
9347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&59337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&5
9348$as_echo_n "checking for $sgemm in -lcxml... " >&6; }9338$as_echo_n "checking for $sgemm in -lcxml... " >&6; }
9349if eval \${$as_ac_Lib+:} false; then :9339if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9350 $as_echo_n "(cached) " >&69340 $as_echo_n "(cached) " >&6
9351else9341else
9352 ac_check_lib_save_LIBS=$LIBS9342 ac_check_lib_save_LIBS=$LIBS
@@ -9379,7 +9369,7 @@
9379 as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`9369 as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`
9380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&59370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&5
9381$as_echo_n "checking for $sgemm in -ldxml... " >&6; }9371$as_echo_n "checking for $sgemm in -ldxml... " >&6; }
9382if eval \${$as_ac_Lib+:} false; then :9372if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9383 $as_echo_n "(cached) " >&69373 $as_echo_n "(cached) " >&6
9384else9374else
9385 ac_check_lib_save_LIBS=$LIBS9375 ac_check_lib_save_LIBS=$LIBS
@@ -9412,7 +9402,7 @@
9412 if test "x$GCC" != xyes; then # only works with Sun CC9402 if test "x$GCC" != xyes; then # only works with Sun CC
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&59403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
9414$as_echo_n "checking for acosp in -lsunmath... " >&6; }9404$as_echo_n "checking for acosp in -lsunmath... " >&6; }
9415if ${ac_cv_lib_sunmath_acosp+:} false; then :9405if test "${ac_cv_lib_sunmath_acosp+set}" = set; then :
9416 $as_echo_n "(cached) " >&69406 $as_echo_n "(cached) " >&6
9417else9407else
9418 ac_check_lib_save_LIBS=$LIBS9408 ac_check_lib_save_LIBS=$LIBS
@@ -9433,11 +9423,11 @@
9433fi9423fi
9434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&59424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
9435$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }9425$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
9436if test "x$ac_cv_lib_sunmath_acosp" = xyes; then :9426if test "x$ac_cv_lib_sunmath_acosp" = x""yes; then :
9437 as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`9427 as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`
9438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&59428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&5
9439$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }9429$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }
9440if eval \${$as_ac_Lib+:} false; then :9430if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9441 $as_echo_n "(cached) " >&69431 $as_echo_n "(cached) " >&6
9442else9432else
9443 ac_check_lib_save_LIBS=$LIBS9433 ac_check_lib_save_LIBS=$LIBS
@@ -9475,7 +9465,7 @@
9475 as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`9465 as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`
9476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&59466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&5
9477$as_echo_n "checking for $sgemm in -lscs... " >&6; }9467$as_echo_n "checking for $sgemm in -lscs... " >&6; }
9478if eval \${$as_ac_Lib+:} false; then :9468if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9479 $as_echo_n "(cached) " >&69469 $as_echo_n "(cached) " >&6
9480else9470else
9481 ac_check_lib_save_LIBS=$LIBS9471 ac_check_lib_save_LIBS=$LIBS
@@ -9508,7 +9498,7 @@
9508 as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`9498 as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`
9509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&59499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&5
9510$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }9500$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }
9511if eval \${$as_ac_Lib+:} false; then :9501if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9512 $as_echo_n "(cached) " >&69502 $as_echo_n "(cached) " >&6
9513else9503else
9514 ac_check_lib_save_LIBS=$LIBS9504 ac_check_lib_save_LIBS=$LIBS
@@ -9544,7 +9534,7 @@
9544 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`9534 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
9545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&59535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
9546$as_echo_n "checking for $sgemm in -lblas... " >&6; }9536$as_echo_n "checking for $sgemm in -lblas... " >&6; }
9547if eval \${$as_ac_Lib+:} false; then :9537if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9548 $as_echo_n "(cached) " >&69538 $as_echo_n "(cached) " >&6
9549else9539else
9550 ac_check_lib_save_LIBS=$LIBS9540 ac_check_lib_save_LIBS=$LIBS
@@ -9570,7 +9560,7 @@
9570 as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`9560 as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`
9571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&59561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&5
9572$as_echo_n "checking for $sgemm in -lessl... " >&6; }9562$as_echo_n "checking for $sgemm in -lessl... " >&6; }
9573if eval \${$as_ac_Lib+:} false; then :9563if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9574 $as_echo_n "(cached) " >&69564 $as_echo_n "(cached) " >&6
9575else9565else
9576 ac_check_lib_save_LIBS=$LIBS9566 ac_check_lib_save_LIBS=$LIBS
@@ -9609,7 +9599,7 @@
9609 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`9599 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
9610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&59600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
9611$as_echo_n "checking for $sgemm in -lblas... " >&6; }9601$as_echo_n "checking for $sgemm in -lblas... " >&6; }
9612if eval \${$as_ac_Lib+:} false; then :9602if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9613 $as_echo_n "(cached) " >&69603 $as_echo_n "(cached) " >&6
9614else9604else
9615 ac_check_lib_save_LIBS=$LIBS9605 ac_check_lib_save_LIBS=$LIBS
@@ -9643,7 +9633,7 @@
9643 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`9633 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
9644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&59634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
9645$as_echo_n "checking for $sgemm in -lblas... " >&6; }9635$as_echo_n "checking for $sgemm in -lblas... " >&6; }
9646if eval \${$as_ac_Lib+:} false; then :9636if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9647 $as_echo_n "(cached) " >&69637 $as_echo_n "(cached) " >&6
9648else9638else
9649 ac_check_lib_save_LIBS=$LIBS9639 ac_check_lib_save_LIBS=$LIBS
@@ -9835,7 +9825,7 @@
9835 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_lapack_$dsyev" | $as_tr_sh`9825 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_lapack_$dsyev" | $as_tr_sh`
9836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dsyev in -lmkl_lapack" >&59826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dsyev in -lmkl_lapack" >&5
9837$as_echo_n "checking for $dsyev in -lmkl_lapack... " >&6; }9827$as_echo_n "checking for $dsyev in -lmkl_lapack... " >&6; }
9838if eval \${$as_ac_Lib+:} false; then :9828if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9839 $as_echo_n "(cached) " >&69829 $as_echo_n "(cached) " >&6
9840else9830else
9841 ac_check_lib_save_LIBS=$LIBS9831 ac_check_lib_save_LIBS=$LIBS
@@ -9868,7 +9858,7 @@
9868 as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$dsyev" | $as_tr_sh`9858 as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$dsyev" | $as_tr_sh`
9869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dsyev in -lsunperf" >&59859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dsyev in -lsunperf" >&5
9870$as_echo_n "checking for $dsyev in -lsunperf... " >&6; }9860$as_echo_n "checking for $dsyev in -lsunperf... " >&6; }
9871if eval \${$as_ac_Lib+:} false; then :9861if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9872 $as_echo_n "(cached) " >&69862 $as_echo_n "(cached) " >&6
9873else9863else
9874 ac_check_lib_save_LIBS=$LIBS9864 ac_check_lib_save_LIBS=$LIBS
@@ -9919,7 +9909,7 @@
9919 as_ac_Lib=`$as_echo "ac_cv_lib_lapack_$dsyev" | $as_tr_sh`9909 as_ac_Lib=`$as_echo "ac_cv_lib_lapack_$dsyev" | $as_tr_sh`
9920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dsyev in -llapack" >&59910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dsyev in -llapack" >&5
9921$as_echo_n "checking for $dsyev in -llapack... " >&6; }9911$as_echo_n "checking for $dsyev in -llapack... " >&6; }
9922if eval \${$as_ac_Lib+:} false; then :9912if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
9923 $as_echo_n "(cached) " >&69913 $as_echo_n "(cached) " >&6
9924else9914else
9925 ac_check_lib_save_LIBS=$LIBS9915 ac_check_lib_save_LIBS=$LIBS
@@ -9980,7 +9970,7 @@
99809970
9981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&59971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
9982$as_echo_n "checking for main in -lstdc++... " >&6; }9972$as_echo_n "checking for main in -lstdc++... " >&6; }
9983if ${ac_cv_lib_stdcpp_main+:} false; then :9973if test "${ac_cv_lib_stdcpp_main+set}" = set; then :
9984 $as_echo_n "(cached) " >&69974 $as_echo_n "(cached) " >&6
9985else9975else
9986 ac_check_lib_save_LIBS=$LIBS9976 ac_check_lib_save_LIBS=$LIBS
@@ -10024,7 +10014,7 @@
10024fi10014fi
10025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&510015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
10026$as_echo "$ac_cv_lib_stdcpp_main" >&6; }10016$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
10027if test "x$ac_cv_lib_stdcpp_main" = xyes; then :10017if test "x$ac_cv_lib_stdcpp_main" = x""yes; then :
10028 cat >>confdefs.h <<_ACEOF10018 cat >>confdefs.h <<_ACEOF
10029#define HAVE_LIBSTDC__ 110019#define HAVE_LIBSTDC__ 1
10030_ACEOF10020_ACEOF
@@ -10035,7 +10025,7 @@
1003510025
10036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&510026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
10037$as_echo_n "checking for main in -lm... " >&6; }10027$as_echo_n "checking for main in -lm... " >&6; }
10038if ${ac_cv_lib_m_main+:} false; then :10028if test "${ac_cv_lib_m_main+set}" = set; then :
10039 $as_echo_n "(cached) " >&610029 $as_echo_n "(cached) " >&6
10040else10030else
10041 ac_check_lib_save_LIBS=$LIBS10031 ac_check_lib_save_LIBS=$LIBS
@@ -10079,7 +10069,7 @@
10079fi10069fi
10080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&510070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
10081$as_echo "$ac_cv_lib_m_main" >&6; }10071$as_echo "$ac_cv_lib_m_main" >&6; }
10082if test "x$ac_cv_lib_m_main" = xyes; then :10072if test "x$ac_cv_lib_m_main" = x""yes; then :
10083 cat >>confdefs.h <<_ACEOF10073 cat >>confdefs.h <<_ACEOF
10084#define HAVE_LIBM 110074#define HAVE_LIBM 1
10085_ACEOF10075_ACEOF
@@ -10090,7 +10080,7 @@
1009010080
10091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&510081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
10092$as_echo_n "checking for main in -lpthread... " >&6; }10082$as_echo_n "checking for main in -lpthread... " >&6; }
10093if ${ac_cv_lib_pthread_main+:} false; then :10083if test "${ac_cv_lib_pthread_main+set}" = set; then :
10094 $as_echo_n "(cached) " >&610084 $as_echo_n "(cached) " >&6
10095else10085else
10096 ac_check_lib_save_LIBS=$LIBS10086 ac_check_lib_save_LIBS=$LIBS
@@ -10134,7 +10124,7 @@
10134fi10124fi
10135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&510125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
10136$as_echo "$ac_cv_lib_pthread_main" >&6; }10126$as_echo "$ac_cv_lib_pthread_main" >&6; }
10137if test "x$ac_cv_lib_pthread_main" = xyes; then :10127if test "x$ac_cv_lib_pthread_main" = x""yes; then :
10138 cat >>confdefs.h <<_ACEOF10128 cat >>confdefs.h <<_ACEOF
10139#define HAVE_LIBPTHREAD 110129#define HAVE_LIBPTHREAD 1
10140_ACEOF10130_ACEOF
@@ -10145,7 +10135,7 @@
1014510135
10146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing utInit" >&510136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing utInit" >&5
10147$as_echo_n "checking for library containing utInit... " >&6; }10137$as_echo_n "checking for library containing utInit... " >&6; }
10148if ${ac_cv_search_utInit+:} false; then :10138if test "${ac_cv_search_utInit+set}" = set; then :
10149 $as_echo_n "(cached) " >&610139 $as_echo_n "(cached) " >&6
10150else10140else
10151 ac_func_search_save_LIBS=$LIBS10141 ac_func_search_save_LIBS=$LIBS
@@ -10195,11 +10185,11 @@
10195fi10185fi
10196rm -f core conftest.err conftest.$ac_objext \10186rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext10187 conftest$ac_exeext
10198 if ${ac_cv_search_utInit+:} false; then :10188 if test "${ac_cv_search_utInit+set}" = set; then :
10199 break10189 break
10200fi10190fi
10201done10191done
10202if ${ac_cv_search_utInit+:} false; then :10192if test "${ac_cv_search_utInit+set}" = set; then :
1020310193
10204else10194else
10205 ac_cv_search_utInit=no10195 ac_cv_search_utInit=no
@@ -10243,7 +10233,7 @@
10243 if test "$enable_openmp" != no; then10233 if test "$enable_openmp" != no; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to support OpenMP" >&510234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to support OpenMP" >&5
10245$as_echo_n "checking for $CXX option to support OpenMP... " >&6; }10235$as_echo_n "checking for $CXX option to support OpenMP... " >&6; }
10246if ${ac_cv_prog_cxx_openmp+:} false; then :10236if test "${ac_cv_prog_cxx_openmp+set}" = set; then :
10247 $as_echo_n "(cached) " >&610237 $as_echo_n "(cached) " >&6
10248else10238else
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10643,7 +10633,7 @@
10643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&510633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10644$as_echo_n "checking for a BSD-compatible install... " >&6; }10634$as_echo_n "checking for a BSD-compatible install... " >&6; }
10645if test -z "$INSTALL"; then10635if test -z "$INSTALL"; then
10646if ${ac_cv_path_install+:} false; then :10636if test "${ac_cv_path_install+set}" = set; then :
10647 $as_echo_n "(cached) " >&610637 $as_echo_n "(cached) " >&6
10648else10638else
10649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR10639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -10723,7 +10713,7 @@
10723set dummy gmake; ac_word=$210713set dummy gmake; ac_word=$2
10724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&510714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10725$as_echo_n "checking for $ac_word... " >&6; }10715$as_echo_n "checking for $ac_word... " >&6; }
10726if ${ac_cv_prog_MAKE+:} false; then :10716if test "${ac_cv_prog_MAKE+set}" = set; then :
10727 $as_echo_n "(cached) " >&610717 $as_echo_n "(cached) " >&6
10728else10718else
10729 if test -n "$MAKE"; then10719 if test -n "$MAKE"; then
@@ -10765,7 +10755,7 @@
10765set dummy ar; ac_word=$210755set dummy ar; ac_word=$2
10766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&510756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10767$as_echo_n "checking for $ac_word... " >&6; }10757$as_echo_n "checking for $ac_word... " >&6; }
10768if ${ac_cv_prog_AR+:} false; then :10758if test "${ac_cv_prog_AR+set}" = set; then :
10769 $as_echo_n "(cached) " >&610759 $as_echo_n "(cached) " >&6
10770else10760else
10771 if test -n "$AR"; then10761 if test -n "$AR"; then
@@ -10805,7 +10795,7 @@
10805set dummy ${ac_tool_prefix}ranlib; ac_word=$210795set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&510796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10807$as_echo_n "checking for $ac_word... " >&6; }10797$as_echo_n "checking for $ac_word... " >&6; }
10808if ${ac_cv_prog_RANLIB+:} false; then :10798if test "${ac_cv_prog_RANLIB+set}" = set; then :
10809 $as_echo_n "(cached) " >&610799 $as_echo_n "(cached) " >&6
10810else10800else
10811 if test -n "$RANLIB"; then10801 if test -n "$RANLIB"; then
@@ -10845,7 +10835,7 @@
10845set dummy ranlib; ac_word=$210835set dummy ranlib; ac_word=$2
10846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&510836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10847$as_echo_n "checking for $ac_word... " >&6; }10837$as_echo_n "checking for $ac_word... " >&6; }
10848if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :10838if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
10849 $as_echo_n "(cached) " >&610839 $as_echo_n "(cached) " >&6
10850else10840else
10851 if test -n "$ac_ct_RANLIB"; then10841 if test -n "$ac_ct_RANLIB"; then
@@ -11068,7 +11058,7 @@
11068set dummy $ac_prog; ac_word=$211058set dummy $ac_prog; ac_word=$2
11069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11070$as_echo_n "checking for $ac_word... " >&6; }11060$as_echo_n "checking for $ac_word... " >&6; }
11071if ${ac_cv_prog_MPIF90+:} false; then :11061if test "${ac_cv_prog_MPIF90+set}" = set; then :
11072 $as_echo_n "(cached) " >&611062 $as_echo_n "(cached) " >&6
11073else11063else
11074 if test -n "$MPIF90"; then11064 if test -n "$MPIF90"; then
@@ -11114,7 +11104,7 @@
11114set dummy $ac_prog; ac_word=$211104set dummy $ac_prog; ac_word=$2
11115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11116$as_echo_n "checking for $ac_word... " >&6; }11106$as_echo_n "checking for $ac_word... " >&6; }
11117if ${ac_cv_prog_MPIF77+:} false; then :11107if test "${ac_cv_prog_MPIF77+set}" = set; then :
11118 $as_echo_n "(cached) " >&611108 $as_echo_n "(cached) " >&6
11119else11109else
11120 if test -n "$MPIF77"; then11110 if test -n "$MPIF77"; then
@@ -11158,7 +11148,7 @@
11158set dummy $ac_prog; ac_word=$211148set dummy $ac_prog; ac_word=$2
11159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11160$as_echo_n "checking for $ac_word... " >&6; }11150$as_echo_n "checking for $ac_word... " >&6; }
11161if ${ac_cv_prog_MPICC+:} false; then :11151if test "${ac_cv_prog_MPICC+set}" = set; then :
11162 $as_echo_n "(cached) " >&611152 $as_echo_n "(cached) " >&6
11163else11153else
11164 if test -n "$MPICC"; then11154 if test -n "$MPICC"; then
@@ -11201,7 +11191,7 @@
11201set dummy $ac_prog; ac_word=$211191set dummy $ac_prog; ac_word=$2
11202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11203$as_echo_n "checking for $ac_word... " >&6; }11193$as_echo_n "checking for $ac_word... " >&6; }
11204if ${ac_cv_prog_MPICXX+:} false; then :11194if test "${ac_cv_prog_MPICXX+set}" = set; then :
11205 $as_echo_n "(cached) " >&611195 $as_echo_n "(cached) " >&6
11206else11196else
11207 if test -n "$MPICXX"; then11197 if test -n "$MPICXX"; then
@@ -11467,7 +11457,7 @@
11467 fi11457 fi
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nc_create in -lnetcdf" >&511458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nc_create in -lnetcdf" >&5
11469$as_echo_n "checking for nc_create in -lnetcdf... " >&6; }11459$as_echo_n "checking for nc_create in -lnetcdf... " >&6; }
11470if ${ac_cv_lib_netcdf_nc_create+:} false; then :11460if test "${ac_cv_lib_netcdf_nc_create+set}" = set; then :
11471 $as_echo_n "(cached) " >&611461 $as_echo_n "(cached) " >&6
11472else11462else
11473 ac_check_lib_save_LIBS=$LIBS11463 ac_check_lib_save_LIBS=$LIBS
@@ -11517,7 +11507,7 @@
11517fi11507fi
11518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdf_nc_create" >&511508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdf_nc_create" >&5
11519$as_echo "$ac_cv_lib_netcdf_nc_create" >&6; }11509$as_echo "$ac_cv_lib_netcdf_nc_create" >&6; }
11520if test "x$ac_cv_lib_netcdf_nc_create" = xyes; then :11510if test "x$ac_cv_lib_netcdf_nc_create" = x""yes; then :
11521 cat >>confdefs.h <<_ACEOF11511 cat >>confdefs.h <<_ACEOF
11522#define HAVE_LIBNETCDF 111512#define HAVE_LIBNETCDF 1
11523_ACEOF11513_ACEOF
@@ -11535,7 +11525,7 @@
11535 # Check for separate fortran lib.11525 # Check for separate fortran lib.
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncopn_ in -lnetcdff" >&511526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncopn_ in -lnetcdff" >&5
11537$as_echo_n "checking for ncopn_ in -lnetcdff... " >&6; }11527$as_echo_n "checking for ncopn_ in -lnetcdff... " >&6; }
11538if ${ac_cv_lib_netcdff_ncopn_+:} false; then :11528if test "${ac_cv_lib_netcdff_ncopn_+set}" = set; then :
11539 $as_echo_n "(cached) " >&611529 $as_echo_n "(cached) " >&6
11540else11530else
11541 ac_check_lib_save_LIBS=$LIBS11531 ac_check_lib_save_LIBS=$LIBS
@@ -11585,7 +11575,7 @@
11585fi11575fi
11586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdff_ncopn_" >&511576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdff_ncopn_" >&5
11587$as_echo "$ac_cv_lib_netcdff_ncopn_" >&6; }11577$as_echo "$ac_cv_lib_netcdff_ncopn_" >&6; }
11588if test "x$ac_cv_lib_netcdff_ncopn_" = xyes; then :11578if test "x$ac_cv_lib_netcdff_ncopn_" = x""yes; then :
11589 cat >>confdefs.h <<_ACEOF11579 cat >>confdefs.h <<_ACEOF
11590#define HAVE_LIBNETCDFF 111580#define HAVE_LIBNETCDFF 1
11591_ACEOF11581_ACEOF
@@ -11628,7 +11618,7 @@
11628LIBS="$tmpLIBS -L$ParMetis_LIBS_PATH -lparmetis -lmetis -lm"11618LIBS="$tmpLIBS -L$ParMetis_LIBS_PATH -lparmetis -lmetis -lm"
11629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ParMETIS_V3_AdaptiveRepart in -lparmetis" >&511619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ParMETIS_V3_AdaptiveRepart in -lparmetis" >&5
11630$as_echo_n "checking for ParMETIS_V3_AdaptiveRepart in -lparmetis... " >&6; }11620$as_echo_n "checking for ParMETIS_V3_AdaptiveRepart in -lparmetis... " >&6; }
11631if ${ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart+:} false; then :11621if test "${ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart+set}" = set; then :
11632 $as_echo_n "(cached) " >&611622 $as_echo_n "(cached) " >&6
11633else11623else
11634 ac_check_lib_save_LIBS=$LIBS11624 ac_check_lib_save_LIBS=$LIBS
@@ -11678,7 +11668,7 @@
11678fi11668fi
11679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart" >&511669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart" >&5
11680$as_echo "$ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart" >&6; }11670$as_echo "$ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart" >&6; }
11681if test "x$ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart" = xyes; then :11671if test "x$ac_cv_lib_parmetis_ParMETIS_V3_AdaptiveRepart" = x""yes; then :
1168211672
11683$as_echo "#define HAVE_PARMETIS 1" >>confdefs.h11673$as_echo "#define HAVE_PARMETIS 1" >>confdefs.h
1168411674
@@ -11756,7 +11746,7 @@
1175611746
11757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Zoltan_Initialize in -lzoltan" >&511747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Zoltan_Initialize in -lzoltan" >&5
11758$as_echo_n "checking for Zoltan_Initialize in -lzoltan... " >&6; }11748$as_echo_n "checking for Zoltan_Initialize in -lzoltan... " >&6; }
11759if ${ac_cv_lib_zoltan_Zoltan_Initialize+:} false; then :11749if test "${ac_cv_lib_zoltan_Zoltan_Initialize+set}" = set; then :
11760 $as_echo_n "(cached) " >&611750 $as_echo_n "(cached) " >&6
11761else11751else
11762 ac_check_lib_save_LIBS=$LIBS11752 ac_check_lib_save_LIBS=$LIBS
@@ -11806,7 +11796,7 @@
11806fi11796fi
11807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zoltan_Zoltan_Initialize" >&511797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zoltan_Zoltan_Initialize" >&5
11808$as_echo "$ac_cv_lib_zoltan_Zoltan_Initialize" >&6; }11798$as_echo "$ac_cv_lib_zoltan_Zoltan_Initialize" >&6; }
11809if test "x$ac_cv_lib_zoltan_Zoltan_Initialize" = xyes; then :11799if test "x$ac_cv_lib_zoltan_Zoltan_Initialize" = x""yes; then :
1181011800
11811$as_echo "#define HAVE_ZOLTAN 1" >>confdefs.h11801$as_echo "#define HAVE_ZOLTAN 1" >>confdefs.h
1181211802
@@ -11888,7 +11878,7 @@
1188811878
11889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for adj_register_equation in -ladjoint" >&511879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for adj_register_equation in -ladjoint" >&5
11890$as_echo_n "checking for adj_register_equation in -ladjoint... " >&6; }11880$as_echo_n "checking for adj_register_equation in -ladjoint... " >&6; }
11891if ${ac_cv_lib_adjoint_adj_register_equation+:} false; then :11881if test "${ac_cv_lib_adjoint_adj_register_equation+set}" = set; then :
11892 $as_echo_n "(cached) " >&611882 $as_echo_n "(cached) " >&6
11893else11883else
11894 ac_check_lib_save_LIBS=$LIBS11884 ac_check_lib_save_LIBS=$LIBS
@@ -11938,7 +11928,7 @@
11938fi11928fi
11939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adjoint_adj_register_equation" >&511929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adjoint_adj_register_equation" >&5
11940$as_echo "$ac_cv_lib_adjoint_adj_register_equation" >&6; }11930$as_echo "$ac_cv_lib_adjoint_adj_register_equation" >&6; }
11941if test "x$ac_cv_lib_adjoint_adj_register_equation" = xyes; then :11931if test "x$ac_cv_lib_adjoint_adj_register_equation" = x""yes; then :
1194211932
11943$as_echo "#define HAVE_ADJOINT 1" >>confdefs.h11933$as_echo "#define HAVE_ADJOINT 1" >>confdefs.h
11944HAVE_ADJOINT=yes11934HAVE_ADJOINT=yes
@@ -11984,8 +11974,8 @@
11984 have_x=disabled11974 have_x=disabled
11985else11975else
11986 case $x_includes,$x_libraries in #(11976 case $x_includes,$x_libraries in #(
11987 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(11977 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
11988 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :11978 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
11989 $as_echo_n "(cached) " >&611979 $as_echo_n "(cached) " >&6
11990else11980else
11991 # One or both of the vars are not set, and there is no cached value.11981 # One or both of the vars are not set, and there is no cached value.
@@ -12332,7 +12322,7 @@
12332else12322else
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&512323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12334$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }12324$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12335if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :12325if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
12336 $as_echo_n "(cached) " >&612326 $as_echo_n "(cached) " >&6
12337else12327else
12338 ac_check_lib_save_LIBS=$LIBS12328 ac_check_lib_save_LIBS=$LIBS
@@ -12382,14 +12372,14 @@
12382fi12372fi
12383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&512373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12384$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }12374$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12385if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :12375if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
12386 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"12376 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12387fi12377fi
1238812378
12389 if test $ac_cv_lib_dnet_dnet_ntoa = no; then12379 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&512380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
12391$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }12381$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12392if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :12382if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
12393 $as_echo_n "(cached) " >&612383 $as_echo_n "(cached) " >&6
12394else12384else
12395 ac_check_lib_save_LIBS=$LIBS12385 ac_check_lib_save_LIBS=$LIBS
@@ -12439,7 +12429,7 @@
12439fi12429fi
12440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&512430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12441$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }12431$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12442if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :12432if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
12443 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"12433 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12444fi12434fi
1244512435
@@ -12458,14 +12448,14 @@
12458 # The functions gethostbyname, getservbyname, and inet_addr are12448 # The functions gethostbyname, getservbyname, and inet_addr are
12459 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.12449 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12460 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"12450 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12461if test "x$ac_cv_func_gethostbyname" = xyes; then :12451if test "x$ac_cv_func_gethostbyname" = x""yes; then :
1246212452
12463fi12453fi
1246412454
12465 if test $ac_cv_func_gethostbyname = no; then12455 if test $ac_cv_func_gethostbyname = no; then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&512456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12467$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }12457$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12468if ${ac_cv_lib_nsl_gethostbyname+:} false; then :12458if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
12469 $as_echo_n "(cached) " >&612459 $as_echo_n "(cached) " >&6
12470else12460else
12471 ac_check_lib_save_LIBS=$LIBS12461 ac_check_lib_save_LIBS=$LIBS
@@ -12515,14 +12505,14 @@
12515fi12505fi
12516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&512506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12517$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }12507$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12518if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :12508if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
12519 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"12509 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12520fi12510fi
1252112511
12522 if test $ac_cv_lib_nsl_gethostbyname = no; then12512 if test $ac_cv_lib_nsl_gethostbyname = no; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&512513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
12524$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }12514$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12525if ${ac_cv_lib_bsd_gethostbyname+:} false; then :12515if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
12526 $as_echo_n "(cached) " >&612516 $as_echo_n "(cached) " >&6
12527else12517else
12528 ac_check_lib_save_LIBS=$LIBS12518 ac_check_lib_save_LIBS=$LIBS
@@ -12572,7 +12562,7 @@
12572fi12562fi
12573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&512563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
12574$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }12564$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12575if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :12565if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
12576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"12566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12577fi12567fi
1257812568
@@ -12587,14 +12577,14 @@
12587 # must be given before -lnsl if both are needed. We assume that12577 # must be given before -lnsl if both are needed. We assume that
12588 # if connect needs -lnsl, so does gethostbyname.12578 # if connect needs -lnsl, so does gethostbyname.
12589 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"12579 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12590if test "x$ac_cv_func_connect" = xyes; then :12580if test "x$ac_cv_func_connect" = x""yes; then :
1259112581
12592fi12582fi
1259312583
12594 if test $ac_cv_func_connect = no; then12584 if test $ac_cv_func_connect = no; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&512585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
12596$as_echo_n "checking for connect in -lsocket... " >&6; }12586$as_echo_n "checking for connect in -lsocket... " >&6; }
12597if ${ac_cv_lib_socket_connect+:} false; then :12587if test "${ac_cv_lib_socket_connect+set}" = set; then :
12598 $as_echo_n "(cached) " >&612588 $as_echo_n "(cached) " >&6
12599else12589else
12600 ac_check_lib_save_LIBS=$LIBS12590 ac_check_lib_save_LIBS=$LIBS
@@ -12644,7 +12634,7 @@
12644fi12634fi
12645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&512635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
12646$as_echo "$ac_cv_lib_socket_connect" >&6; }12636$as_echo "$ac_cv_lib_socket_connect" >&6; }
12647if test "x$ac_cv_lib_socket_connect" = xyes; then :12637if test "x$ac_cv_lib_socket_connect" = x""yes; then :
12648 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"12638 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12649fi12639fi
1265012640
@@ -12652,14 +12642,14 @@
1265212642
12653 # Guillermo Gomez says -lposix is necessary on A/UX.12643 # Guillermo Gomez says -lposix is necessary on A/UX.
12654 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"12644 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12655if test "x$ac_cv_func_remove" = xyes; then :12645if test "x$ac_cv_func_remove" = x""yes; then :
1265612646
12657fi12647fi
1265812648
12659 if test $ac_cv_func_remove = no; then12649 if test $ac_cv_func_remove = no; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&512650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
12661$as_echo_n "checking for remove in -lposix... " >&6; }12651$as_echo_n "checking for remove in -lposix... " >&6; }
12662if ${ac_cv_lib_posix_remove+:} false; then :12652if test "${ac_cv_lib_posix_remove+set}" = set; then :
12663 $as_echo_n "(cached) " >&612653 $as_echo_n "(cached) " >&6
12664else12654else
12665 ac_check_lib_save_LIBS=$LIBS12655 ac_check_lib_save_LIBS=$LIBS
@@ -12709,7 +12699,7 @@
12709fi12699fi
12710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&512700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
12711$as_echo "$ac_cv_lib_posix_remove" >&6; }12701$as_echo "$ac_cv_lib_posix_remove" >&6; }
12712if test "x$ac_cv_lib_posix_remove" = xyes; then :12702if test "x$ac_cv_lib_posix_remove" = x""yes; then :
12713 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"12703 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12714fi12704fi
1271512705
@@ -12717,14 +12707,14 @@
1271712707
12718 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.12708 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12719 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"12709 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12720if test "x$ac_cv_func_shmat" = xyes; then :12710if test "x$ac_cv_func_shmat" = x""yes; then :
1272112711
12722fi12712fi
1272312713
12724 if test $ac_cv_func_shmat = no; then12714 if test $ac_cv_func_shmat = no; then
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&512715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
12726$as_echo_n "checking for shmat in -lipc... " >&6; }12716$as_echo_n "checking for shmat in -lipc... " >&6; }
12727if ${ac_cv_lib_ipc_shmat+:} false; then :12717if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
12728 $as_echo_n "(cached) " >&612718 $as_echo_n "(cached) " >&6
12729else12719else
12730 ac_check_lib_save_LIBS=$LIBS12720 ac_check_lib_save_LIBS=$LIBS
@@ -12774,7 +12764,7 @@
12774fi12764fi
12775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&512765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
12776$as_echo "$ac_cv_lib_ipc_shmat" >&6; }12766$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
12777if test "x$ac_cv_lib_ipc_shmat" = xyes; then :12767if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
12778 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"12768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12779fi12769fi
1278012770
@@ -12792,7 +12782,7 @@
12792 # John Interrante, Karl Berry12782 # John Interrante, Karl Berry
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&512783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
12794$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }12784$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
12795if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :12785if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
12796 $as_echo_n "(cached) " >&612786 $as_echo_n "(cached) " >&6
12797else12787else
12798 ac_check_lib_save_LIBS=$LIBS12788 ac_check_lib_save_LIBS=$LIBS
@@ -12842,7 +12832,7 @@
12842fi12832fi
12843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&512833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12844$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }12834$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12845if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :12835if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
12846 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"12836 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12847fi12837fi
1284812838
@@ -12958,7 +12948,11 @@
12958 PetscInt i,j,II,JJ,m,n,its12948 PetscInt i,j,II,JJ,m,n,its
12959 PetscInt Istart,Iend,ione12949 PetscInt Istart,Iend,ione
12960 PetscErrorCode ierr12950 PetscErrorCode ierr
12951#if PETSC_VERSION_MINOR==2
12952 PetscBool flg
12953#else
12961 PetscTruth flg12954 PetscTruth flg
12955#endif
12962 PetscScalar v,one,neg_one12956 PetscScalar v,one,neg_one
12963 Vec x,b,u12957 Vec x,b,u
12964 Mat A12958 Mat A
@@ -13045,7 +13039,7 @@
13045{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&513039{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13046$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13047as_fn_error $? "Failed to compile and link PETSc program.13041as_fn_error $? "Failed to compile and link PETSc program.
13048See \`config.log' for more details" "$LINENO" 5; }13042See \`config.log' for more details" "$LINENO" 5 ; }
13049fi13043fi
13050rm -f core conftest.err conftest.$ac_objext \13044rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext13045 conftest$ac_exeext conftest.$ac_ext
@@ -13092,7 +13086,7 @@
1309213086
13093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing PCHYPRESetType" >&513087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing PCHYPRESetType" >&5
13094$as_echo_n "checking for library containing PCHYPRESetType... " >&6; }13088$as_echo_n "checking for library containing PCHYPRESetType... " >&6; }
13095if ${ac_cv_search_PCHYPRESetType+:} false; then :13089if test "${ac_cv_search_PCHYPRESetType+set}" = set; then :
13096 $as_echo_n "(cached) " >&613090 $as_echo_n "(cached) " >&6
13097else13091else
13098 ac_func_search_save_LIBS=$LIBS13092 ac_func_search_save_LIBS=$LIBS
@@ -13113,11 +13107,11 @@
13113fi13107fi
13114rm -f core conftest.err conftest.$ac_objext \13108rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext13109 conftest$ac_exeext
13116 if ${ac_cv_search_PCHYPRESetType+:} false; then :13110 if test "${ac_cv_search_PCHYPRESetType+set}" = set; then :
13117 break13111 break
13118fi13112fi
13119done13113done
13120if ${ac_cv_search_PCHYPRESetType+:} false; then :13114if test "${ac_cv_search_PCHYPRESetType+set}" = set; then :
1312113115
13122else13116else
13123 ac_cv_search_PCHYPRESetType=no13117 ac_cv_search_PCHYPRESetType=no
@@ -13171,7 +13165,7 @@
13171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&513165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13173as_fn_error $? "cannot run test program while cross compiling13167as_fn_error $? "cannot run test program while cross compiling
13174See \`config.log' for more details" "$LINENO" 5; }13168See \`config.log' for more details" "$LINENO" 5 ; }
13175else13169else
13176 cat > conftest.$ac_ext <<_ACEOF13170 cat > conftest.$ac_ext <<_ACEOF
13177 program main13171 program main
@@ -13206,7 +13200,7 @@
13206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&513200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13201$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13208as_fn_error $? "cannot run test program while cross compiling13202as_fn_error $? "cannot run test program while cross compiling
13209See \`config.log' for more details" "$LINENO" 5; }13203See \`config.log' for more details" "$LINENO" 5 ; }
13210else13204else
13211 cat > conftest.$ac_ext <<_ACEOF13205 cat > conftest.$ac_ext <<_ACEOF
13212 program main13206 program main
@@ -13241,7 +13235,7 @@
13241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&513235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13242$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13243as_fn_error $? "cannot run test program while cross compiling13237as_fn_error $? "cannot run test program while cross compiling
13244See \`config.log' for more details" "$LINENO" 5; }13238See \`config.log' for more details" "$LINENO" 5 ; }
13245else13239else
13246 cat > conftest.$ac_ext <<_ACEOF13240 cat > conftest.$ac_ext <<_ACEOF
13247 program main13241 program main
@@ -13278,7 +13272,7 @@
13278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&513272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13273$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13280as_fn_error $? "cannot run test program while cross compiling13274as_fn_error $? "cannot run test program while cross compiling
13281See \`config.log' for more details" "$LINENO" 5; }13275See \`config.log' for more details" "$LINENO" 5 ; }
13282else13276else
13283 cat > conftest.$ac_ext <<_ACEOF13277 cat > conftest.$ac_ext <<_ACEOF
13284 program main13278 program main
@@ -13545,6 +13539,7 @@
1354513539
1354613540
1354713541
13542
13548if test "$smart_fortran" = "yes" ; then13543if test "$smart_fortran" = "yes" ; then
13549 F77=$MPIF9013544 F77=$MPIF90
13550else13545else
@@ -13620,7 +13615,7 @@
13620# This bug is HP SR number 8606223364.13615# This bug is HP SR number 8606223364.
13621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&513616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13622$as_echo_n "checking size of void *... " >&6; }13617$as_echo_n "checking size of void *... " >&6; }
13623if ${ac_cv_sizeof_void_p+:} false; then :13618if test "${ac_cv_sizeof_void_p+set}" = set; then :
13624 $as_echo_n "(cached) " >&613619 $as_echo_n "(cached) " >&6
13625else13620else
13626 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :13621 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
@@ -13630,7 +13625,7 @@
13630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&513625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13631$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13632as_fn_error 77 "cannot compute sizeof (void *)13627as_fn_error 77 "cannot compute sizeof (void *)
13633See \`config.log' for more details" "$LINENO" 5; }13628See \`config.log' for more details" "$LINENO" 5 ; }
13634 else13629 else
13635 ac_cv_sizeof_void_p=013630 ac_cv_sizeof_void_p=0
13636 fi13631 fi
@@ -13677,7 +13672,9 @@
13677$as_echo "$as_me: Building on hector xe6; disabling shared libraries" >&6;}13672$as_echo "$as_me: Building on hector xe6; disabling shared libraries" >&6;}
13678 SHFLAG=--disable-shared13673 SHFLAG=--disable-shared
13679 SPUD_ONLY="yes"13674 SPUD_ONLY="yes"
13675 FLLINKER=$CXX
13680 else13676 else
13677 FLLINKER=$FC
13681 SHFLAG=--enable-shared13678 SHFLAG=--enable-shared
13682 fi13679 fi
1368313680
@@ -13763,7 +13760,7 @@
13763else13760else
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dsaupd in -larpack" >&513761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dsaupd in -larpack" >&5
13765$as_echo_n "checking for dsaupd in -larpack... " >&6; }13762$as_echo_n "checking for dsaupd in -larpack... " >&6; }
13766if ${ac_cv_lib_arpack_dsaupd+:} false; then :13763if test "${ac_cv_lib_arpack_dsaupd+set}" = set; then :
13767 $as_echo_n "(cached) " >&613764 $as_echo_n "(cached) " >&6
13768else13765else
13769 ac_check_lib_save_LIBS=$LIBS13766 ac_check_lib_save_LIBS=$LIBS
@@ -13784,7 +13781,7 @@
13784fi13781fi
13785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_arpack_dsaupd" >&513782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_arpack_dsaupd" >&5
13786$as_echo "$ac_cv_lib_arpack_dsaupd" >&6; }13783$as_echo "$ac_cv_lib_arpack_dsaupd" >&6; }
13787if test "x$ac_cv_lib_arpack_dsaupd" = xyes; then :13784if test "x$ac_cv_lib_arpack_dsaupd" = x""yes; then :
13788 cat >>confdefs.h <<_ACEOF13785 cat >>confdefs.h <<_ACEOF
13789#define HAVE_LIBARPACK 113786#define HAVE_LIBARPACK 1
13790_ACEOF13787_ACEOF
@@ -13871,7 +13868,7 @@
13871 # header files are another matter.13868 # header files are another matter.
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&513869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
13873$as_echo_n "checking for main in -ldl... " >&6; }13870$as_echo_n "checking for main in -ldl... " >&6; }
13874if ${ac_cv_lib_dl_main+:} false; then :13871if test "${ac_cv_lib_dl_main+set}" = set; then :
13875 $as_echo_n "(cached) " >&613872 $as_echo_n "(cached) " >&6
13876else13873else
13877 ac_check_lib_save_LIBS=$LIBS13874 ac_check_lib_save_LIBS=$LIBS
@@ -13915,7 +13912,7 @@
13915fi13912fi
13916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&513913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
13917$as_echo "$ac_cv_lib_dl_main" >&6; }13914$as_echo "$ac_cv_lib_dl_main" >&6; }
13918if test "x$ac_cv_lib_dl_main" = xyes; then :13915if test "x$ac_cv_lib_dl_main" = x""yes; then :
13919 cat >>confdefs.h <<_ACEOF13916 cat >>confdefs.h <<_ACEOF
13920#define HAVE_LIBDL 113917#define HAVE_LIBDL 1
13921_ACEOF13918_ACEOF
@@ -13926,7 +13923,7 @@
1392613923
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtksys" >&513924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtksys" >&5
13928$as_echo_n "checking for main in -lvtksys... " >&6; }13925$as_echo_n "checking for main in -lvtksys... " >&6; }
13929if ${ac_cv_lib_vtksys_main+:} false; then :13926if test "${ac_cv_lib_vtksys_main+set}" = set; then :
13930 $as_echo_n "(cached) " >&613927 $as_echo_n "(cached) " >&6
13931else13928else
13932 ac_check_lib_save_LIBS=$LIBS13929 ac_check_lib_save_LIBS=$LIBS
@@ -13970,7 +13967,7 @@
13970fi13967fi
13971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtksys_main" >&513968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtksys_main" >&5
13972$as_echo "$ac_cv_lib_vtksys_main" >&6; }13969$as_echo "$ac_cv_lib_vtksys_main" >&6; }
13973if test "x$ac_cv_lib_vtksys_main" = xyes; then :13970if test "x$ac_cv_lib_vtksys_main" = x""yes; then :
13974 cat >>confdefs.h <<_ACEOF13971 cat >>confdefs.h <<_ACEOF
13975#define HAVE_LIBVTKSYS 113972#define HAVE_LIBVTKSYS 1
13976_ACEOF13973_ACEOF
@@ -13981,7 +13978,7 @@
1398113978
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkCommon" >&513979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkCommon" >&5
13983$as_echo_n "checking for main in -lvtkCommon... " >&6; }13980$as_echo_n "checking for main in -lvtkCommon... " >&6; }
13984if ${ac_cv_lib_vtkCommon_main+:} false; then :13981if test "${ac_cv_lib_vtkCommon_main+set}" = set; then :
13985 $as_echo_n "(cached) " >&613982 $as_echo_n "(cached) " >&6
13986else13983else
13987 ac_check_lib_save_LIBS=$LIBS13984 ac_check_lib_save_LIBS=$LIBS
@@ -14025,7 +14022,7 @@
14025fi14022fi
14026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkCommon_main" >&514023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkCommon_main" >&5
14027$as_echo "$ac_cv_lib_vtkCommon_main" >&6; }14024$as_echo "$ac_cv_lib_vtkCommon_main" >&6; }
14028if test "x$ac_cv_lib_vtkCommon_main" = xyes; then :14025if test "x$ac_cv_lib_vtkCommon_main" = x""yes; then :
14029 cat >>confdefs.h <<_ACEOF14026 cat >>confdefs.h <<_ACEOF
14030#define HAVE_LIBVTKCOMMON 114027#define HAVE_LIBVTKCOMMON 1
14031_ACEOF14028_ACEOF
@@ -14038,7 +14035,7 @@
14038 unset ac_cv_lib_vtkCommon_main14035 unset ac_cv_lib_vtkCommon_main
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkCommon" >&514036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkCommon" >&5
14040$as_echo_n "checking for main in -lvtkCommon... " >&6; }14037$as_echo_n "checking for main in -lvtkCommon... " >&6; }
14041if ${ac_cv_lib_vtkCommon_main+:} false; then :14038if test "${ac_cv_lib_vtkCommon_main+set}" = set; then :
14042 $as_echo_n "(cached) " >&614039 $as_echo_n "(cached) " >&6
14043else14040else
14044 ac_check_lib_save_LIBS=$LIBS14041 ac_check_lib_save_LIBS=$LIBS
@@ -14082,7 +14079,7 @@
14082fi14079fi
14083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkCommon_main" >&514080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkCommon_main" >&5
14084$as_echo "$ac_cv_lib_vtkCommon_main" >&6; }14081$as_echo "$ac_cv_lib_vtkCommon_main" >&6; }
14085if test "x$ac_cv_lib_vtkCommon_main" = xyes; then :14082if test "x$ac_cv_lib_vtkCommon_main" = x""yes; then :
14086 cat >>confdefs.h <<_ACEOF14083 cat >>confdefs.h <<_ACEOF
14087#define HAVE_LIBVTKCOMMON 114084#define HAVE_LIBVTKCOMMON 1
14088_ACEOF14085_ACEOF
@@ -14105,7 +14102,7 @@
1410514102
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkzlib" >&514103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkzlib" >&5
14107$as_echo_n "checking for main in -lvtkzlib... " >&6; }14104$as_echo_n "checking for main in -lvtkzlib... " >&6; }
14108if ${ac_cv_lib_vtkzlib_main+:} false; then :14105if test "${ac_cv_lib_vtkzlib_main+set}" = set; then :
14109 $as_echo_n "(cached) " >&614106 $as_echo_n "(cached) " >&6
14110else14107else
14111 ac_check_lib_save_LIBS=$LIBS14108 ac_check_lib_save_LIBS=$LIBS
@@ -14149,7 +14146,7 @@
14149fi14146fi
14150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkzlib_main" >&514147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkzlib_main" >&5
14151$as_echo "$ac_cv_lib_vtkzlib_main" >&6; }14148$as_echo "$ac_cv_lib_vtkzlib_main" >&6; }
14152if test "x$ac_cv_lib_vtkzlib_main" = xyes; then :14149if test "x$ac_cv_lib_vtkzlib_main" = x""yes; then :
14153 cat >>confdefs.h <<_ACEOF14150 cat >>confdefs.h <<_ACEOF
14154#define HAVE_LIBVTKZLIB 114151#define HAVE_LIBVTKZLIB 1
14155_ACEOF14152_ACEOF
@@ -14160,7 +14157,7 @@
1416014157
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkexpat" >&514158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkexpat" >&5
14162$as_echo_n "checking for main in -lvtkexpat... " >&6; }14159$as_echo_n "checking for main in -lvtkexpat... " >&6; }
14163if ${ac_cv_lib_vtkexpat_main+:} false; then :14160if test "${ac_cv_lib_vtkexpat_main+set}" = set; then :
14164 $as_echo_n "(cached) " >&614161 $as_echo_n "(cached) " >&6
14165else14162else
14166 ac_check_lib_save_LIBS=$LIBS14163 ac_check_lib_save_LIBS=$LIBS
@@ -14204,7 +14201,7 @@
14204fi14201fi
14205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkexpat_main" >&514202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkexpat_main" >&5
14206$as_echo "$ac_cv_lib_vtkexpat_main" >&6; }14203$as_echo "$ac_cv_lib_vtkexpat_main" >&6; }
14207if test "x$ac_cv_lib_vtkexpat_main" = xyes; then :14204if test "x$ac_cv_lib_vtkexpat_main" = x""yes; then :
14208 cat >>confdefs.h <<_ACEOF14205 cat >>confdefs.h <<_ACEOF
14209#define HAVE_LIBVTKEXPAT 114206#define HAVE_LIBVTKEXPAT 1
14210_ACEOF14207_ACEOF
@@ -14215,7 +14212,7 @@
1421514212
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkFiltering" >&514213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkFiltering" >&5
14217$as_echo_n "checking for main in -lvtkFiltering... " >&6; }14214$as_echo_n "checking for main in -lvtkFiltering... " >&6; }
14218if ${ac_cv_lib_vtkFiltering_main+:} false; then :14215if test "${ac_cv_lib_vtkFiltering_main+set}" = set; then :
14219 $as_echo_n "(cached) " >&614216 $as_echo_n "(cached) " >&6
14220else14217else
14221 ac_check_lib_save_LIBS=$LIBS14218 ac_check_lib_save_LIBS=$LIBS
@@ -14259,7 +14256,7 @@
14259fi14256fi
14260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkFiltering_main" >&514257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkFiltering_main" >&5
14261$as_echo "$ac_cv_lib_vtkFiltering_main" >&6; }14258$as_echo "$ac_cv_lib_vtkFiltering_main" >&6; }
14262if test "x$ac_cv_lib_vtkFiltering_main" = xyes; then :14259if test "x$ac_cv_lib_vtkFiltering_main" = x""yes; then :
14263 cat >>confdefs.h <<_ACEOF14260 cat >>confdefs.h <<_ACEOF
14264#define HAVE_LIBVTKFILTERING 114261#define HAVE_LIBVTKFILTERING 1
14265_ACEOF14262_ACEOF
@@ -14270,7 +14267,7 @@
1427014267
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkGraphics" >&514268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkGraphics" >&5
14272$as_echo_n "checking for main in -lvtkGraphics... " >&6; }14269$as_echo_n "checking for main in -lvtkGraphics... " >&6; }
14273if ${ac_cv_lib_vtkGraphics_main+:} false; then :14270if test "${ac_cv_lib_vtkGraphics_main+set}" = set; then :
14274 $as_echo_n "(cached) " >&614271 $as_echo_n "(cached) " >&6
14275else14272else
14276 ac_check_lib_save_LIBS=$LIBS14273 ac_check_lib_save_LIBS=$LIBS
@@ -14314,7 +14311,7 @@
14314fi14311fi
14315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkGraphics_main" >&514312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkGraphics_main" >&5
14316$as_echo "$ac_cv_lib_vtkGraphics_main" >&6; }14313$as_echo "$ac_cv_lib_vtkGraphics_main" >&6; }
14317if test "x$ac_cv_lib_vtkGraphics_main" = xyes; then :14314if test "x$ac_cv_lib_vtkGraphics_main" = x""yes; then :
14318 cat >>confdefs.h <<_ACEOF14315 cat >>confdefs.h <<_ACEOF
14319#define HAVE_LIBVTKGRAPHICS 114316#define HAVE_LIBVTKGRAPHICS 1
14320_ACEOF14317_ACEOF
@@ -14325,7 +14322,7 @@
1432514322
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkIO" >&514323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvtkIO" >&5
14327$as_echo_n "checking for main in -lvtkIO... " >&6; }14324$as_echo_n "checking for main in -lvtkIO... " >&6; }
14328if ${ac_cv_lib_vtkIO_main+:} false; then :14325if test "${ac_cv_lib_vtkIO_main+set}" = set; then :
14329 $as_echo_n "(cached) " >&614326 $as_echo_n "(cached) " >&6
14330else14327else
14331 ac_check_lib_save_LIBS=$LIBS14328 ac_check_lib_save_LIBS=$LIBS
@@ -14369,7 +14366,7 @@
14369fi14366fi
14370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkIO_main" >&514367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vtkIO_main" >&5
14371$as_echo "$ac_cv_lib_vtkIO_main" >&6; }14368$as_echo "$ac_cv_lib_vtkIO_main" >&6; }
14372if test "x$ac_cv_lib_vtkIO_main" = xyes; then :14369if test "x$ac_cv_lib_vtkIO_main" = x""yes; then :
14373 cat >>confdefs.h <<_ACEOF14370 cat >>confdefs.h <<_ACEOF
14374#define HAVE_LIBVTKIO 114371#define HAVE_LIBVTKIO 1
14375_ACEOF14372_ACEOF
@@ -14393,7 +14390,7 @@
14393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&514390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14394$as_echo_n "checking how to run the C++ preprocessor... " >&6; }14391$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14395if test -z "$CXXCPP"; then14392if test -z "$CXXCPP"; then
14396 if ${ac_cv_prog_CXXCPP+:} false; then :14393 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14397 $as_echo_n "(cached) " >&614394 $as_echo_n "(cached) " >&6
14398else14395else
14399 # Double quotes because CXXCPP needs to be expanded14396 # Double quotes because CXXCPP needs to be expanded
@@ -14509,7 +14506,7 @@
14509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&514506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}14507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14511as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check14508as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14512See \`config.log' for more details" "$LINENO" 5; }14509See \`config.log' for more details" "$LINENO" 5 ; }
14513fi14510fi
1451414511
14515ac_ext=cpp14512ac_ext=cpp
@@ -14520,13 +14517,13 @@
1452014517
1452114518
14522ac_fn_cxx_check_header_mongrel "$LINENO" "vtkCellData.h" "ac_cv_header_vtkCellData_h" "$ac_includes_default"14519ac_fn_cxx_check_header_mongrel "$LINENO" "vtkCellData.h" "ac_cv_header_vtkCellData_h" "$ac_includes_default"
14523if test "x$ac_cv_header_vtkCellData_h" = xyes; then :14520if test "x$ac_cv_header_vtkCellData_h" = x""yes; then :
14524 CPPFLAGS="$CPPFLAGS -DHAVE_VTK=1"14521 CPPFLAGS="$CPPFLAGS -DHAVE_VTK=1"
14525 VTK=yes14522 VTK=yes
1452614523
14527else14524else
14528 ac_fn_cxx_check_header_mongrel "$LINENO" "vtk-5.0/vtkCellData.h" "ac_cv_header_vtk_5_0_vtkCellData_h" "$ac_includes_default"14525 ac_fn_cxx_check_header_mongrel "$LINENO" "vtk-5.0/vtkCellData.h" "ac_cv_header_vtk_5_0_vtkCellData_h" "$ac_includes_default"
14529if test "x$ac_cv_header_vtk_5_0_vtkCellData_h" = xyes; then :14526if test "x$ac_cv_header_vtk_5_0_vtkCellData_h" = x""yes; then :
14530 CPPFLAGS="$CPPFLAGS -DHAVE_VTK=1"14527 CPPFLAGS="$CPPFLAGS -DHAVE_VTK=1"
14531 VTK=yes14528 VTK=yes
14532 vtk_header_relative_path="vtk-5.0/"14529 vtk_header_relative_path="vtk-5.0/"
@@ -14683,7 +14680,7 @@
14683if test "$enable_hyperlight" = "yes"; then14680if test "$enable_hyperlight" = "yes"; then
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Hyperlight.h" >&514681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Hyperlight.h" >&5
14685$as_echo_n "checking for hyperlight/Hyperlight.h... " >&6; }14682$as_echo_n "checking for hyperlight/Hyperlight.h... " >&6; }
14686if ${ac_cv_file_hyperlight_Hyperlight_h+:} false; then :14683if test "${ac_cv_file_hyperlight_Hyperlight_h+set}" = set; then :
14687 $as_echo_n "(cached) " >&614684 $as_echo_n "(cached) " >&6
14688else14685else
14689 test "$cross_compiling" = yes &&14686 test "$cross_compiling" = yes &&
@@ -14696,7 +14693,7 @@
14696fi14693fi
14697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Hyperlight_h" >&514694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Hyperlight_h" >&5
14698$as_echo "$ac_cv_file_hyperlight_Hyperlight_h" >&6; }14695$as_echo "$ac_cv_file_hyperlight_Hyperlight_h" >&6; }
14699if test "x$ac_cv_file_hyperlight_Hyperlight_h" = xyes; then :14696if test "x$ac_cv_file_hyperlight_Hyperlight_h" = x""yes; then :
1470014697
14701cat >>confdefs.h <<_ACEOF14698cat >>confdefs.h <<_ACEOF
14702#define HAVE_HYPERLIGHT_HYPERLIGHT_H 114699#define HAVE_HYPERLIGHT_HYPERLIGHT_H 1
@@ -14714,7 +14711,7 @@
14714fi14711fi
14715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Hyperlight.cpp" >&514712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Hyperlight.cpp" >&5
14716$as_echo_n "checking for hyperlight/Hyperlight.cpp... " >&6; }14713$as_echo_n "checking for hyperlight/Hyperlight.cpp... " >&6; }
14717if ${ac_cv_file_hyperlight_Hyperlight_cpp+:} false; then :14714if test "${ac_cv_file_hyperlight_Hyperlight_cpp+set}" = set; then :
14718 $as_echo_n "(cached) " >&614715 $as_echo_n "(cached) " >&6
14719else14716else
14720 test "$cross_compiling" = yes &&14717 test "$cross_compiling" = yes &&
@@ -14727,7 +14724,7 @@
14727fi14724fi
14728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Hyperlight_cpp" >&514725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Hyperlight_cpp" >&5
14729$as_echo "$ac_cv_file_hyperlight_Hyperlight_cpp" >&6; }14726$as_echo "$ac_cv_file_hyperlight_Hyperlight_cpp" >&6; }
14730if test "x$ac_cv_file_hyperlight_Hyperlight_cpp" = xyes; then :14727if test "x$ac_cv_file_hyperlight_Hyperlight_cpp" = x""yes; then :
1473114728
14732cat >>confdefs.h <<_ACEOF14729cat >>confdefs.h <<_ACEOF
14733#define HAVE_HYPERLIGHT_HYPERLIGHT_CPP 114730#define HAVE_HYPERLIGHT_HYPERLIGHT_CPP 1
@@ -14745,7 +14742,7 @@
14745fi14742fi
14746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Sky.h" >&514743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Sky.h" >&5
14747$as_echo_n "checking for hyperlight/Sky.h... " >&6; }14744$as_echo_n "checking for hyperlight/Sky.h... " >&6; }
14748if ${ac_cv_file_hyperlight_Sky_h+:} false; then :14745if test "${ac_cv_file_hyperlight_Sky_h+set}" = set; then :
14749 $as_echo_n "(cached) " >&614746 $as_echo_n "(cached) " >&6
14750else14747else
14751 test "$cross_compiling" = yes &&14748 test "$cross_compiling" = yes &&
@@ -14758,7 +14755,7 @@
14758fi14755fi
14759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Sky_h" >&514756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Sky_h" >&5
14760$as_echo "$ac_cv_file_hyperlight_Sky_h" >&6; }14757$as_echo "$ac_cv_file_hyperlight_Sky_h" >&6; }
14761if test "x$ac_cv_file_hyperlight_Sky_h" = xyes; then :14758if test "x$ac_cv_file_hyperlight_Sky_h" = x""yes; then :
1476214759
14763cat >>confdefs.h <<_ACEOF14760cat >>confdefs.h <<_ACEOF
14764#define HAVE_HYPERLIGHT_SKY_H 114761#define HAVE_HYPERLIGHT_SKY_H 1
@@ -14776,7 +14773,7 @@
14776fi14773fi
14777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Sky.cpp" >&514774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Sky.cpp" >&5
14778$as_echo_n "checking for hyperlight/Sky.cpp... " >&6; }14775$as_echo_n "checking for hyperlight/Sky.cpp... " >&6; }
14779if ${ac_cv_file_hyperlight_Sky_cpp+:} false; then :14776if test "${ac_cv_file_hyperlight_Sky_cpp+set}" = set; then :
14780 $as_echo_n "(cached) " >&614777 $as_echo_n "(cached) " >&6
14781else14778else
14782 test "$cross_compiling" = yes &&14779 test "$cross_compiling" = yes &&
@@ -14789,7 +14786,7 @@
14789fi14786fi
14790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Sky_cpp" >&514787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Sky_cpp" >&5
14791$as_echo "$ac_cv_file_hyperlight_Sky_cpp" >&6; }14788$as_echo "$ac_cv_file_hyperlight_Sky_cpp" >&6; }
14792if test "x$ac_cv_file_hyperlight_Sky_cpp" = xyes; then :14789if test "x$ac_cv_file_hyperlight_Sky_cpp" = x""yes; then :
1479314790
14794cat >>confdefs.h <<_ACEOF14791cat >>confdefs.h <<_ACEOF
14795#define HAVE_HYPERLIGHT_SKY_CPP 114792#define HAVE_HYPERLIGHT_SKY_CPP 1
@@ -14807,7 +14804,7 @@
14807fi14804fi
14808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Iop.h" >&514805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Iop.h" >&5
14809$as_echo_n "checking for hyperlight/Iop.h... " >&6; }14806$as_echo_n "checking for hyperlight/Iop.h... " >&6; }
14810if ${ac_cv_file_hyperlight_Iop_h+:} false; then :14807if test "${ac_cv_file_hyperlight_Iop_h+set}" = set; then :
14811 $as_echo_n "(cached) " >&614808 $as_echo_n "(cached) " >&6
14812else14809else
14813 test "$cross_compiling" = yes &&14810 test "$cross_compiling" = yes &&
@@ -14820,7 +14817,7 @@
14820fi14817fi
14821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Iop_h" >&514818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Iop_h" >&5
14822$as_echo "$ac_cv_file_hyperlight_Iop_h" >&6; }14819$as_echo "$ac_cv_file_hyperlight_Iop_h" >&6; }
14823if test "x$ac_cv_file_hyperlight_Iop_h" = xyes; then :14820if test "x$ac_cv_file_hyperlight_Iop_h" = x""yes; then :
1482414821
14825cat >>confdefs.h <<_ACEOF14822cat >>confdefs.h <<_ACEOF
14826#define HAVE_HYPERLIGHT_IOP_H 114823#define HAVE_HYPERLIGHT_IOP_H 1
@@ -14838,7 +14835,7 @@
14838fi14835fi
14839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Iop.cpp" >&514836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyperlight/Iop.cpp" >&5
14840$as_echo_n "checking for hyperlight/Iop.cpp... " >&6; }14837$as_echo_n "checking for hyperlight/Iop.cpp... " >&6; }
14841if ${ac_cv_file_hyperlight_Iop_cpp+:} false; then :14838if test "${ac_cv_file_hyperlight_Iop_cpp+set}" = set; then :
14842 $as_echo_n "(cached) " >&614839 $as_echo_n "(cached) " >&6
14843else14840else
14844 test "$cross_compiling" = yes &&14841 test "$cross_compiling" = yes &&
@@ -14851,7 +14848,7 @@
14851fi14848fi
14852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Iop_cpp" >&514849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_hyperlight_Iop_cpp" >&5
14853$as_echo "$ac_cv_file_hyperlight_Iop_cpp" >&6; }14850$as_echo "$ac_cv_file_hyperlight_Iop_cpp" >&6; }
14854if test "x$ac_cv_file_hyperlight_Iop_cpp" = xyes; then :14851if test "x$ac_cv_file_hyperlight_Iop_cpp" = x""yes; then :
1485514852
14856cat >>confdefs.h <<_ACEOF14853cat >>confdefs.h <<_ACEOF
14857#define HAVE_HYPERLIGHT_IOP_CPP 114854#define HAVE_HYPERLIGHT_IOP_CPP 1
@@ -14870,7 +14867,7 @@
1487014867
14871fi14868fi
1487214869
14873ac_config_files="$ac_config_files Makefile debug/Makefile bathymetry/Makefile ocean_forcing/Makefile ocean_forcing/tests/Makefile sediments/Makefile hyperlight/Makefile femtools/Makefile femtools/tests/Makefile forward_interfaces/Makefile horizontal_adaptivity/Makefile horizontal_adaptivity/tests/Makefile preprocessor/Makefile error_measures/Makefile error_measures/tests/Makefile parameterisation/Makefile parameterisation/tests/Makefile fldecomp/Makefile assemble/Makefile assemble/tests/Makefile diagnostics/Makefile main/Makefile tools/Makefile python/setup.py adjoint/Makefile adjoint/tests/Makefile climatology/Makefile libmba2d/Makefile libmba3d/Makefile libjudy/Makefile libjudy/src/Makefile libjudy/src/JudyCommon/Makefile libjudy/src/Judy1/Makefile libjudy/src/JudyL/Makefile libjudy/src/JudySL/Makefile libjudy/src/JudyHS/Makefile libalgencan/Makefile libwm/Makefile libvtkfortran/Makefile reduced_modelling/Makefile"14870ac_config_files="$ac_config_files Makefile debug/Makefile bathymetry/Makefile ocean_forcing/Makefile ocean_forcing/tests/Makefile sediments/Makefile hyperlight/Makefile femtools/Makefile femtools/tests/Makefile forward_interfaces/Makefile horizontal_adaptivity/Makefile horizontal_adaptivity/tests/Makefile preprocessor/Makefile error_measures/Makefile error_measures/tests/Makefile parameterisation/Makefile parameterisation/tests/Makefile fldecomp/Makefile assemble/Makefile assemble/tests/Makefile diagnostics/Makefile main/Makefile tools/Makefile python/setup.py adjoint/Makefile adjoint/tests/Makefile climatology/Makefile libmba2d/Makefile libmba3d/Makefile libjudy/Makefile libjudy/src/Makefile libjudy/src/JudyCommon/Makefile libjudy/src/Judy1/Makefile libjudy/src/JudyL/Makefile libjudy/src/JudySL/Makefile libjudy/src/JudyHS/Makefile libalgencan/Makefile libwm/Makefile libvtkfortran/Makefile schemas/flml reduced_modelling/Makefile"
1487414871
14875cat >confcache <<\_ACEOF14872cat >confcache <<\_ACEOF
14876# This file is a shell script that caches the results of configure14873# This file is a shell script that caches the results of configure
@@ -14936,21 +14933,10 @@
14936 :end' >>confcache14933 :end' >>confcache
14937if diff "$cache_file" confcache >/dev/null 2>&1; then :; else14934if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14938 if test -w "$cache_file"; then14935 if test -w "$cache_file"; then
14939 if test "x$cache_file" != "x/dev/null"; then14936 test "x$cache_file" != "x/dev/null" &&
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&514937 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14941$as_echo "$as_me: updating cache $cache_file" >&6;}14938$as_echo "$as_me: updating cache $cache_file" >&6;}
14942 if test ! -f "$cache_file" || test -h "$cache_file"; then14939 cat confcache >$cache_file
14943 cat confcache >"$cache_file"
14944 else
14945 case $cache_file in #(
14946 */* | ?:*)
14947 mv -f confcache "$cache_file"$$ &&
14948 mv -f "$cache_file"$$ "$cache_file" ;; #(
14949 *)
14950 mv -f confcache "$cache_file" ;;
14951 esac
14952 fi
14953 fi
14954 else14940 else
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&514941 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14956$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}14942$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -14982,7 +14968,7 @@
1498214968
1498314969
1498414970
14985: "${CONFIG_STATUS=./config.status}"14971: ${CONFIG_STATUS=./config.status}
14986ac_write_fail=014972ac_write_fail=0
14987ac_clean_files_save=$ac_clean_files14973ac_clean_files_save=$ac_clean_files
14988ac_clean_files="$ac_clean_files $CONFIG_STATUS"14974ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -15083,7 +15069,6 @@
15083IFS=" "" $as_nl"15069IFS=" "" $as_nl"
1508415070
15085# Find who we are. Look in the path if we contain no directory separator.15071# Find who we are. Look in the path if we contain no directory separator.
15086as_myself=
15087case $0 in #((15072case $0 in #((
15088 *[\\/]* ) as_myself=$0 ;;15073 *[\\/]* ) as_myself=$0 ;;
15089 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15074 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -15390,8 +15375,8 @@
15390# report actual input values of CONFIG_FILES etc. instead of their15375# report actual input values of CONFIG_FILES etc. instead of their
15391# values after options handling.15376# values after options handling.
15392ac_log="15377ac_log="
15393This file was extended by fluidity $as_me trunk.3665, which was15378This file was extended by fluidity $as_me None, which was
15394generated by GNU Autoconf 2.68. Invocation command line was15379generated by GNU Autoconf 2.67. Invocation command line was
1539515380
15396 CONFIG_FILES = $CONFIG_FILES15381 CONFIG_FILES = $CONFIG_FILES
15397 CONFIG_HEADERS = $CONFIG_HEADERS15382 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -15452,8 +15437,8 @@
15452cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115437cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15453ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"15438ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15454ac_cs_version="\\15439ac_cs_version="\\
15455fluidity config.status trunk.366515440fluidity config.status None
15456configured by $0, generated by GNU Autoconf 2.68,15441configured by $0, generated by GNU Autoconf 2.67,
15457 with options \\"\$ac_cs_config\\"15442 with options \\"\$ac_cs_config\\"
1545815443
15459Copyright (C) 2010 Free Software Foundation, Inc.15444Copyright (C) 2010 Free Software Foundation, Inc.
@@ -15614,9 +15599,10 @@
15614 "libalgencan/Makefile") CONFIG_FILES="$CONFIG_FILES libalgencan/Makefile" ;;15599 "libalgencan/Makefile") CONFIG_FILES="$CONFIG_FILES libalgencan/Makefile" ;;
15615 "libwm/Makefile") CONFIG_FILES="$CONFIG_FILES libwm/Makefile" ;;15600 "libwm/Makefile") CONFIG_FILES="$CONFIG_FILES libwm/Makefile" ;;
15616 "libvtkfortran/Makefile") CONFIG_FILES="$CONFIG_FILES libvtkfortran/Makefile" ;;15601 "libvtkfortran/Makefile") CONFIG_FILES="$CONFIG_FILES libvtkfortran/Makefile" ;;
15602 "schemas/flml") CONFIG_FILES="$CONFIG_FILES schemas/flml" ;;
15617 "reduced_modelling/Makefile") CONFIG_FILES="$CONFIG_FILES reduced_modelling/Makefile" ;;15603 "reduced_modelling/Makefile") CONFIG_FILES="$CONFIG_FILES reduced_modelling/Makefile" ;;
1561815604
15619 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;15605 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15620 esac15606 esac
15621done15607done
1562215608
@@ -15638,10 +15624,9 @@
15638# after its creation but before its name has been assigned to `$tmp'.15624# after its creation but before its name has been assigned to `$tmp'.
15639$debug ||15625$debug ||
15640{15626{
15641 tmp= ac_tmp=15627 tmp=
15642 trap 'exit_status=$?15628 trap 'exit_status=$?
15643 : "${ac_tmp:=$tmp}"15629 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15644 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15645' 015630' 0
15646 trap 'as_fn_exit 1' 1 2 13 1515631 trap 'as_fn_exit 1' 1 2 13 15
15647}15632}
@@ -15649,13 +15634,12 @@
1564915634
15650{15635{
15651 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&15636 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15652 test -d "$tmp"15637 test -n "$tmp" && test -d "$tmp"
15653} ||15638} ||
15654{15639{
15655 tmp=./conf$$-$RANDOM15640 tmp=./conf$$-$RANDOM
15656 (umask 077 && mkdir "$tmp")15641 (umask 077 && mkdir "$tmp")
15657} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 515642} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15658ac_tmp=$tmp
1565915643
15660# Set up the scripts for CONFIG_FILES section.15644# Set up the scripts for CONFIG_FILES section.
15661# No need to generate them if there are no CONFIG_FILES.15645# No need to generate them if there are no CONFIG_FILES.
@@ -15677,7 +15661,7 @@
15677 ac_cs_awk_cr=$ac_cr15661 ac_cs_awk_cr=$ac_cr
15678fi15662fi
1567915663
15680echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&15664echo 'BEGIN {' >"$tmp/subs1.awk" &&
15681_ACEOF15665_ACEOF
1568215666
1568315667
@@ -15705,7 +15689,7 @@
15705rm -f conf$$subs.sh15689rm -f conf$$subs.sh
1570615690
15707cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15708cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&15692cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15709_ACEOF15693_ACEOF
15710sed -n '15694sed -n '
15711h15695h
@@ -15753,7 +15737,7 @@
15753rm -f conf$$subs.awk15737rm -f conf$$subs.awk
15754cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115738cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15755_ACAWK15739_ACAWK
15756cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&15740cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15757 for (key in S) S_is_set[key] = 115741 for (key in S) S_is_set[key] = 1
15758 FS = ""15742 FS = ""
1575915743
@@ -15785,7 +15769,7 @@
15785 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"15769 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15786else15770else
15787 cat15771 cat
15788fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \15772fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15789 || as_fn_error $? "could not setup config files machinery" "$LINENO" 515773 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15790_ACEOF15774_ACEOF
1579115775
@@ -15819,7 +15803,7 @@
15819# No need to generate them if there are no CONFIG_HEADERS.15803# No need to generate them if there are no CONFIG_HEADERS.
15820# This happens for instance with `./config.status Makefile'.15804# This happens for instance with `./config.status Makefile'.
15821if test -n "$CONFIG_HEADERS"; then15805if test -n "$CONFIG_HEADERS"; then
15822cat >"$ac_tmp/defines.awk" <<\_ACAWK ||15806cat >"$tmp/defines.awk" <<\_ACAWK ||
15823BEGIN {15807BEGIN {
15824_ACEOF15808_ACEOF
1582515809
@@ -15831,8 +15815,8 @@
15831# handling of long lines.15815# handling of long lines.
15832ac_delim='%!_!# '15816ac_delim='%!_!# '
15833for ac_last_try in false false :; do15817for ac_last_try in false false :; do
15834 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`15818 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15835 if test -z "$ac_tt"; then15819 if test -z "$ac_t"; then
15836 break15820 break
15837 elif $ac_last_try; then15821 elif $ac_last_try; then
15838 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 515822 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
@@ -15933,7 +15917,7 @@
15933 esac15917 esac
15934 case $ac_mode$ac_tag in15918 case $ac_mode$ac_tag in
15935 :[FHL]*:*);;15919 :[FHL]*:*);;
15936 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;15920 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15937 :[FH]-) ac_tag=-:-;;15921 :[FH]-) ac_tag=-:-;;
15938 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;15922 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15939 esac15923 esac
@@ -15952,7 +15936,7 @@
15952 for ac_f15936 for ac_f
15953 do15937 do
15954 case $ac_f in15938 case $ac_f in
15955 -) ac_f="$ac_tmp/stdin";;15939 -) ac_f="$tmp/stdin";;
15956 *) # Look for the file first in the build tree, then in the source tree15940 *) # Look for the file first in the build tree, then in the source tree
15957 # (if the path is not absolute). The absolute path cannot be DOS-style,15941 # (if the path is not absolute). The absolute path cannot be DOS-style,
15958 # because $ac_f cannot contain `:'.15942 # because $ac_f cannot contain `:'.
@@ -15961,7 +15945,7 @@
15961 [\\/$]*) false;;15945 [\\/$]*) false;;
15962 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;15946 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15963 esac ||15947 esac ||
15964 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;15948 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15965 esac15949 esac
15966 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac15950 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15967 as_fn_append ac_file_inputs " '$ac_f'"15951 as_fn_append ac_file_inputs " '$ac_f'"
@@ -15987,8 +15971,8 @@
15987 esac15971 esac
1598815972
15989 case $ac_tag in15973 case $ac_tag in
15990 *:-:* | *:-) cat >"$ac_tmp/stdin" \15974 *:-:* | *:-) cat >"$tmp/stdin" \
15991 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;15975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15992 esac15976 esac
15993 ;;15977 ;;
15994 esac15978 esac
@@ -16118,22 +16102,21 @@
16118s&@INSTALL@&$ac_INSTALL&;t t16102s&@INSTALL@&$ac_INSTALL&;t t
16119$ac_datarootdir_hack16103$ac_datarootdir_hack
16120"16104"
16121eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \16105eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16122 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 516106 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1612316107
16124test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&16108test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16125 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&16109 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16126 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \16110 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16127 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'16111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16129which seems to be undefined. Please make sure it is defined" >&516112which seems to be undefined. Please make sure it is defined" >&5
16130$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'16113$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16131which seems to be undefined. Please make sure it is defined" >&2;}16114which seems to be undefined. Please make sure it is defined" >&2;}
1613216115
16133 rm -f "$ac_tmp/stdin"16116 rm -f "$tmp/stdin"
16134 case $ac_file in16117 case $ac_file in
16135 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;16118 -) cat "$tmp/out" && rm -f "$tmp/out";;
16136 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;16119 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16137 esac \16120 esac \
16138 || as_fn_error $? "could not create $ac_file" "$LINENO" 516121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16139 ;;16122 ;;
@@ -16144,20 +16127,20 @@
16144 if test x"$ac_file" != x-; then16127 if test x"$ac_file" != x-; then
16145 {16128 {
16146 $as_echo "/* $configure_input */" \16129 $as_echo "/* $configure_input */" \
16147 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"16130 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16148 } >"$ac_tmp/config.h" \16131 } >"$tmp/config.h" \
16149 || as_fn_error $? "could not create $ac_file" "$LINENO" 516132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16150 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then16133 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&516134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16152$as_echo "$as_me: $ac_file is unchanged" >&6;}16135$as_echo "$as_me: $ac_file is unchanged" >&6;}
16153 else16136 else
16154 rm -f "$ac_file"16137 rm -f "$ac_file"
16155 mv "$ac_tmp/config.h" "$ac_file" \16138 mv "$tmp/config.h" "$ac_file" \
16156 || as_fn_error $? "could not create $ac_file" "$LINENO" 516139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16157 fi16140 fi
16158 else16141 else
16159 $as_echo "/* $configure_input */" \16142 $as_echo "/* $configure_input */" \
16160 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \16143 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16161 || as_fn_error $? "could not create -" "$LINENO" 516144 || as_fn_error $? "could not create -" "$LINENO" 5
16162 fi16145 fi
16163 ;;16146 ;;
1616416147
=== modified file 'configure.in'
--- configure.in 2011-10-21 10:05:25 +0000
+++ configure.in 2011-11-30 17:31:28 +0000
@@ -26,11 +26,15 @@
26# USA26# USA
2727
28dnl Process this file with autoconf to produce a configure script.28dnl Process this file with autoconf to produce a configure script.
29# Version is comprised of the branch name and the repository revision number.29
30AC_INIT(fluidity, m4_esyscmd([echo -n `bzr info | egrep 'parent branch|checkout of' | awk -F/ '{print $(NF-1)}'`.`bzr revision-info | awk '{print $1}'`]))30AC_INIT(fluidity, None)
3131
32AC_CONFIG_HEADERS(include/config.h)32AC_CONFIG_HEADERS(include/config.h)
3333
34# we ignore PACKAGE_VERSION as it is useless
35# instead we pass on FLUIDITY_VERSION from the env. if it is set
36AC_SUBST(FLUIDITY_VERSION)
37
34echo "Hostname: `hostname`"38echo "Hostname: `hostname`"
3539
36# Store enviroment variables40# Store enviroment variables
@@ -1114,6 +1118,7 @@
1114AC_SUBST(FORTRAN_REAL_8)1118AC_SUBST(FORTRAN_REAL_8)
1115AC_SUBST(OPTIMIZATION_FFLAGS)1119AC_SUBST(OPTIMIZATION_FFLAGS)
1116AC_SUBST(LINKER)1120AC_SUBST(LINKER)
1121AC_SUBST(FLLINKER)
11171122
1118dnl Specific f90 options1123dnl Specific f90 options
1119AC_SUBST(USE_CPP)1124AC_SUBST(USE_CPP)
@@ -1212,7 +1217,9 @@
1212 AC_MSG_NOTICE([Building on hector xe6; disabling shared libraries])1217 AC_MSG_NOTICE([Building on hector xe6; disabling shared libraries])
1213 SHFLAG=--disable-shared1218 SHFLAG=--disable-shared
1214 SPUD_ONLY="yes"1219 SPUD_ONLY="yes"
1220 FLLINKER=$CXX
1215 else1221 else
1222 FLLINKER=$FC
1216 SHFLAG=--enable-shared1223 SHFLAG=--enable-shared
1217 fi1224 fi
1218 AC_SUBST(SPUD_ONLY)1225 AC_SUBST(SPUD_ONLY)
@@ -1532,4 +1539,5 @@
1532 libalgencan/Makefile1539 libalgencan/Makefile
1533 libwm/Makefile1540 libwm/Makefile
1534 libvtkfortran/Makefile1541 libvtkfortran/Makefile
1542 schemas/flml
1535 reduced_modelling/Makefile)1543 reduced_modelling/Makefile)
15361544
=== removed file 'debian/README.Debian'
--- debian/README.Debian 2009-12-16 14:11:47 +0000
+++ debian/README.Debian 1970-01-01 00:00:00 +0000
@@ -1,6 +0,0 @@
1fluidity for Debian
2-------------------
3
4<possible notes regarding this package - if none, delete this file>
5
6 -- David Ham <david.ham@imperial.ac.uk> Mon, 05 Nov 2007 15:35:54 +0000
70
=== modified file 'debian/changelog'
--- debian/changelog 2009-12-16 14:11:47 +0000
+++ debian/changelog 2011-11-30 17:31:28 +0000
@@ -1,3 +1,29 @@
1fluidity (4.1maverick1) maverick; urgency=low
2
3 * Fluidity release 4.1
4
5 -- Tim Bond <timothy.bond@imperial.ac.uk> Mon, 07 Nov 2011 12:49:49 +0000
6
7fluidity (4.0.999prerelease1maverick5) maverick; urgency=low
8
9 * Additional trunk changes brought in prior to release
10 * Adding in an examples tarball to the package for release
11
12 -- Tim Bond <timothy.bond@imperial.ac.uk> Sun, 06 Nov 2011 20:49:11 +0000
13
14fluidity (4.0.999prerelease1maverick4) maverick; urgency=low
15
16 * Removing fluidity-dev dependency; replacing with best guess at what is
17 needed for everyday running and to run the examples.
18
19 -- Tim Bond <timothy.bond@imperial.ac.uk> Thu, 03 Nov 2011 21:03:59 +0000
20
21fluidity (4.0.999prerelease1maverick1) maverick; urgency=low
22
23 * Fix the Debian packaging for release 4.1.
24
25 -- Patrick Farrell <patrick.farrell06@imperial.ac.uk> Wed, 02 Nov 2011 14:19:12 +0000
26
1fluidity (3.4.svn6573) unstable; urgency=low27fluidity (3.4.svn6573) unstable; urgency=low
228
3 * Another general update. In particular, several tools were out of date.29 * Another general update. In particular, several tools were out of date.
430
=== modified file 'debian/compat'
--- debian/compat 2009-12-16 14:11:47 +0000
+++ debian/compat 2011-11-30 17:31:28 +0000
@@ -1,1 +1,1 @@
1517
22
=== modified file 'debian/control'
--- debian/control 2009-12-16 14:11:47 +0000
+++ debian/control 2011-11-30 17:31:28 +0000
@@ -1,14 +1,16 @@
1Source: fluidity1Source: fluidity
2Section: unknown2Section: science
3Priority: extra3Priority: extra
4Maintainer: David Ham <david.ham@imperial.ac.uk>4Maintainer: Patrick Farrell <patrick.farrell06@imperial.ac.uk>
5Build-Depends: debhelper (>= 5), autotools-dev5Build-Depends: debhelper (>= 7.0.50~), fluidity-dev
6Standards-Version: 3.7.26Standards-Version: 3.9.1
7XS-Python-Version: >= 2.5
8Homepage: http://amcg.ese.ic.ac.uk/fluidity
79
8Package: fluidity10Package: fluidity
9Architecture: any11Architecture: any
10Depends: ${shlibs:Depends}, ${misc:Depends}, fluidity-dev12Depends: ${shlibs:Depends}, ${misc:Depends}, diamond, triangle | triangle-bin, python, gmsh, python-lxml, python-scipy, python-numpy, python-vtk, python-matplotlib, python-sympy, python-fluidity
11Description: 3D adaptive CFD from Imperial College London13Description: 3D adaptive CFD model from Imperial College London
12 Fluidity is a general purpose multi-phase CFD code capable of solving14 Fluidity is a general purpose multi-phase CFD code capable of solving
13 numerically the Navier-Stokes and accompanying field equations on15 numerically the Navier-Stokes and accompanying field equations on
14 arbitrary unstructured finite element meshes. It uses a moving finite16 arbitrary unstructured finite element meshes. It uses a moving finite
@@ -16,3 +18,18 @@
16 the mesh with time dependent problems. It has a wide range of Finite18 the mesh with time dependent problems. It has a wide range of Finite
17 element/spectral elements and full spectral methods which include19 element/spectral elements and full spectral methods which include
18 many elements for mixed formulations.20 many elements for mixed formulations.
21
22Package: python-fluidity
23Architecture: any
24Section: python
25XB-Python-Version: ${python:Versions}
26Depends: ${python:Depends}, ${misc:Depends}
27Description: 3D adaptive CFD model from Imperial College London
28 Fluidity is a general purpose multi-phase CFD code capable of solving
29 numerically the Navier-Stokes and accompanying field equations on
30 arbitrary unstructured finite element meshes. It uses a moving finite
31 element/spectral element method which allows arbitrary movement of
32 the mesh with time dependent problems. It has a wide range of Finite
33 element/spectral elements and full spectral methods which include
34 many elements for mixed formulations. This package contains the
35 Python scripts used by Fluidity.
1936
=== modified file 'debian/copyright'
--- debian/copyright 2009-12-16 14:11:47 +0000
+++ debian/copyright 2011-11-30 17:31:28 +0000
@@ -1,24 +1,20 @@
1This package was debianized by David Ham <david.ham@imperial.ac.uk> on1This package was debianized by David Ham <david.ham@imperial.ac.uk> on
2Mon, 05 Nov 2007 15:35:54 +0000.2Mon, 05 Nov 2007 15:35:54 +0000.
33
4It was downloaded from <url://example.com>4It was downloaded from http://amcg.ese.ic.ac.uk/fluidity
55
6Upstream Author(s): 6Upstream Author(s):
77
8 <put author's name and email here>8 See AUTHORS
9 <likewise for another author>
109
11Copyright: 10Copyright:
1211
13 <Copyright (C) YYYY Name OfAuthor>12 See AUTHORS
14 <likewise for another author>13 Copyright (C) 2002-2012 Imperial College London
1514
16License:15License:
1716
18 <Put the license of the package here indented by 4 spaces>17 LGPL v2.1
1918
20The Debian packaging is (C) 2007, David Ham <david.ham@imperial.ac.uk> and19The Debian packaging is (C) 2007, David Ham <david.ham@imperial.ac.uk> and
21is licensed under the GPL, see `/usr/share/common-licenses/GPL'.20is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
22
23# Please also look if there are files or directories which have a
24# different copyright/license attached and list them here.
2521
=== removed file 'debian/dirs'
--- debian/dirs 2009-12-16 14:11:47 +0000
+++ debian/dirs 1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
1usr/bin
2usr/sbin
30
=== modified file 'debian/docs'
--- debian/docs 2009-12-16 14:11:47 +0000
+++ debian/docs 2011-11-30 17:31:28 +0000
@@ -1,3 +1,2 @@
1AUTHORS1AUTHORS
2README2README
3LICENSE
43
=== added file 'debian/fluidity.dirs'
--- debian/fluidity.dirs 1970-01-01 00:00:00 +0000
+++ debian/fluidity.dirs 2011-11-30 17:31:28 +0000
@@ -0,0 +1,2 @@
1usr/bin
2usr/share/doc
03
=== added file 'debian/fluidity.install'
--- debian/fluidity.install 1970-01-01 00:00:00 +0000
+++ debian/fluidity.install 2011-11-30 17:31:28 +0000
@@ -0,0 +1,4 @@
1usr/bin/*
2usr/share/doc/*
3usr/share/diamond/schemata/*
4usr/share/fluidity/*
05
=== added file 'debian/python-fluidity.install'
--- debian/python-fluidity.install 1970-01-01 00:00:00 +0000
+++ debian/python-fluidity.install 2011-11-30 17:31:28 +0000
@@ -0,0 +1,2 @@
1usr/lib/python*/dist-packages/fluidity/*
2usr/lib/python*/dist-packages/*.py
03
=== modified file 'debian/rules'
--- debian/rules 2009-12-16 14:11:47 +0000
+++ debian/rules 2011-11-30 17:31:28 +0000
@@ -7,104 +7,25 @@
7# This special exception was added by Craig Small in version 0.37 of dh-make.7# This special exception was added by Craig Small in version 0.37 of dh-make.
88
9# Uncomment this to turn on verbose mode.9# Uncomment this to turn on verbose mode.
10#export DH_VERBOSE=110export DH_VERBOSE=1
1111export PETSC_DIR=/usr/lib/petscdir/3.1
1212export PETSC_ARCH=linux-gnu-c-opt
13# These are used for cross-compiling and for saving the configure script13export prefix=/usr
14# from having to guess our platform (since we know it already)14export DEB_BUILD_OPTIONS=nostrip
15DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)15export PYTHONPATH=
16DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)16export FLUIDITY_PYTHON_INSTALL_ARGS=--install-layout=deb
1717# setting this sets the version number reported by ./fluidity --version
1818# it also stops the build system trying to use bzr to get a version number
19export PATH:=/usr/lib/mpich-amcg-gcc4/bin:$(PATH)19export FLUIDITY_VERSION=fluidity/4.1
20export FC=gfortran20
21export F77=gfortran21%:
22export F90=gfortran22 dh --with=python2 $@
23export CC=gcc23
24export CXX=g++24override_dh_auto_build:
25export PETSC_DIR=/usr/lib/petscdir/2.3.3-amcg25 make -j8
26export PETSC_ARCH=amcg-gcc4-opt26 make manual
27export LIBS=-lX1127
2828override_dh_auto_configure:
2929 ./configure --prefix=/usr --enable-2d-adaptivity --datadir=/usr/share --datarootdir=/usr/share --docdir=/usr/share/doc
30config.status: configure30
31 dh_testdir31override_dh_auto_test:
32 # Add here commands to configure the package.
33
34ifneq "$(wildcard /usr/share/misc/config.sub)" ""
35 cp -f /usr/share/misc/config.sub config.sub
36endif
37ifneq "$(wildcard /usr/share/misc/config.guess)" ""
38 cp -f /usr/share/misc/config.guess config.guess
39endif
40 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
41
42
43build: build-stamp
44
45build-stamp: config.status
46 dh_testdir
47
48 # Add here commands to compile the package.
49 $(MAKE)
50 #docbook-to-man debian/fluidity.sgml > fluidity.1
51
52 touch $@
53
54clean:
55 dh_testdir
56 dh_testroot
57 rm -f build-stamp
58
59 # Add here commands to clean up after the build process.
60 $(MAKE) clean
61 rm -f config.sub config.guess
62
63 dh_clean
64
65install: build
66 dh_testdir
67 dh_testroot
68 dh_clean -k
69 dh_installdirs
70 # Add here commands to install the package into debian/fluidity.
71 $(MAKE) DESTDIR=$(CURDIR)/debian/fluidity install
72
73
74# Build architecture-independent files here.
75binary-indep: build install
76# We have nothing to do by default.
77
78# Build architecture-dependent files here.
79binary-arch: build install
80 dh_testdir
81 dh_testroot
82 dh_installchangelogs
83 dh_installdocs
84 dh_installexamples
85# dh_install
86# dh_installmenu
87# dh_installdebconf
88# dh_installlogrotate
89# dh_installemacsen
90# dh_installpam
91# dh_installmime
92# dh_python
93# dh_installinit
94# dh_installcron
95# dh_installinfo
96 dh_installman
97 dh_link
98 dh_strip
99 dh_compress
100 dh_fixperms
101# dh_perl
102# dh_makeshlibs
103 dh_installdeb
104 dh_shlibdeps
105 dh_gencontrol
106 dh_md5sums
107 dh_builddeb
108
109binary: binary-indep binary-arch
110.PHONY: build clean binary-indep binary-arch binary install
11132
=== modified file 'diagnostics/Differential_Operators.F90'
--- diagnostics/Differential_Operators.F90 2011-04-22 17:28:48 +0000
+++ diagnostics/Differential_Operators.F90 2011-11-30 17:31:28 +0000
@@ -55,6 +55,7 @@
55 private55 private
56 56
57 public :: calculate_grad, calculate_div, calculate_curl, calculate_perp, &57 public :: calculate_grad, calculate_div, calculate_curl, calculate_perp, &
58 & calculate_hessian, calculate_grad_vector, &
58 & calculate_curl_2d, calculate_finite_element_divergence, &59 & calculate_curl_2d, calculate_finite_element_divergence, &
59 & calculate_finite_element_divergence_transpose, &60 & calculate_finite_element_divergence_transpose, &
60 & calculate_scalar_advection, calculate_scalar_laplacian, &61 & calculate_scalar_advection, calculate_scalar_laplacian, &
@@ -79,6 +80,39 @@
79 80
80 end subroutine calculate_grad81 end subroutine calculate_grad
8182
83 subroutine calculate_grad_vector(state, t_field)
84 type(state_type), intent(inout) :: state
85 type(tensor_field), intent(inout) :: t_field
86
87 type(vector_field), pointer :: source_field
88 type(vector_field), pointer :: positions
89
90 positions => extract_vector_field(state, "Coordinate")
91 source_field => vector_source_field(state, t_field)
92
93 call check_source_mesh_derivative(source_field, "grad_vector")
94
95 call grad(source_field, positions, t_field)
96
97 end subroutine calculate_grad_vector
98
99 subroutine calculate_hessian(state, t_field)
100 ! Compute Hessian of a scalar field
101 type(state_type), intent(inout) :: state
102 type(tensor_field), intent(inout) :: t_field
103
104 type(scalar_field), pointer :: source_field
105 type(vector_field), pointer :: positions
106
107 positions => extract_vector_field(state, "Coordinate")
108 source_field => scalar_source_field(state, t_field)
109
110 call check_source_mesh_derivative(source_field, "hessian")
111
112 call compute_hessian(source_field, positions, t_field)
113
114 end subroutine calculate_hessian
115
82 subroutine calculate_div(state, s_field)116 subroutine calculate_div(state, s_field)
83 type(state_type), intent(in) :: state117 type(state_type), intent(in) :: state
84 type(scalar_field), intent(inout) :: s_field118 type(scalar_field), intent(inout) :: s_field
85119
=== modified file 'diagnostics/Field_Copies.F90'
--- diagnostics/Field_Copies.F90 2011-04-22 17:28:48 +0000
+++ diagnostics/Field_Copies.F90 2011-11-30 17:31:28 +0000
@@ -448,18 +448,19 @@
448 ! NOT a tensor here. Alpha is a scaling constant for the mesh size tensor.448 ! NOT a tensor here. Alpha is a scaling constant for the mesh size tensor.
449 real :: alpha449 real :: alpha
450 type(scalar_field), pointer :: source_field450 type(scalar_field), pointer :: source_field
451 type(vector_field), pointer :: positions451 type(vector_field), pointer :: positions, velocity
452452
453 ewrite(1, *) "In calculate_helmholtz_anisotropic_smoothed_scalar"453 ewrite(1, *) "In calculate_helmholtz_anisotropic_smoothed_scalar"
454454
455 positions => extract_vector_field(state, "Coordinate")455 positions => extract_vector_field(state, "Coordinate")
456 velocity => extract_vector_field(state, "Velocity")
456 source_field => scalar_source_field(state, s_field, allocated = allocated)457 source_field => scalar_source_field(state, s_field, allocated = allocated)
457458
458 path = trim(complete_field_path(s_field%option_path)) // "/algorithm"459 path = trim(complete_field_path(s_field%option_path)) // "/algorithm"
459 call get_option(trim(path) // "/smoothing_length_scale", alpha)460 call get_option(trim(path) // "/smoothing_length_scale", alpha)
460 call anisotropic_smooth_scalar(source_field, positions, s_field, alpha, path)
461
462 ewrite(2, *) "alpha = ", alpha461 ewrite(2, *) "alpha = ", alpha
462 call anisotropic_smooth_scalar(source_field, positions, velocity, s_field, alpha, path)
463
463 ewrite_minmax(source_field)464 ewrite_minmax(source_field)
464 ewrite_minmax(s_field)465 ewrite_minmax(s_field)
465466
@@ -485,9 +486,9 @@
485486
486 path = trim(complete_field_path(v_field%option_path)) // "/algorithm"487 path = trim(complete_field_path(v_field%option_path)) // "/algorithm"
487 call get_option(trim(path) // "/smoothing_length_scale", alpha)488 call get_option(trim(path) // "/smoothing_length_scale", alpha)
489 ewrite(2, *) "alpha = ", alpha
488 call anisotropic_smooth_vector(source_field, positions, v_field, alpha, path)490 call anisotropic_smooth_vector(source_field, positions, v_field, alpha, path)
489491
490 ewrite(2, *) "alpha = ", alpha
491 ewrite_minmax(source_field)492 ewrite_minmax(source_field)
492 ewrite_minmax(v_field)493 ewrite_minmax(v_field)
493 494
@@ -512,9 +513,9 @@
512513
513 path = trim(complete_field_path(t_field%option_path)) // "/algorithm"514 path = trim(complete_field_path(t_field%option_path)) // "/algorithm"
514 call get_option(trim(path) // "/smoothing_length_scale", alpha)515 call get_option(trim(path) // "/smoothing_length_scale", alpha)
516 ewrite(2, *) "alpha = ", alpha
515 call anisotropic_smooth_tensor(source_field, positions, t_field, alpha, path)517 call anisotropic_smooth_tensor(source_field, positions, t_field, alpha, path)
516518
517 ewrite(2, *) "alpha = ", alpha
518 ewrite_minmax(source_field)519 ewrite_minmax(source_field)
519 ewrite_minmax(t_field)520 ewrite_minmax(t_field)
520 521
521522
=== modified file 'diagnostics/Momentum_Diagnostics.F90'
--- diagnostics/Momentum_Diagnostics.F90 2011-10-03 12:48:49 +0000
+++ diagnostics/Momentum_Diagnostics.F90 2011-11-30 17:31:28 +0000
@@ -44,7 +44,7 @@
44 use spud44 use spud
45 use state_fields_module45 use state_fields_module
46 use state_module46 use state_module
47 use sediment47 use sediment, only : get_n_sediment_fields, get_sediment_item
48 48
49 implicit none49 implicit none
50 50
@@ -54,7 +54,7 @@
54 calculate_buoyancy, calculate_coriolis, calculate_tensor_second_invariant, &54 calculate_buoyancy, calculate_coriolis, calculate_tensor_second_invariant, &
55 calculate_imposed_material_velocity_source, calculate_imposed_material_velocity_absorption, &55 calculate_imposed_material_velocity_source, calculate_imposed_material_velocity_absorption, &
56 calculate_scalar_potential, calculate_projection_scalar_potential, &56 calculate_scalar_potential, calculate_projection_scalar_potential, &
57 calculate_geostrophic_velocity, calculate_hessian57 calculate_geostrophic_velocity, calculate_k_epsilon_diffusivity
58 58
59 59
60contains60contains
@@ -74,23 +74,78 @@
74 call strain_rate(source_field, positions, t_field)74 call strain_rate(source_field, positions, t_field)
7575
76 end subroutine calculate_strain_rate76 end subroutine calculate_strain_rate
7777
78 subroutine calculate_hessian(state, t_field)78 subroutine calculate_k_epsilon_diffusivity(state, t_field)
79 ! Compute Hessian of a scalar field79 ! calculates scalar field diffusivity based upon eddy viscosity and background
80 type(state_type), intent(inout) :: state80 ! diffusivity
81 type(state_type), intent(inout) :: state
81 type(tensor_field), intent(inout) :: t_field82 type(tensor_field), intent(inout) :: t_field
82 83 character(len = OPTION_PATH_LEN) :: parent_path
83 type(scalar_field), pointer :: source_field84 integer :: slash_location, i, stat
84 type(vector_field), pointer :: positions85 real :: prandtl_schmidt, local_background_diffusivity
8586 type(scalar_field) :: local_background_diffusivity_field
86 positions => extract_vector_field(state, "Coordinate")87 type(tensor_field), pointer :: global_background_diffusivity, eddy_viscosity
87 source_field => scalar_source_field(state, t_field)88 type(tensor_field) :: background_diffusivity
8889
89 call check_source_mesh_derivative(source_field, "hessian")90 ewrite(1,*) 'In calculate_k_epsilon_diffusivity'
9091
91 call compute_hessian(source_field, positions, t_field)92 ! get parent scalar field path
9293 slash_location = scan(t_field%option_path, '/', .true.)
93 end subroutine calculate_hessian94 parent_path = t_field%option_path(1:slash_location-1)
95
96 ! check options
97 if (.not.(have_option(trim(parent_path)//'/subgridscale_parameterisation::k-epsilon')))&
98 & then
99 FLExit('you must have /subgridscale_parameterisation(k-epsilon) to be able to calculate&
100 & diffusivity based upon the k-epsilon model')
101 end if
102
103 ! get prandtl_schmidt number
104 call get_option(trim(parent_path)//'/subgridscale_parameterisation::k-epsilon/Prandtl_&
105 &Schmidt_Number', prandtl_schmidt, stat=stat)
106 if (stat /= 0) then
107 prandtl_schmidt = 1.0
108 end if
109
110 ! allocate and zero required fields
111 call allocate(background_diffusivity, t_field%mesh, name="background_diff&
112 &usivity")
113 call zero(background_diffusivity)
114 call allocate(local_background_diffusivity_field, t_field%mesh, name="local_backgro&
115 &und_diffusivity_field")
116 call zero(local_background_diffusivity_field)
117
118 ! set background_diffusivity (local takes precendence over global)
119 call get_option(trim(parent_path)//'/subgridscale_parameterisation::k-epsilon/Backg&
120 &roundDiffusivity', local_background_diffusivity, stat=stat)
121 if (stat == 0) then
122 ! set local isotropic background diffusivity
123 call addto(local_background_diffusivity_field, local_background_diffusivity)
124 do i = 1, background_diffusivity%dim(1)
125 call set(background_diffusivity, i, i, local_background_diffusivity_field)
126 end do
127 else
128 global_background_diffusivity => extract_tensor_field(state, 'BackgroundDiffusivity', stat=stat)
129 if (stat == 0) then
130 call set(background_diffusivity, global_background_diffusivity)
131 end if
132 end if
133
134 ! get eddy viscosity
135 eddy_viscosity => extract_tensor_field(state, 'EddyViscosity', stat)
136 if (stat /= 0) then
137 FLExit("No EddyViscosity field was found. Check the k-epsilon model is turned on an&
138 &d you have a valid flml input file.")
139 end if
140
141 call zero(t_field)
142 call addto(t_field, background_diffusivity)
143 call addto(t_field, eddy_viscosity, 1.0/prandtl_schmidt)
144
145 call deallocate(background_diffusivity)
146 call deallocate(local_background_diffusivity_field)
147
148 end subroutine calculate_k_epsilon_diffusivity
94149
95 subroutine calculate_sediment_concentration_dependent_viscosity(state, t_field)150 subroutine calculate_sediment_concentration_dependent_viscosity(state, t_field)
96 ! calculates viscosity based upon total sediment concentration151 ! calculates viscosity based upon total sediment concentration
@@ -101,25 +156,23 @@
101 type(tensor_field), pointer :: zero_conc_viscosity156 type(tensor_field), pointer :: zero_conc_viscosity
102 type(scalar_field) :: rhs157 type(scalar_field) :: rhs
103 integer :: sediment_classes, i158 integer :: sediment_classes, i
104 character(len = OPTION_PATH_LEN) :: class_name159 character(len = FIELD_NAME_LEN) :: field_name
105 160
106 ewrite(1,*) 'In calculate sediment concentration dependent viscosity'161 ewrite(1,*) 'In calculate_sediment_concentration_dependent_viscosity'
107162
108 sediment_classes = get_nSediments()163 sediment_classes = get_n_sediment_fields()
109164
110 if (sediment_classes > 0) then165 if (sediment_classes > 0) then
111 allocate(sediment_concs(sediment_classes))166 allocate(sediment_concs(sediment_classes))
112 167
113 class_name=get_sediment_name(1)168 call get_sediment_item(state, 1, sediment_concs(1)%ptr)
114 sediment_concs(1)%ptr => extract_scalar_field(state,trim(class_name))
115 169
116 call allocate(rhs, sediment_concs(1)%ptr%mesh, name="Rhs")170 call allocate(rhs, sediment_concs(1)%ptr%mesh, name="Rhs")
117 call set(rhs, 1.0)171 call set(rhs, 1.0)
118 172
119 ! get sediment concentrations and remove c/0.65 from rhs173 ! get sediment concentrations and remove c/0.65 from rhs
120 do i=1, sediment_classes174 do i=1, sediment_classes
121 class_name=get_sediment_name(i)175 call get_sediment_item(state, i, sediment_concs(i)%ptr)
122 sediment_concs(i)%ptr => extract_scalar_field(state,trim(class_name))
123 call addto(rhs, sediment_concs(i)%ptr, scale=-(1.0/0.65))176 call addto(rhs, sediment_concs(i)%ptr, scale=-(1.0/0.65))
124 end do177 end do
125 178
@@ -128,17 +181,22 @@
128 call set(rhs, i, node_val(rhs, i)**(-1.625))181 call set(rhs, i, node_val(rhs, i)**(-1.625))
129 end do182 end do
130 183
184 ! check for presence of ZeroSedimentConcentrationViscosity field
185 if (.not. has_tensor_field(state, "ZeroSedimentConcentrationViscosity")) then
186 FLExit("You must specify an zero sediment concentration viscosity to be able &
187 &to calculate sediment concentration dependent viscosity field values")
188 endif
131 zero_conc_viscosity => extract_tensor_field(state, 'ZeroSedimentConcentrationViscosity')189 zero_conc_viscosity => extract_tensor_field(state, 'ZeroSedimentConcentrationViscosity')
132 190
133 call set(t_field, zero_conc_viscosity)191 call set(t_field, zero_conc_viscosity)
134 call scale(t_field, rhs)192 call scale(t_field, rhs)
135 ewrite_minmax(t_field) 193 ewrite_minmax(t_field)
136194
195 deallocate(sediment_concs)
137 call deallocate(rhs)196 call deallocate(rhs)
138 else197 else
139 ewrite(1,*) 'No sediment in problem definition'198 ewrite(1,*) 'No sediment in problem definition'
140 end if 199 end if
141
142 end subroutine calculate_sediment_concentration_dependent_viscosity200 end subroutine calculate_sediment_concentration_dependent_viscosity
143 201
144 subroutine calculate_tensor_second_invariant(state, s_field)202 subroutine calculate_tensor_second_invariant(state, s_field)
145203
=== modified file 'diagnostics/Simple_Diagnostics.F90'
--- diagnostics/Simple_Diagnostics.F90 2011-09-27 20:36:00 +0000
+++ diagnostics/Simple_Diagnostics.F90 2011-11-30 17:31:28 +0000
@@ -157,6 +157,7 @@
157 type(scalar_field), pointer :: source_field157 type(scalar_field), pointer :: source_field
158 real :: a, b, spin_up_time, current_time, dt, averaging_period158 real :: a, b, spin_up_time, current_time, dt, averaging_period
159 integer :: stat159 integer :: stat
160 logical :: absolute_vals=.false.
160161
161 if (timestep==0) then 162 if (timestep==0) then
162 last_output_time = 0.0163 last_output_time = 0.0
@@ -167,10 +168,12 @@
167 call get_option("/timestepping/current_time", current_time)168 call get_option("/timestepping/current_time", current_time)
168 call get_option("/timestepping/timestep", dt)169 call get_option("/timestepping/timestep", dt)
169170
171 absolute_vals=have_option(trim(s_field%option_path)//"/diagnostic/algorithm/absolute_values")
170 call get_option(trim(s_field%option_path)//"/diagnostic/algorithm/spin_up_time", spin_up_time, stat)172 call get_option(trim(s_field%option_path)//"/diagnostic/algorithm/spin_up_time", spin_up_time, stat)
171 if (stat /=0) spin_up_time=0.173 if (stat /=0) spin_up_time=0.
172174
173 source_field => scalar_source_field(state, s_field)175 source_field => scalar_source_field(state, s_field)
176 if(absolute_vals) source_field%val = abs(source_field%val)
174177
175 if (current_time>spin_up_time) then178 if (current_time>spin_up_time) then
176 a = (current_time-spin_up_time-dt)/(current_time-spin_up_time)179 a = (current_time-spin_up_time-dt)/(current_time-spin_up_time)
@@ -230,6 +233,7 @@
230 type(vector_field), pointer :: source_field233 type(vector_field), pointer :: source_field
231 real :: a, b, spin_up_time, current_time, dt234 real :: a, b, spin_up_time, current_time, dt
232 integer :: stat235 integer :: stat
236 logical :: absolute_vals
233237
234 if (timestep==0) then 238 if (timestep==0) then
235 call initialise_diagnostic_from_checkpoint(v_field)239 call initialise_diagnostic_from_checkpoint(v_field)
@@ -239,9 +243,11 @@
239 call get_option("/timestepping/current_time", current_time)243 call get_option("/timestepping/current_time", current_time)
240 call get_option("/timestepping/timestep", dt)244 call get_option("/timestepping/timestep", dt)
241245
246 absolute_vals=have_option(trim(v_field%option_path)//"/diagnostic/algorithm/absolute_values")
242 call get_option(trim(v_field%option_path)//"/diagnostic/algorithm/spin_up_time", spin_up_time, stat)247 call get_option(trim(v_field%option_path)//"/diagnostic/algorithm/spin_up_time", spin_up_time, stat)
243 if (stat /=0) spin_up_time=0.248 if (stat /=0) spin_up_time=0.
244 source_field => vector_source_field(state, v_field)249 source_field => vector_source_field(state, v_field)
250 if(absolute_vals) source_field%val = abs(source_field%val)
245251
246 if (current_time>spin_up_time) then252 if (current_time>spin_up_time) then
247 a = (current_time-spin_up_time-dt)/(current_time-spin_up_time); b = dt/(current_time-spin_up_time)253 a = (current_time-spin_up_time-dt)/(current_time-spin_up_time); b = dt/(current_time-spin_up_time)
@@ -374,33 +380,54 @@
374 type(scalar_field), intent(inout) :: s_field380 type(scalar_field), intent(inout) :: s_field
375381
376 type(scalar_field), pointer :: read_field382 type(scalar_field), pointer :: read_field
377 character(len = OPTION_PATH_LEN) :: path, filename383 character(len = OPTION_PATH_LEN) :: filename
378 logical :: checkpoint_exists384 logical :: checkpoint_exists
379 385 integer :: i
380 path = "/geometry/mesh::CoordinateMesh/from_file/file_name"386 integer :: stat
381 call get_option(trim(path), filename)387
388 stat = 1
389
390 do i = 1, option_count("/geometry/mesh")
391 if(have_option("/geometry/mesh["//int2str(i)//"]/from_file/file_name")) then
392 call get_option("/geometry/mesh["//int2str(i)//"]/from_file/file_name", filename, stat)
393 ewrite(2,*) "mesh from file: ", filename
394 end if
395 end do
396 if (stat /= 0) return
397
382 if(isparallel()) then398 if(isparallel()) then
383 filename = parallel_filename(trim_file_extension(filename), ".vtu")399 filename = parallel_filename(trim_file_extension(filename), ".vtu")
384 else400 else
385 filename = trim(filename) // ".vtu"401 filename = trim(filename) // ".vtu"
386 end if402 end if
387 inquire(file=trim(filename), exist=checkpoint_exists)403 inquire(file=trim(filename), exist=checkpoint_exists)
388 404
389 if (checkpoint_exists) then405 if (checkpoint_exists) then
390 read_field => vtk_cache_read_scalar_field(filename, trim(s_field%name))406 read_field => vtk_cache_read_scalar_field(filename, trim(s_field%name))
391 call set(s_field, read_field)407 call set(s_field, read_field)
392 end if408 end if
409
393 end subroutine initialise_diagnostic_scalar_from_checkpoint410 end subroutine initialise_diagnostic_scalar_from_checkpoint
394411
395 subroutine initialise_diagnostic_vector_from_checkpoint(v_field) 412 subroutine initialise_diagnostic_vector_from_checkpoint(v_field)
396 type(vector_field), intent(inout) :: v_field413 type(vector_field), intent(inout) :: v_field
397414
398 type(vector_field), pointer :: read_field415 type(vector_field), pointer :: read_field
399 character(len = OPTION_PATH_LEN) :: path, filename416 character(len = OPTION_PATH_LEN) :: filename
400 logical :: checkpoint_exists417 logical :: checkpoint_exists
401 418 integer :: i
402 path = "/geometry/mesh::CoordinateMesh/from_file/file_name"419 integer :: stat
403 call get_option(trim(path), filename)420
421 stat = 1
422
423 do i = 1, option_count("/geometry/mesh")
424 if(have_option("/geometry/mesh["//int2str(i)//"]/from_file/file_name")) then
425 call get_option("/geometry/mesh["//int2str(i)//"]/from_file/file_name", filename , stat)
426 ewrite(2,*) "mesh from file: ", filename
427 end if
428 end do
429 if (stat /= 0) return
430
404 if(isparallel()) then431 if(isparallel()) then
405 filename = parallel_filename(trim_file_extension(filename), ".vtu")432 filename = parallel_filename(trim_file_extension(filename), ".vtu")
406 else433 else
@@ -412,17 +439,28 @@
412 read_field => vtk_cache_read_vector_field(filename, trim(v_field%name))439 read_field => vtk_cache_read_vector_field(filename, trim(v_field%name))
413 call set(v_field, read_field)440 call set(v_field, read_field)
414 end if441 end if
442
415 end subroutine initialise_diagnostic_vector_from_checkpoint443 end subroutine initialise_diagnostic_vector_from_checkpoint
416444
417 subroutine initialise_diagnostic_tensor_from_checkpoint(t_field) 445 subroutine initialise_diagnostic_tensor_from_checkpoint(t_field)
418 type(tensor_field), intent(inout) :: t_field446 type(tensor_field), intent(inout) :: t_field
419447
420 type(tensor_field), pointer :: read_field448 type(tensor_field), pointer :: read_field
421 character(len = OPTION_PATH_LEN) :: path, filename449 character(len = OPTION_PATH_LEN) :: filename
422 logical :: checkpoint_exists450 logical :: checkpoint_exists
423 451 integer :: i
424 path = "/geometry/mesh::CoordinateMesh/from_file/file_name"452 integer :: stat
425 call get_option(trim(path), filename)453
454 stat = 1
455
456 do i = 1, option_count("/geometry/mesh")
457 if(have_option("/geometry/mesh["//int2str(i)//"]/from_file/file_name")) then
458 call get_option("/geometry/mesh["//int2str(i)//"]/from_file/file_name", filename, stat)
459 ewrite(2,*) "mesh from file: ", filename
460 end if
461 end do
462 if (stat /= 0) return
463
426 if(isparallel()) then464 if(isparallel()) then
427 filename = parallel_filename(trim_file_extension(filename), ".vtu")465 filename = parallel_filename(trim_file_extension(filename), ".vtu")
428 else466 else
@@ -434,6 +472,7 @@
434 read_field => vtk_cache_read_tensor_field(filename, trim(t_field%name))472 read_field => vtk_cache_read_tensor_field(filename, trim(t_field%name))
435 call set(t_field, read_field)473 call set(t_field, read_field)
436 end if474 end if
475
437 end subroutine initialise_diagnostic_tensor_from_checkpoint476 end subroutine initialise_diagnostic_tensor_from_checkpoint
438477
439 end module simple_diagnostics478 end module simple_diagnostics
440479
=== modified file 'error_measures/Geometric_constraints_metric.F90'
--- error_measures/Geometric_constraints_metric.F90 2011-02-28 16:03:39 +0000
+++ error_measures/Geometric_constraints_metric.F90 2011-11-30 17:31:28 +0000
@@ -37,7 +37,6 @@
3737
38 integer :: dim38 integer :: dim
39 integer :: stat, stat239 integer :: stat, stat2
40 real :: gradation_parameter
4140
42 real, dimension(error_metric%dim(1) * error_metric%dim(2) * node_count(error_metric)) :: geometric_edge_lengths_raw41 real, dimension(error_metric%dim(1) * error_metric%dim(2) * node_count(error_metric)) :: geometric_edge_lengths_raw
43 type(tensor_field) :: geometric_edge_lengths42 type(tensor_field) :: geometric_edge_lengths
@@ -73,8 +72,6 @@
73 deallocate(lsenlist)72 deallocate(lsenlist)
7473
75 geometric_edge_lengths = wrap_tensor_field(error_metric%mesh, geometric_edge_lengths_raw, "GeometricEdgeLengths")74 geometric_edge_lengths = wrap_tensor_field(error_metric%mesh, geometric_edge_lengths_raw, "GeometricEdgeLengths")
76 call get_option("/mesh_adaptivity/hr_adaptivity/enable_gradation/gradation_parameter", gradation_parameter, stat=stat)
77 call set_option("/mesh_adaptivity/hr_adaptivity/enable_gradation/gradation_parameter", 1.1, stat=stat2)
7875
79 call bound_metric(geometric_edge_lengths, state)76 call bound_metric(geometric_edge_lengths, state)
80 if (.not. isparallel()) then77 if (.not. isparallel()) then
@@ -93,12 +90,6 @@
93 end do90 end do
94 end if91 end if
9592
96 if (stat == 0) then
97 call set_option("/mesh_adaptivity/hr_adaptivity/enable_gradation/gradation_parameter", gradation_parameter)
98 else
99 call delete_option("/mesh_adaptivity/hr_adaptivity/enable_gradation/gradation_parameter")
100 end if
101
102 if (debug_metric) then93 if (debug_metric) then
103 call allocate(edgelen, error_metric%mesh, "Desired edge lengths")94 call allocate(edgelen, error_metric%mesh, "Desired edge lengths")
104 call allocate(geometric_edgelen, error_metric%mesh, "Geometric edge lengths")95 call allocate(geometric_edgelen, error_metric%mesh, "Geometric edge lengths")
10596
=== added directory 'examples/backward_facing_step_2d/Ilinca-data'
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-1.33.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-1.33.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-1.33.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,17 @@
1-0.07421875 -0.00109682881773
2-0.07421875 0.102351447044
3-0.09765625 0.161118380542
4-0.11328125 0.367784020936
5-0.125 0.485837438424
6-0.10546875 0.619131003695
70.125 0.829433497537
80.2734375 0.905518780788
90.47265625 0.967576200739
100.59765625 1.01375846675
110.7265625 1.04522013547
120.828125 1.09105603448
130.87890625 1.12136314655
140.95703125 1.19640932882
150.984375 1.27070504926
160.99609375 1.37432650862
170.99609375 1.52210975985
018
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-16.0.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-16.0.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-16.0.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,17 @@
10.335234899329 0
20.377516778523 0
30.424496644295 0
40.487919463087 0
50.530201342282 0
60.570145856868 0.0148514851485
70.600706026979 0.0445544554455
80.64538341418 0.10396039604
90.680699714267 0.207920792079
100.741982856004 0.475247524752
110.800905375772 0.727722772277
120.859839524221 0.99504950495
130.899935211642 1.20297029703
140.937681905774 1.41089108911
150.958915874809 1.5297029703
160.984905973819 1.72277227723
171.00152335703 1.94554455446
018
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-2.66.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-2.66.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-2.66.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,16 @@
1-0.101288826687 -0.00150397927851
2-0.143442023688 0.0275729534393
3-0.172769619619 0.175652246569
4-0.155787186932 0.250161886658
5-0.134501702421 0.384141374052
6-0.10057861425 0.50345706348
70.0683892799699 0.639629853989
80.14444467654 0.715016815324
90.24157667161 0.7758653103
100.338729555282 0.851565600652
110.511854281119 0.943245670837
120.646982641572 1.01950995342
130.803208489127 1.09608756502
140.942577235603 1.18726630878
150.993440979258 1.35138804754
161.00210974871 1.51488312828
017
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-5.33.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-5.33.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-5.33.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,19 @@
1-0.208481081307 -0.00600725877101
2-0.251074214676 0.0221517667181
3-0.204392807976 0.111760043386
4-0.161924825831 0.171832631096
5-0.0939468524467 0.247361395019
60.0590505193776 0.384214258896
70.131304492929 0.445162905177
80.207792749572 0.520941971549
90.280046723124 0.58189061783
100.365066121564 0.643214717784
110.586041466772 0.855596345584
120.734825414042 0.962913520504
130.798569104334 1.02361186434
140.875078219515 1.08468566184
150.92180134329 1.14488340078
160.964248466898 1.21966125735
170.993909307079 1.30876892912
181.01082558091 1.38279587835
191.01024154186 1.79454340662
020
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-8.0.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-8.0.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-expt-8.0.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,16 @@
10.144407894737 0.000732803543512
20.168092105263 0.00112363210005
30.191776315789 0.0163659458051
40.206578947368 0.04631318395
50.236184210526 0.150762115685
60.304276315789 0.315252084419
70.416776315789 0.435920401251
80.514473684211 0.586047420532
90.561842105263 0.646235018239
100.6625 0.781559405941
110.736513157895 0.842186685774
120.825328947368 0.977315659197
130.896381578947 1.1121515112
140.949671052632 1.24669424179
150.985197368421 1.44034979156
160.997039473684 1.72272342366
017
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-1.33.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-1.33.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-1.33.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,18 @@
1-0.109375 0.0722752463054
2-0.09765625 0.249788331281
3-0.0703125 0.412754002463
40.02734375 0.798433651478
50.10546875 0.888258158867
60.23046875 0.94921875
70.3515625 0.995343288177
80.44140625 1.01144935345
90.5703125 1.05768934729
100.7578125 1.10479525862
110.87890625 1.1509197968
120.9609375 1.24080203202
130.99609375 1.43343980911
140.9921875 2.17229833744
150.984375 2.48252770936
160.9765625 2.65975215517
170.9140625 2.83616841133
180.83984375 2.92374153325
019
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-16.0.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-16.0.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-16.0.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,15 @@
10.516153897269 0.0594059405941
20.542062595521 0.148514851485
30.60097348661 0.386138613861
40.650441889827 0.564356435644
50.728156355904 0.816831683168
60.791730347531 1.0099009901
70.843536115357 1.17326732673
80.930658183268 1.44059405941
90.980173101203 1.67821782178
101.00147684232 1.88613861386
110.996918399894 2.06435643564
120.959578709549 2.37623762376
130.894004585022 2.62871287129
140.795509668417 2.83663366337
150.725109641837 2.92574257426
016
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-2.66.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-2.66.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-2.66.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,16 @@
1-0.223528920268 0.0857894846782
2-0.202285212959 0.190065381321
3-0.0583418628454 0.533787312264
40.00929542748522 0.623900737368
50.102270590939 0.729241952666
60.233242119775 0.84999895557
70.427506109916 0.971695945523
80.659724688238 1.07910513233
90.866605393437 1.17128652894
100.968019551731 1.27675307585
110.997764919683 1.42570969022
120.986025525871 2.07900068932
130.978254966265 2.55413280973
140.948969147536 2.73191569361
150.91531761118 2.80567334406
160.814216781902 2.92298372778
017
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-5.33.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-5.33.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-5.33.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,16 @@
1-0.102206833257 0.0706478661716
2-0.0640982854282 0.20412164699
30.0462433774144 0.413249342956
40.237432731217 0.624754912186
50.322452129657 0.68607901214
60.44145008552 0.792520128489
70.581702890993 0.914292269826
80.794230528555 1.08230778858
90.887739351717 1.15858745985
100.981123023654 1.32309874432
111.00212757081 1.5148929957
121.00559008802 2.07381836386
131.00519377581 2.35321847232
140.9793083309 2.60245713571
150.940845187935 2.71897292562
160.881106336824 2.83486295941
017
=== added file 'examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-8.0.dat'
--- examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-8.0.dat 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Ilinca-data/Ilinca-U-num-8.0.dat 2011-11-30 17:31:28 +0000
@@ -0,0 +1,17 @@
10.191776315789 0.0312174309536
20.242105263158 0.254820218864
30.336842105263 0.434601354872
40.416776315789 0.569583767587
50.502631578947 0.674960917144
60.677302631579 0.915467040125
70.846052631579 1.11132100052
80.905263157895 1.2014069828
90.958552631579 1.33594971339
100.982236842105 1.45515242314
110.994078947368 1.70782308494
120.997039473684 1.87123827514
130.988157894737 2.27208181344
140.976315789474 2.4055497655
150.925986842105 2.62749153205
160.83125 2.81899752475
170.748355263158 2.9067385357
018
=== added file 'examples/backward_facing_step_2d/Makefile'
--- examples/backward_facing_step_2d/Makefile 1970-01-01 00:00:00 +0000
+++ examples/backward_facing_step_2d/Makefile 2011-11-30 17:31:28 +0000
@@ -0,0 +1,31 @@
1BIN=../../../bin
2preprocess:
3 @if [ "x" == "x${TYPE}" ]; then echo "**********ERROR: Commandline should be make preprocess TYPE=type, where type is reference or kepsilon"; false; fi;
4 echo **********Installing directory for $(TYPE) run:
5 install -d $(TYPE); \
6 cd $(TYPE); \
7 ln -s ../backward_facing_step_2d_kim_$(TYPE).flml .; \
8 echo **********Generating mesh for $(TYPE) simulation.; \
9 gmsh -2 -o step2d-kim-med.msh ../src/step2d-kim-med.geo; \
10 $(BIN)/gmsh2triangle -2 step2d-kim-med.msh; \
11 cd ..
12
13run:
14 @if [ "x" == "x${TYPE}" ]; then echo "**********ERROR: Commandline should be make run TYPE=type, where type is reference or kepsilon"; false; fi;
15 @echo **********Running the $(TYPE) simulation:
16 cd $(TYPE) && $(BIN)/fluidity -v2 -l backward_facing_step_2d_kim_$(TYPE).flml && cd ..
17
18postprocess:
19 @if [ "x" == "x${TYPE}" ]; then echo "**********ERROR: Commandline should be make postprocess TYPE=type, where type is reference or kepsilon"; false; fi;
20 @echo **********Calling the velocity data extraction and reattachment length calculation python script:
21 cd $(TYPE); \
22 ln -s ../postprocessor_2d.py .; \
23 ./postprocessor_2d.py $(TYPE); \
24 cd ..
25
26input: clean preprocess
27
28clean:
29 @echo **********Cleaning the output from previous fluidity runs
30 rm -r kepsilon reference *.pdf
31
032
=== removed file 'examples/backward_facing_step_2d/Makefile'
--- examples/backward_facing_step_2d/Makefile 2011-10-21 14:11:04 +0000
+++ examples/backward_facing_step_2d/Makefile 1970-01-01 00:00:00 +0000
@@ -1,51 +0,0 @@
1BIN=../../../bin
2RE=4700
3JOB=high
4ROOT=$(PWD)
5
6preprocess:
7 @echo **********Generating a 2D mesh:
8 @$(foreach NN,coarse med fine, \
9 echo **********Installing directory for $(NN) simulation.; \
10 install -d $(RE)-$(JOB)-$(NN); \
11 if [ -d "$(RE)-$(JOB)-$(NN)" ]; then \
12 cd $(RE)-$(JOB)-$(NN); \
13 ln -sf ../backward_facing_step_2d-$(RE)-$(JOB)-$(NN).flml .; \
14 echo **********Generating mesh for $(NN) simulation.; \
15 gmsh -2 -optimize -o step2d-$(NN).msh ../src/step2d-$(NN).geo; \
16 $(BIN)/gmsh2triangle -2 step2d-$(NN).msh ; \
17 cd $(ROOT); \
18 fi; \
19 )
20
21run:
22 @echo **********Running the test on different meshes:
23 @$(foreach NN,coarse med fine, \
24 if [ -d "$(RE)-$(JOB)-$(NN)" ]; then \
25 cd $(RE)-$(JOB)-$(NN); \
26 echo **********Running simulation for $(NN) mesh.; \
27 $(BIN)/fluidity -v2 -l backward_facing_step_2d-$(RE)-$(JOB)-$(NN).flml; \
28 cd $(ROOT); \
29 fi; \
30 )
31
32postprocess:
33 @echo **********Calling the velocity data extraction and reattachment length calculation python script:
34 @$(foreach NN,coarse med fine, \
35 if [ -d "$(RE)-$(JOB)-$(NN)" ]; then \
36 cd $(RE)-$(JOB)-$(NN); \
37 ln -s ../postprocessor_2d.py .; \
38 ./postprocessor_2d.py $(RE) $(JOB) $(NN); \
39 cd $(ROOT); \
40 fi; \
41 )
42
43input: clean preprocess
44
45clean:
46 @echo **********Cleaning the output from previous fluidity runs
47 @$(foreach NN,coarse med fine, \
48 if [ -d "$(RE)-$(JOB)-$(NN)" ]; then \
49 echo **********Cleaning folder $(RE)-$(JOB)-$(NN); \
50 rm -r $(RE)-$(JOB)-$(NN); fi; \
51 )
520
=== removed file 'examples/backward_facing_step_2d/backward_facing_step_2d-4700-high-coarse.flml'
--- examples/backward_facing_step_2d/backward_facing_step_2d-4700-high-coarse.flml 2011-04-26 15:43:25 +0000
+++ examples/backward_facing_step_2d/backward_facing_step_2d-4700-high-coarse.flml 1970-01-01 00:00:00 +0000
@@ -1,591 +0,0 @@
1<?xml version='1.0' encoding='utf-8'?>
2<fluidity_options>
3 <simulation_name>
4 <string_value lines="1">backward_facing_step_2d-high-coarse</string_value>
5 </simulation_name>
6 <problem_type>
7 <string_value lines="1">fluids</string_value>
8 </problem_type>
9 <geometry>
10 <dimension>
11 <integer_value rank="0">2</integer_value>
12 </dimension>
13 <mesh name="CoordinateMesh">
14 <from_file file_name="step2d-coarse">
15 <format name="triangle"/>
16 <stat>
17 <include_in_stat/>
18 </stat>
19 </from_file>
20 </mesh>
21 <mesh name="VelocityMesh">
22 <from_mesh>
23 <mesh name="CoordinateMesh"/>
24 <stat>
25 <exclude_from_stat/>
26 </stat>
27 </from_mesh>
28 </mesh>
29 <mesh name="PressureMesh">
30 <from_mesh>
31 <mesh name="CoordinateMesh"/>
32 <stat>
33 <exclude_from_stat/>
34 </stat>
35 </from_mesh>
36 </mesh>
37 <quadrature>
38 <degree>
39 <integer_value rank="0">3</integer_value>
40 </degree>
41 </quadrature>
42 </geometry>
43 <io>
44 <dump_format>
45 <string_value>vtk</string_value>
46 </dump_format>
47 <dump_period_in_timesteps>
48 <constant>
49 <integer_value rank="0">10</integer_value>
50 </constant>
51 </dump_period_in_timesteps>
52 <output_mesh name="CoordinateMesh"/>
53 <stat/>
54 </io>
55 <timestepping>
56 <current_time>
57 <real_value rank="0">0.0</real_value>
58 </current_time>
59 <timestep>
60 <real_value rank="0">0.05</real_value>
61 </timestep>
62 <finish_time>
63 <real_value rank="0">300.0</real_value>
64 </finish_time>
65 <nonlinear_iterations>
66 <integer_value rank="0">2</integer_value>
67 </nonlinear_iterations>
68 <adaptive_timestep>
69 <requested_cfl>
70 <real_value rank="0">1.0</real_value>
71 </requested_cfl>
72 <courant_number name="CFLNumber">
73 <mesh name="VelocityMesh"/>
74 </courant_number>
75 </adaptive_timestep>
76 <steady_state>
77 <tolerance>
78 <real_value rank="0">1.e-5</real_value>
79 <infinity_norm/>
80 </tolerance>
81 <steady_state_file>
82 <plain_text_output/>
83 </steady_state_file>
84 </steady_state>
85 </timestepping>
86 <material_phase name="Fluid">
87 <subgridscale_parameterisations>
88 <k-epsilon>
89 <scalar_field name="TurbulentKineticEnergy" rank="0">
90 <prognostic>
91 <mesh name="VelocityMesh"/>
92 <equation name="AdvectionDiffusion"/>
93 <spatial_discretisation>
94 <control_volumes>
95 <face_value name="FiniteElement">
96 <limit_face_value>
97 <limiter name="Sweby">
98 <project_upwind_value_from_point>
99 <store_upwind_elements>
100 <store_upwind_quadrature/>
101 </store_upwind_elements>
102 </project_upwind_value_from_point>
103 </limiter>
104 </limit_face_value>
105 </face_value>
106 <diffusion_scheme name="ElementGradient"/>
107 </control_volumes>
108 <conservative_advection>
109 <real_value rank="0">0</real_value>
110 </conservative_advection>
111 </spatial_discretisation>
112 <temporal_discretisation>
113 <theta>
114 <real_value rank="0">0.5</real_value>
115 </theta>
116 <control_volumes>
117 <number_advection_iterations>
118 <integer_value rank="0">3</integer_value>
119 </number_advection_iterations>
120 <limit_theta/>
121 </control_volumes>
122 </temporal_discretisation>
123 <solver>
124 <iterative_method name="cg"/>
125 <preconditioner name="hypre">
126 <hypre_type name="boomeramg"/>
127 </preconditioner>
128 <relative_error>
129 <real_value rank="0">1.e-7</real_value>
130 </relative_error>
131 <max_iterations>
132 <integer_value rank="0">1000</integer_value>
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches