lanl / LaGriT

Los Alamos Grid Toolbox (LaGriT) is a library of user callable tools that provide mesh generation, mesh optimization and dynamic mesh maintenance in two and three dimensions.
https://lanl.github.io/LaGriT/
Other
116 stars 48 forks source link

fix build and tests #226

Closed millerta closed 2 years ago

millerta commented 3 years ago

make sure all tests are working on the different platforms

millerta commented 2 years ago

all tests level01 level02 level03 pass on linux only if exceptions are trapped. (ignore exceptions for now).

Though all tests pass, outx3dgen files should be updated to include current copyright and minor gmv related settings. These are the current ignored differences between reference and test:

<   Copyright 2016. Triad National Security
> Copyright 2015. Los Alamos National Security, LLC.

<  30        ipolydat CHAR     scalar          scalar const perma   l no
---
>  30        ipolydat CHAR     scalar          scalar const perma   l yes

<          1no
---
>          1yes

< Output log file: outx3dgen
< Command log file: logx3dgen
---
> Output log file: lagrit.out
> Command log file: lagrit.log

< Done reading GMV binary total bytes:       1892 file:  output_hex8_binary.gmv
---
> Done reading GMV binary total bytes:       4612 file:  output_hex8_binary.gmv
millerta commented 2 years ago

test/level03/lin_extp is writing a bunch of gmv files, remove those to speed up test. Check to see if unnecessary files are being written in any other test directories.

daniellivingston commented 2 years ago

See also #230

daniellivingston commented 2 years ago

modify test script to skip exodus test if not built with exodus also for new libs as added

millerta commented 2 years ago

level01 changed to include all tests that do not require external libs. level02 changed to contain tests for external libs, such as exodus. All gmv binary files removed or replaced with avs ascii files. Many extra unnecessary files removed from the test suite. level03 is for student, developer tests and has not been updated yet (not part of auto-tests)