Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
685 commits
Select commit Hold shift + click to select a range
4dd330e
pumi version 2.2.6
cwsmith Jun 25, 2021
f502575
Merging develop into master
Jun 26, 2021
4628e91
parma: add imbalance definition
cwsmith Jun 29, 2021
750c021
Adds logic to take care of load-balancing options
mortezah Jun 29, 2021
558b875
Adds logic to figure out # adapt iterations
mortezah Jun 29, 2021
f9005bb
cleans up maInput.cc
mortezah Jun 29, 2021
76ad3c4
Updates torus_ma_test
mortezah Jun 30, 2021
2b541ad
Updates refine2x to use either ZoltanRib or Parma
mortezah Jun 30, 2021
5e1e62c
Merging develop into master
Jun 30, 2021
3943ce4
using target_compile_definitions
cwsmith Jun 30, 2021
0c4543f
Merge pull request #2 from SCOREC/cws/adaptOpts
mortezah Jun 30, 2021
41d0466
Update ma/maBalance.cc
mortezah Jun 30, 2021
111804e
Adds MAX_ZOLTAN_GRAPH_RANKS preprocessor
mortezah Jun 30, 2021
5d167bd
Updates documentation in maInput.h for doxygen
mortezah Jun 30, 2021
3fc901e
Merge pull request #342 from mortezah/adapt_default_options
cwsmith Jul 1, 2021
aa85349
Merging develop into master
Jul 2, 2021
3cf7a27
Adds makes output of configure APIs const by default
mortezah Jul 4, 2021
05af655
Removes advance adapt options from classifyThenAdapt.cc
mortezah Jul 4, 2021
c744ce7
Removes advance adapt options from fusion.cc
mortezah Jul 4, 2021
5586be6
emoves advance adapt options from fusion3cc
mortezah Jul 4, 2021
20fa0ba
Removes advanced options from 2 more tests
mortezah Jul 4, 2021
1db66d6
support simmodsuite 16
cwsmith Jul 6, 2021
f59f065
fix the simmodsuite version regex
cwsmith Jul 7, 2021
7a192c8
simmodsuite 16 api change
cwsmith Jul 7, 2021
11f5687
Removes unnecessary casts + implements copy c-tor
mortezah Jul 7, 2021
67749bb
Default copy c-tor, default-tor in Input
mortezah Jul 7, 2021
68bb848
Updates crv adapt routines to follow the same logic as ma adapt
mortezah Jul 7, 2021
009d351
Removes debug print statements
mortezah Jul 7, 2021
4b72b46
require cxx11
cwsmith Jul 10, 2021
d7ddb0f
use off instead of no
cwsmith Jul 10, 2021
f38d5b6
export cxx11 requirement
cwsmith Jul 10, 2021
d828f50
Merge pull request #345 from SCOREC/cxx11
cwsmith Jul 12, 2021
9fbaa68
Merging develop into master
Jul 12, 2021
a18d47c
github ci yaml
cwsmith Jul 12, 2021
2891720
attempt to download meshes
cwsmith Jul 12, 2021
c674e7a
check for pumi meshes
cwsmith Jul 13, 2021
fe524ad
meshes...
cwsmith Jul 13, 2021
e964462
submodule commands
cwsmith Jul 13, 2021
cda5f69
fix export
cwsmith Jul 13, 2021
3582e9c
install mpich
cwsmith Jul 13, 2021
7981c30
build tests
cwsmith Jul 13, 2021
844b7ec
these tests require zoltan
cwsmith Jul 13, 2021
01ca5ac
install mpich and meshes once
cwsmith Jul 13, 2021
d5d640d
fix mesh download
cwsmith Jul 13, 2021
d3af326
debug
cwsmith Jul 13, 2021
dcdeee8
use pipe
cwsmith Jul 13, 2021
ab317d8
Revert "use pipe"
cwsmith Jul 13, 2021
d3105bf
Revert "debug"
cwsmith Jul 13, 2021
189ad0f
Revert "fix mesh download"
cwsmith Jul 13, 2021
35f3d48
Revert "install mpich and meshes once"
cwsmith Jul 13, 2021
517153d
remove travis yaml
cwsmith Jul 13, 2021
9790ed8
stk: get_buckets api change
cwsmith Jul 13, 2021
d850312
Merging develop into master
Jul 14, 2021
859c4df
Merge pull request #347 from SCOREC/githubCI
cwsmith Jul 14, 2021
38b4215
bisected the code to find where globalToVert get corrupted. This cod…
KennethEJansen Jul 14, 2021
c77f9d9
I guess I don't understand c++ scoping of variables because I would h…
KennethEJansen Jul 15, 2021
807ff6a
Sanitize only found an out of bounds access that I put in for multi-t…
KennethEJansen Jul 15, 2021
6a60caf
Merging develop into master
Jul 15, 2021
c35b099
so many print statements you can't find the code
KennethEJansen Jul 16, 2021
a63c95c
one more lurking overflow in myOffset
KennethEJansen Jul 16, 2021
7be9789
innocent suspect released
KennethEJansen Jul 16, 2021
5843188
cleared out the performance impacting debug statements
KennethEJansen Jul 16, 2021
0fae2ca
but wait...there's more
KennethEJansen Jul 17, 2021
3dac5e2
bring back debug print since verify claims there are remotes that ove…
KennethEJansen Jul 17, 2021
79f384c
sometimes the error message is telling the truth...since Verify (and …
KennethEJansen Jul 17, 2021
18fa46f
and a couple more of the same multi-entity-dimenion loops packed into…
KennethEJansen Jul 17, 2021
2d42969
adding verify to describe....probably would be better to make it a …
KennethEJansen Jul 17, 2021
a9e12f9
we were running out of memory in reorder so this collected some st…
KennethEJansen Jul 20, 2021
cd3171e
Updates the comment for makeAdvanced API
mortezah Jul 21, 2021
1822b57
Merge pull request #3 from SCOREC/cws/noZoltan
mortezah Jul 21, 2021
8a046b3
Merge branch 'develop' of github.com:SCOREC/core into hide_adapt_options
mortezah Jul 21, 2021
5aa8466
ph_adapt and chef9 only run with ENABLE_ZOLTAN ON
mortezah Jul 21, 2021
51b592f
add vtk output if requested and fix but
KennethEJansen Jul 29, 2021
81a6999
citation.cff points at toms paper
cwsmith Aug 8, 2021
553cd93
Merging develop into master
Aug 9, 2021
597c78b
attempt to fix formatting
cwsmith Aug 11, 2021
7d0515e
Update CITATION.cff
cwsmith Aug 11, 2021
a2f0277
more fixes
cwsmith Aug 11, 2021
5e069df
Merging develop into master
Aug 12, 2021
86609e4
fixes the leak associated with maLayerCoarsen
mortezah Aug 13, 2021
106bfec
Fixes some of memory leaks mentioned in #344
mortezah Aug 16, 2021
fdd635f
Merge pull request #344 from mortezah/hide_adapt_options
cwsmith Aug 16, 2021
91a1d7a
Merging develop into master
Aug 17, 2021
0bc5a05
Fixes an error that cause Simx Parasolid inquiry to fail
mortezah Aug 17, 2021
4117758
Fixes leaks in serialize, collapse, and rm_extrusion
mortezah Aug 17, 2021
b8a29cd
Merge pull request #350 from mortezah/memory_leak_fixes
cwsmith Aug 18, 2021
01b61e6
back to default of not partitioning if splitFactor 1 in adapt.inp
KennethEJansen Aug 18, 2021
f718e8d
Merge branch 'globalToVertCorruption' of github.com:SCOREC/core into …
KennethEJansen Aug 18, 2021
b07bec1
Merging develop into master
Aug 19, 2021
24cfcb1
typo
KennethEJansen Sep 19, 2021
56e11a9
support spack running the smoke tests
cwsmith Oct 19, 2021
31fc488
pumi needs the mallinfo preproc flag
cwsmith Oct 19, 2021
63bcf67
Merge pull request #352 from SCOREC/gcc11fix
cwsmith Oct 19, 2021
f2c5cb8
Merge branch 'develop' into smokeTest
cwsmith Oct 19, 2021
3acb6df
fix smoke test label
cwsmith Oct 19, 2021
475c109
smoke tests always defined
cwsmith Oct 19, 2021
2bc6698
Merge pull request #353 from SCOREC/smokeTest
cwsmith Oct 19, 2021
1eea6b7
Merging develop into master
Oct 20, 2021
fd6ccc8
install files needed for spack stand-alone tests
cwsmith Oct 21, 2021
1c7bc7f
Merging develop into master
Oct 22, 2021
64ad01e
use relative path in .gitmodules
Thomas-Ulrich Nov 8, 2021
c3cf01f
Merge remote-tracking branch 'tom/TU/relative_submodules' into develop
cwsmith Nov 8, 2021
1b2be64
add pull request template
cwsmith Nov 8, 2021
8a38fea
Merging develop into master
Nov 9, 2021
a1082e8
create apf tag from physical type #355
cwsmith Dec 16, 2021
b817065
latest pumi-meshes
cwsmith Dec 16, 2021
a331d85
test gmsh to smb conversion
cwsmith Dec 16, 2021
57c5f93
render the tag
cwsmith Dec 16, 2021
72a07f9
store physical ent for mesh edges, faces, and rgns
cwsmith Dec 21, 2021
e8f3861
skip dimensions without tags
cwsmith Dec 22, 2021
79e7fb4
debug: tag name change
cwsmith Dec 22, 2021
f1657e3
sanity check change
cwsmith Jan 20, 2022
9aed42e
use intptr_t #356
cwsmith Jan 20, 2022
d1caa0b
Merge branch 'gmiNullPtr' into develop
cwsmith Jan 21, 2022
6716090
Revert "debug: tag name change"
cwsmith Jan 21, 2022
e6de0e1
Revert "render the tag"
cwsmith Jan 21, 2022
59e207b
Merge branch 'cws/gmshTags' into develop
cwsmith Jan 21, 2022
19185e9
Merging develop into master
Jan 22, 2022
80d75bf
Fix RPATH to not use CMAKE_INSTALL_PREFIX
jacobmerson Feb 17, 2022
c6bfeef
Add release build to github workflow
jacobmerson Feb 15, 2022
3250323
Merge pull request #359 from jacobmerson/add-release-build
cwsmith Feb 18, 2022
c528f98
Merging develop into master
Feb 19, 2022
babf73b
increase default omegah version to 10
cwsmith Mar 2, 2022
1c46f20
Merging develop into master
Mar 3, 2022
3f2476f
actions: don't cancel at first failure
cwsmith Mar 3, 2022
d0767f9
byte swap test for doubles #360
cwsmith Mar 4, 2022
830be9b
borrow a simpler byteswap from omegah #360
cwsmith Mar 4, 2022
4dc0409
Merge branch 'cws/byteSwap' into develop
cwsmith Mar 4, 2022
0428418
Merging develop into master
Mar 4, 2022
72cb33f
mds: increase smb version #360
cwsmith Mar 14, 2022
2537816
Merging develop into master
Mar 14, 2022
a295720
pumi version 2.2.7
cwsmith Mar 14, 2022
c299674
Merging develop into master
Mar 14, 2022
1e604ec
disable warnings/errors by default
cwsmith Mar 31, 2022
ceb3d62
Merging develop into master
Apr 1, 2022
72ffbab
Adds a utility to construct the cavities in a mesh
mortezah Apr 12, 2022
2964b07
Makes list of entities in the cavity using adjacency
mortezah Apr 13, 2022
bcf1d62
Adds cavity maker to the CMake
mortezah Apr 14, 2022
53bd5e2
Adds routines to make a mesh of driving enity
mortezah Apr 14, 2022
bf349ff
A working version of makeAllCavities
mortezah Apr 22, 2022
835bf79
Adds input modes to the makeAllCavities utility
mortezah Apr 22, 2022
bd2e7d7
Fixes memory leaks in makeAllCavities
mortezah Apr 22, 2022
a005f7c
Merging develop into master
Apr 23, 2022
acbe1ba
Adds another option to cavity maker
mortezah Apr 26, 2022
e922738
Merging develop into master
Apr 27, 2022
1e04fa6
Adds a new utility to compute Bezeir shape values
mortezah May 14, 2022
fc75be0
Merging develop into master
May 15, 2022
4e2d60b
Merge branch 'develop' of github.com:SCOREC/core into develop
KennethEJansen Jul 15, 2022
39bcc6f
closureTest does not work with dmg models
cwsmith Jul 22, 2022
58a8832
Merging develop into master
Jul 28, 2022
3712343
Merge branch 'develop' of github.com:SCOREC/core into develop
KennethEJansen Oct 5, 2022
97ca1ef
support simmodsuite 18
cwsmith Oct 5, 2022
4c8840e
support gmsh v4 (breaks gmsh v2 at this time)
KennethEJansen Oct 5, 2022
1fa5ab1
Parmetis from github needed some help from Ben M
KennethEJansen Oct 5, 2022
4e8b8e4
latest pumi-meshes
cwsmith Oct 5, 2022
ba87fb3
gmsh v4 test
cwsmith Oct 5, 2022
b27c9b2
gmsh: restore v2 support
cwsmith Oct 5, 2022
e72c473
gmsh: fix warning
cwsmith Oct 5, 2022
7b523eb
gmsh: silence more warnings
cwsmith Oct 5, 2022
7e306ce
gmsh: compare dmg
cwsmith Oct 6, 2022
9992fd4
Merge pull request #374 from SCOREC/kj/gmsh4
cwsmith Oct 6, 2022
98e26a6
Merge branch 'develop' of github.com:SCOREC/core into develop
KennethEJansen Oct 8, 2022
95126d8
compiles but wont link...retreat to see if develop has same issue
KennethEJansen Oct 10, 2022
409efd1
cleaned up a lot of dead code with unclear comments that likely perta…
KennethEJansen Oct 10, 2022
70d3e2e
a little cleanup
KennethEJansen Oct 11, 2022
6af5498
add test
KennethEJansen Oct 14, 2022
a15f131
take the source face file as the input arg
cwsmith Oct 14, 2022
e51fdad
move father tag code into function
cwsmith Oct 14, 2022
25e9f26
typo
cwsmith Oct 21, 2022
26af7db
update pumi-meshes
cwsmith Oct 21, 2022
6dfbc4f
compare output against expected results
cwsmith Oct 21, 2022
30a2550
Merge pull request #375 from SCOREC/PRforExtrusionTagsOnly
cwsmith Oct 21, 2022
27a2ade
all but apf/apfConstruct.cc merged
KennethEJansen Oct 31, 2022
d7e64eb
simTranslate: string not code
cwsmith Nov 1, 2022
d24a838
increase minimum simmetrix version to 15
cwsmith Nov 1, 2022
2b958a9
update modules
cwsmith Nov 1, 2022
b0a7ecf
nightly test scripts
cwsmith Nov 1, 2022
36ad9e8
unknown state after Friday Nov 4th
KennethEJansen Nov 8, 2022
9901e72
hack - avoid compilation error in phOutput.cc
cwsmith Dec 9, 2022
ee29635
Merge branch 'develop' into PRmatch2B
cwsmith Dec 9, 2022
3482347
model only box creation function
cwsmith Dec 9, 2022
0d733d3
use Gids in [con|de]struct call
cwsmith Dec 9, 2022
ecfb60c
remove diff markers
cwsmith Dec 9, 2022
4d0c2a9
mner: c++ multi-topo reader... WIP
cwsmith Dec 9, 2022
5c78a0f
remove commented code
cwsmith Dec 9, 2022
8b60eb4
revert change
cwsmith Dec 9, 2022
ff14397
remove commented code
cwsmith Dec 9, 2022
72495ac
remove commented code
cwsmith Dec 9, 2022
a81efe4
add ctest and pumi-meshes test case
cwsmith Jan 6, 2023
32cbcec
mixed topo reader WIP
cwsmith Jan 6, 2023
bfb7fd7
part id regex works
cwsmith Jan 6, 2023
0eccb74
find match with regex
cwsmith Jan 6, 2023
e0c261c
read the block info
cwsmith Jan 13, 2023
e9bbbb7
assemble: use gids for connectivity
cwsmith Jan 13, 2023
26e2f32
read element topo blocks, compiles, fails with FPE
cwsmith Jan 13, 2023
b46f2c8
remove debug print
cwsmith Jan 13, 2023
cacacac
forgot to push back elm array
cwsmith Jan 20, 2023
4d24dc0
move vtk before smb
cwsmith Jan 20, 2023
a5227c7
remove unused vars
cwsmith Jan 20, 2023
a6b54ac
assert elm read
cwsmith Jan 20, 2023
303c2fa
check the elm type
cwsmith Jan 20, 2023
d7256ae
fix noverify flag
cwsmith Jan 23, 2023
be63271
pass matched flag to makeMdsBox
cwsmith Jan 23, 2023
9922fba
debug missing tags
cwsmith Jan 23, 2023
fbd7c3c
fix rewind bug for multitopo
cwsmith Jan 24, 2023
6c9b56d
Revert "pass matched flag to makeMdsBox"
cwsmith Jan 24, 2023
7cbbd0c
merged in ExtrusionTagsOffDev branch work in matchedNodeElmReader.cc …
KennethEJansen Jan 24, 2023
f8768cd
runs through on the CTS case at /nobackup/uncompressed/Models/GustWin…
KennethEJansen Jan 24, 2023
85f3c11
compiles with extruded classification for root vertices
KennethEJansen Jan 26, 2023
dafc66e
commented out edge extru so that vertex happens before crash
KennethEJansen Jan 26, 2023
3a8c622
dim 0 and dim 1 passing.....close
KennethEJansen Jan 27, 2023
a7f2e48
better warning for unrecognized options
cwsmith Jan 27, 2023
15d6806
works
KennethEJansen Jan 27, 2023
1a913db
Merge branch 'PRmatch2B' of github.com:SCOREC/core into PRmatch2B
KennethEJansen Jan 27, 2023
6769683
comments for future strnger versions
KennethEJansen Jan 27, 2023
b5ca7f3
silence warnings
KennethEJansen Jan 27, 2023
d2adee5
update convert extrusion test case
KennethEJansen Jan 27, 2023
7ca72b6
non-manifold passess verify...committing with alternate source paths …
KennethEJansen Jan 29, 2023
ea7ca36
cleaned up commented code and debug variables
KennethEJansen Jan 29, 2023
6a3cb32
cleaned up convert
KennethEJansen Jan 29, 2023
0fa8f87
cleaned up convert
KennethEJansen Jan 29, 2023
81600e9
cleanup created a bug
KennethEJansen Jan 29, 2023
a147fe7
These changes allowed the mixed wedge-tet BL (like the bump) tests to…
KennethEJansen Jan 30, 2023
3231a65
Merge branch 'master' into PRmatch2B
cwsmith Jan 31, 2023
700941e
update pumi-meshes
cwsmith Feb 1, 2023
ea1f25f
update pumi-meshes
cwsmith Feb 1, 2023
ef72e44
gmi: uncomment call to reparam_path
cwsmith Feb 1, 2023
65f661a
constructElements: remove multitopo logic
cwsmith Feb 1, 2023
da146de
mner: specify model on command line
cwsmith Feb 1, 2023
622d8ac
mner: update tests
cwsmith Feb 1, 2023
be4ad1e
mner: remove commented code
cwsmith Feb 1, 2023
4eeeedc
construct: remove debug prints and barriers
cwsmith Feb 3, 2023
d1eb8bf
mner: don't write the geometric model
cwsmith Feb 3, 2023
8d9b08c
mner: update mner test inputs
cwsmith Feb 3, 2023
bb1171d
mner: fix memory leak
cwsmith Feb 3, 2023
c57dc2b
mner: fix gmi ent set leaks
cwsmith Feb 3, 2023
626eb69
mner: one more leak
cwsmith Feb 3, 2023
283fce4
chef: avoid deprecated mallinfo functions
cwsmith Feb 3, 2023
2b62395
silence clang15 unused-but-set-variable errors
cwsmith Feb 4, 2023
88989b6
clang: check for mallinfo2
cwsmith Feb 4, 2023
a3ea410
mner: always assert
cwsmith Feb 4, 2023
e35b8d9
Merge pull request #380 from SCOREC/PRmatch2B
cwsmith Feb 4, 2023
d683f10
pumi: move mem usage to pcu
cwsmith Feb 4, 2023
fc03e73
add new source file
cwsmith Feb 4, 2023
e9772ac
pcu needs HAS_MALLINFO2 flag
cwsmith Feb 4, 2023
a496cc9
Merge branch 'develop' into cmake_cgns_reader
cwsmith Feb 5, 2023
1af6e42
don't set cxx11 if 14 is needed
cwsmith Feb 10, 2023
58c5035
VLAs are not std c++
cwsmith Feb 10, 2023
9395df6
cgns: pass longs to assemble
cwsmith Feb 10, 2023
0ad0a9d
VLAs are not std c++
cwsmith Feb 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Title of Pull Request

Pull requests should target the `develop` branch.

In your PR description please include:

- a brief description
- references to existing issues this PR fixes (if applicable)
- for new functionality, please describe the test cases added to exercise it

More information on PUMI development is here:

https://github.com/SCOREC/core/wiki/Developer-Guide

Thank you for your contribution.
46 changes: 46 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CMake test matrix
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler:
- { compiler: GNU, CC: gcc-10, CXX: g++-10 }
- { compiler: LLVM, CC: clang, CXX: clang++ }
build_type: [Debug, Release]

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: install mpich and gcc
run: |
sudo apt update
sudo apt install gcc-10 g++-10 mpich

- name: Configure CMake
env:
MPICH_CXX: ${{matrix.compiler.CXX}}
MPICH_CC: ${{matrix.compiler.CC}}
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_VERBOSE_MAKEFILE=ON -DMESHES=${{github.workspace}}/pumi-meshes -DIS_TESTING=ON -DSCOREC_CXX_WARNINGS=ON -DCMAKE_BUILD_TYPE=${{matrix.build_type}}

- name: Build
env:
MPICH_CXX: ${{matrix.compiler.CXX}}
MPICH_CC: ${{matrix.compiler.CC}}
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j

- name: Test
env:
MPICH_CXX: ${{matrix.compiler.CXX}}
MPICH_CC: ${{matrix.compiler.CC}}
working-directory: ${{github.workspace}}/build
run: ctest --output-on-failure -C ${{matrix.build_type}}
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "pumi-meshes"]
path = pumi-meshes
url = https://github.com/SCOREC/pumi-meshes.git
url = ../../SCOREC/pumi-meshes.git
50 changes: 0 additions & 50 deletions .travis.yml

