Directory build_scripts/

Total Files:
3
Deleted Files:
0
Lines of Code:
488

[root]/build_scripts

Lines of Code

build_scripts/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 14 (100.0%) 39 (100.0%) 2.7
dav 6 (42.9%) 20 (51.3%) 3.3
jas 2 (14.3%) 14 (35.9%) 7.0
jsutherland 5 (35.7%) 4 (10.3%) 0.8
harman 1 (7.1%) 1 (2.6%) 1.0

Most Recent Commits

jsutherland 2013-12-18 19:20 Rev.: 51403

Don’t build preprocessor or table query for RadProps when building for internal Uintah use.

0 lines of code changed in 2 files:

  • build_scripts: build_wasatch_3p.sh (new)
dav 2013-12-03 17:42 Rev.: 51353


Enable CUDA in Wasatch 3P build if Uintah is configured with CUDA.

M build_scripts/build_wasatch_3p.sh

- Handle newly passed in (from configure) with-cuda (yes/no) flag so
that SpatialOps will build with CUDA support as necessary.

M configure
M configure.ac

- Pass sci_required_cuda to build_wasatch_3p script.

M StandAlone/sub.mk

- Some OSes require the Wasatch 3P libs to be explicitly listed when linking sus.

8 lines of code changed in 1 file:

  • build_scripts: build_wasatch_3p.sh (+8)
jsutherland 2013-11-06 12:28 Rev.: 51231

Remove obsolete flag to tabprops build.

0 lines of code changed in 1 file:

  • build_scripts: build_wasatch_3p.sh (-1)
jsutherland 2013-10-23 07:34 Rev.: 51131

Update wasatch3p build script for new boost finding stuff.

3 lines of code changed in 1 file:

  • build_scripts: build_wasatch_3p.sh (+3 -3)
dav 2013-07-09 13:00 Rev.: 50673

- Added a change to allow Uintah libraries that support CUDA to
successfully link.

Basically, we were receiving bizarre error messages (during library
linkage) like this:

.text.<internal compiler name> referenced in section ".text.<same
compiler name>[<same compiler name>]" of <object file in build
directory CCA/Components/Wasatch/Expressions/>: defined in discarded
section ".text.<same compiler name>[<same compiler name>]" of <same
object file>

The best we can determine is that this is caused when two separate .cc
files are compiled with a shared (common) template header file and
thus both instantiate it. The compiler throws away all but one of
these. (This issue apparently changed from a warning message to a
fatal linking error around binutils 2.16.) This issue apparently only
occurs if the .cc files were compiled using different compilation
arguments. The only two workarounds known are 1) to make sure that
everything is compiled exactly the same [unfortunately we can't use
this approach because some of the files are compiled by nvcc while the
rest are compiled by gcc], or 2) reorder the linking of the .o files.
We have chosen option 2 and thus moved the list of all .o files
produced from .cu files to the beginning of the link list. This seems
to have fixed the problem and hopefully will not cause more
complications down the road.

M CCA/Components/Wasatch/sub.mk
M CCA/Components/Wasatch/Expressions/sub.mk

- Alphabetize, line up, remove tabs.

M build_scripts/so_epilogue.mk

- Moved the list of .cu produced .o files to the beginning of the OBJS list.



2 lines of code changed in 2 files:

  • build_scripts: so_epilogue.mk (new)
dav 2013-05-16 14:57 Rev.: 50285


Initial commit to allow Wasatch to use CUDA. Bunch of caveats:

- Due to problems with nvcc, the tr1 hash_map must not be used.
Unfortunatley this causes a bunch of deprecated file warnings
to appear during compilation. This should be re-addressed
at some point.

- Some of the Wasatch enabled (Nebo-SpatialOps) files will
not compile under nvcc. So currently if you configure with
Wasatch and Cuda, you will run into compilation errors.

- You need to configure against the Wasatch 3p Nebo branch
of the SpatialOps and ExprLib libraries.

Individual file comments:

M configure.ac
M configure

- Turn off check for tr1 hash_map if CUDA is specified.
- Add in needed new SpatialOps library if CUDA specified.
This extra lib check will need to be removed once
the SpatialOps library branch is merged with the trunk.

M CCA/Components/Wasatch/Expressions/sub.mk

Alphabetize list of files to make it easier to account for them all.
Use some Make magic to provide definitions of files as .cc file (if no
CUDA) and as .cu files if CUDA is turned on. Add in rules to copy the
.cc files to the binary side (and rename as .cu) if CUDA enabled.

M CCA/Components/Wasatch/Expressions/Vorticity.cc
M CCA/Components/Wasatch/Expressions/ConvectiveFlux.cc
M CCA/Components/Wasatch/Expressions/Pressure.cc
M CCA/Components/Wasatch/Expressions/MomentumRHS.cc
M CCA/Components/Wasatch/Expressions/ScalarRHS.cc
M CCA/Components/Wasatch/Expressions/BasicExprBuilder.cc
M CCA/Components/Wasatch/Expressions/Dilatation.cc
M CCA/Components/Wasatch/Expressions/MomentumPartialRHS.cc
M CCA/Components/Wasatch/Expressions/DiffusiveVelocity.cc
M CCA/Components/Wasatch/Expressions/PoissonExpression.cc
M CCA/Components/Wasatch/Expressions/PrimVar.cc
M CCA/Components/Wasatch/Expressions/MonolithicRHS.cc
M CCA/Components/Wasatch/Expressions/DiffusiveFlux.cc

Use the Uintah convention of #include <> with a full path to the .h
file. This does 2 things: 1) It makes the code match up with the rest
of the Uintah code base and the makes this include consistent with all
the other #includes in these same files, and 2) this is required when
the files are copied to the binary tree and compiled there, as the
corresponding .h files are not copied over to the binary side and thus
can't be found with #include "".

M build_scripts/so_epilogue.mk

Remove tabs (random tabs in Makefile files can be a bad thing). Line
up slashes for easier reading.

10 lines of code changed in 1 file:

  • build_scripts: so_epilogue.mk (+10 -10)
dav 2013-05-14 10:37 Rev.: 50261

Fix pedantic errors...

0 lines of code changed in 2 files:

  • build_scripts: repair.sh (changed)
harman 2013-04-30 11:47 Rev.: 50187

changed from /bin/sh -> /bin/bash

Debian wheezy doesn't recognize this as a sh script.

1 lines of code changed in 1 file:

  • build_scripts: repair.sh (+1 -1)
jsutherland 2013-04-04 20:00 Rev.: 50066

Don't build the TabProps tests. This will cut down on build time a little bit.

1 lines of code changed in 1 file:

  • build_scripts: build_wasatch_3p.sh (+1)
jas 2013-02-05 20:06 Rev.: 49850

Fix broken logic for static specification.

1 lines of code changed in 1 file:

  • build_scripts: build_wasatch_3p.sh (+1 -1)
jas 2013-02-05 15:30 Rev.: 49849

Pass static build specification to Wasatch 3p libraries to ensure that
static libraries are built for both wasatch_3p and uintah.

13 lines of code changed in 1 file:

  • build_scripts: build_wasatch_3p.sh (+13)
Generated by StatSVN 0.7.0