This file was deleted.

45 changes: 45 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
cff-version: 1.1.0
title: "PUMI"
message: "If you use this software, please cite it as below."
authors:
- family-names: "Ibanez"
given-names: "Daniel A."
- family-names: "Smith"
given-names: "Cameron W."
orcid: "https://orcid.org/0000-0001-9258-5226"
- family-names: "Granzow"
given-names: "Brian"
- family-names: "Zaide"
given-names: "Daniel"
- family-names: "Hakimi"
given-names: "Morteza"
- family-names: "Seol"
given-names: "E. Seegyoung"
date-released: 2021-06-25
version: 2.2.6
keywords:
- "unstructured meshes"
- "parallel"
- "mesh adaptation"
- "load balancing"
- "C++"
- "finite elements"
references:
- type: article
authors:
- family-names: "Ibanez"
given-names: "Daniel A."
- family-names: "Seol"
given-names: "E. Seegyoung"
- family-names: "Smith"
given-names: "Cameron W."
orcid: "https://orcid.org/0000-0001-9258-5226"
- family-names: "Shephard"
given-names: "Mark S."
title: "PUMI: Parallel Unstructured Mesh Infrastructure"
doi: "10.1145/2814935"
month: 6
year: 2016
volume: 42
issue: "3"
journal: "ACM Trans. Math. Softw"
59 changes: 39 additions & 20 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ endif()
# This is the top level CMake file for the SCOREC build
cmake_minimum_required(VERSION 3.0)

project(SCOREC VERSION 2.2.2 LANGUAGES CXX C)
project(SCOREC VERSION 2.2.7 LANGUAGES CXX C)

include(cmake/bob.cmake)
include(cmake/xsdk.cmake)

option(SCOREC_ENABLE_CXX11 "enable compilation with c++11 support" NO)

option(USE_XSDK_DEFAULTS "enable the XDSK v0.3.0 default configuration" NO)

#requre c++11 without extensions
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSION OFF)
if(NOT ENABLE_CGNS)
set(CMAKE_CXX_STANDARD 11)
endif()

xsdk_begin_package()
bob_begin_package()

Expand All @@ -32,16 +37,11 @@ if(NOT USE_XSDK_DEFAULTS)
bob_begin_cxx_flags()
bob_end_cxx_flags()
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS}")
if(SCOREC_ENABLE_CXX11)
if(ENABLE_CGNS)
bob_cxx14_flags()
else()
bob_cxx14_flags()
endif()
else()
if(ENABLE_CGNS)
bob_cxx14_flags()
endif()
if(ENABLE_CGNS) #takes precedence over SCOREC_ENABLE_CXX11
message(STATUS "enabling cxx14")
bob_cxx14_flags()
elseif(SCOREC_ENABLE_CXX11)
bob_cxx11_flags()
endif()
endif()
message(STATUS "CMAKE_CXX_FLAGS = ${CMAKE_CXX_FLAGS}")
Expand All @@ -58,6 +58,9 @@ message(STATUS "CMAKE_C_FLAGS = ${CMAKE_C_FLAGS}")
option(IS_TESTING "Build for CTest" OFF)
message(STATUS "IS_TESTING: ${IS_TESTING}")

set(MESHES "${CMAKE_SOURCE_DIR}/pumi-meshes" CACHE STRING "Directory of test meshes")
message(STATUS "MESHES: ${MESHES}")

option(BUILD_EXES "Build executables" ON)
message(STATUS "BUILD_EXES: ${BUILD_EXES}")

Expand All @@ -78,7 +81,7 @@ set(VALGRIND_ARGS "" CACHE STRING
"the command line arguments to VALGRIND")

# smoke test target - a few tests are defined later with the 'SMOKE_TEST' label
add_custom_target(test_install
add_custom_target(check
COMMAND ${CMAKE_CTEST_COMMAND} -L SMOKE_TEST
COMMENT "running a smoke test on the installed binaries")

Expand All @@ -102,6 +105,7 @@ option(SKIP_SIMMETRIX_VERSION_CHECK "enable at your own risk; it may result in u
option(ENABLE_SIMMETRIX "Build with Simmetrix support" OFF)
message(STATUS "ENABLE_SIMMETRIX: ${ENABLE_SIMMETRIX}")
option(ENABLE_OMEGA_H "Enable the Omega_h interface" OFF)
option(PUMI_USE_OMEGA_H_VERSION "Specify the Omega_h version PUMI should use" 10.0.0)
message(STATUS "ENABLE_OMEGA_H: ${ENABLE_OMEGA_H}")

if(ENABLE_SIMMETRIX)
Expand All @@ -126,16 +130,17 @@ endif()
if(ENABLE_OMEGA_H)
# find the omega_h library
set(SCOREC_USE_Omega_h_DEFAULT ${ENABLE_OMEGA_H})
set(Omega_h_REQUIRED_VERSION 9.0.0)
set(Omega_h_REQUIRED_VERSION ${PUMI_USE_OMEGA_H_VERSION})
bob_public_dep(Omega_h)
endif()

if(ENABLE_CGNS)
find_package(CGNS)
set(SCOREC_USE_CGNS_DEFAULT ${ENABLE_CGNS})
bob_public_dep(CGNS)
#CGNS does not provide cmake targets :(
include_directories(SYSTEM ${CGNS_INCLUDE_DIR})
#
find_package(HDF5)
#
set(SCOREC_USE_HDF5_DEFAULT ${ENABLE_CGNS})
bob_public_dep(HDF5)
add_definitions(-DHAVE_CGNS)
endif()

Expand All @@ -155,6 +160,7 @@ add_subdirectory(pumi)
add_subdirectory(ma)
add_subdirectory(crv)
add_subdirectory(spr)
add_subdirectory(ree)
add_subdirectory(sam)
add_subdirectory(phasta)
add_subdirectory(stk)
Expand All @@ -165,10 +171,23 @@ add_subdirectory(omega_h)
add_library(core INTERFACE)
target_link_libraries(core INTERFACE ${SCOREC_EXPORTED_TARGETS})
if(ENABLE_CGNS)
target_link_libraries(core INTERFACE ${CGNS_LIBRARIES} ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES})
target_link_libraries(core INTERFACE ${CMAKE_DL_LIBS}) #HDF5 uses dlopen
target_compile_features(core INTERFACE cxx_std_14)
else()
target_compile_features(core INTERFACE cxx_std_11)
endif()
scorec_export_library(core)

#check for mallinfo2
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
include(CheckCXXSymbolExists)
check_cxx_symbol_exists(mallinfo2 "malloc.h" PUMI_HAS_MALLINFO2)
if(PUMI_HAS_MALLINFO2)
target_compile_definitions(core INTERFACE -DPUMI_HAS_MALLINFO2)
target_compile_definitions(pcu PRIVATE -DPUMI_HAS_MALLINFO2)
endif()
endif()

if(BUILD_EXES)
add_subdirectory(test)
endif()
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SCOREC Core #

[![Coverity Scan Build Status](https://scan.coverity.com/projects/6698/badge.svg)](https://scan.coverity.com/projects/scorec-core)

The SCOREC Core is a set of C/C++ libraries for unstructured mesh
simulations on supercomputers.

Expand All @@ -26,6 +24,7 @@ For more information, start at our
* MTH: Math containers and routines
* CRV: Support for curved meshes with Bezier Shapes
* PYCORE: Python Wrappers (see python_wrappers/README.md for build instructions)
* REE: Residual based implicit error estimator

### How do I get set up? ###

Expand Down Expand Up @@ -53,3 +52,11 @@ For more information, start at our

* If you have a usage question or have found a bug please post an [issue](https://github.com/SCOREC/core/issues).
* Otherwise, email [Cameron Smith](https://www.scorec.rpi.edu/~cwsmith) and pumi@scorec.rpi.edu.

### Citing PUMI

If you use these tools, please cite the following paper:

Daniel A. Ibanez, E. Seegyoung Seol, Cameron W. Smith, and Mark S. Shephard. 2016. PUMI: Parallel Unstructured Mesh Infrastructure. ACM Trans. Math. Softw. 42, 3, Article 17 (May 2016), 28 pages. DOI: https://doi.org/10.1145/2814935

We would be happy to provide feedback on journal submissions using PUMI prior to publication.
13 changes: 7 additions & 6 deletions apf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,21 @@ set(SOURCES
apfShape.cc
apfIPShape.cc
apfHierarchic.cc
apfPolyBasis1D.cc
apfNedelec.cc
apfL2Shapes.cc
apfH1Shapes.cc
apfVector.cc
apfVectorElement.cc
apfVectorField.cc
apfMixedVectorElement.cc
apfMixedVectorField.cc
apfPackedField.cc
apfNumbering.cc
apfMixedNumbering.cc
apfAdjReorder.cc
apfVtk.cc
apfVtkPieceWiseFields.cc
apfFieldData.cc
apfTagData.cc
apfCoordData.cc
Expand Down Expand Up @@ -98,12 +105,6 @@ target_link_libraries(apf
mth
)


if(ENABLE_CGNS)
message(STATUS ${CGNS_LIBRARIES})
target_link_libraries(apf PRIVATE ${CGNS_LIBRARIES} ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES})
endif(ENABLE_CGNS)

scorec_export_library(apf)

bob_end_subdir()
Loading