Commit Graph

82 Commits

Author SHA1 Message Date
Billae
8fce9bef7b
add debug variant for paraview (#22900)
* add debug variant for paraview

* add advanced_debug variant to set optionnal debug flags

Co-authored-by: Billae <eloise.billae@gmail.com>
2021-04-19 12:52:26 -04:00
Robert Mijakovic
b6668a1146
paraview: adds new cuda target, ampere (#22750)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-04-06 16:54:35 +02:00
Paul Ferrell
88f7a00f2d
Paraview compatibility with PugiXML varies by version. (#21732) 2021-03-01 16:06:34 -08:00
Ethan Stam
b2e0bc1ae7
paraview: add python to rpath (#21768) 2021-03-01 16:00:44 -08:00
Dan Lipsa
18f094efe9
sensei: add versions and fix dependencies (#21452)
* Fix sensei@develop

Should work with all options but libsim.
Current releases don't work with ~catalyst
See
https://gitlab.kitware.com/sensei/sensei/-/merge_requests/240
for the fix for develop.
Current releases work only with paraview 5.7 and 5.6
See
https://gitlab.kitware.com/sensei/sensei/-/merge_requests/239
for the fix for develop (which works with 5.9)

* Fix libsim.

* Fix warnings.

* Fix python runtime.

* Many changes:

* Reworked cmake options top use the CMakePackage option helpers
* Simplified and consolidated options
* Replaced adios with adios2 variant
* Added vtkm variant (not yet working)

* paraview: Fix downstream consumers getting the wrong FindMPI

* vtk: Fix downstream consumers getting the wrong FindMPI

* Add +ascent, +adios2; remove +adios; variants off by default

* Fix catalyst python logic

* sensei: cleanup formatting

Co-authored-by: Chuck Atkins <chuck.atkins@kitware.com>
2021-02-26 10:52:41 -05:00
Ethan Stam
865d38afa7
ParaView, LLVM: add -shared-intel to solve intel linking failures (#18195) 2021-02-09 23:26:49 +01:00
Howard Pritchard
45040589c8
paraview: disable VTK_PYTHON_OPTIONAL_LINK for cce (#21357)
when building paraview 5.8 or newer.

See https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7482for background info.

Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
2021-02-08 09:53:06 -08:00
Vicente Bolea
104c826e33
ParaView: add ParaView-5.9.0 new release (#21268) 2021-01-26 22:58:48 +01:00
Vicente Bolea
94f1e838b2
ParaView: add new ParaView-5.9.0-RC4 release (#21132)
* ParaView: add new ParaView-5.9.0-RC4 release

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>

* ParaView: add official maintainer @vicentebolea

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-01-18 22:53:17 -06:00
Rémi Lacroix
18d14eb765
ParaView: Allow choosing a CUDA architecture. (#20623)
This is useful when the "native" architecture cannot be guessed.
2021-01-05 10:37:00 -08:00
Todd Gamblin
a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00
Vicente Bolea
a9925036df
ParaView: add new ParaView-5.9.0-RC3 release (#20500)
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-12-21 19:46:01 -06:00
Ethan Stam
86f006ffa9
Match master version instead of develop for PARAVIEW_VTK_DIR (#20427) 2020-12-16 12:29:35 -06:00
Vicente Bolea
e3fa8d9f52
ParaView: add new ParaView-5.9.0-RC2 release (#20222)
* ParaView: add new ParaView-5.9.0-RC2 release

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>

* Update var/spack/repos/builtin/packages/paraview/package.py

Indeed, I misunderstood the previous review. This looks good to me too.

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-12-14 15:23:50 -06:00
Ethan Stam
e73e7cf0ad
ParaView: correct path for PARAVIEW_VTK_DIR (#19770)
* ParaView: correct path for PARAVIEW_VTK_DIR

* Update formatting
2020-11-09 13:02:00 -06:00
Chuck Atkins
aaa1afe9ec
mesa: Retire older autotools mesa as mesa18 and create current meson mesa (#19528) 2020-10-30 11:16:17 -04:00
Chuck Atkins
6084529eff
paraview: Fix external dependencies for various versions (#19236) 2020-10-13 09:51:23 -05:00
QuellynSnead
977117b502
Paraview 5.6.2's version of VTK (8.2.0) is incompatible with Python 3.8 (#18881)
* Paraview 5.6.2's version of VTK (8.2.0) is incompatible with Python 3.8.
(see https://gitlab.kitware.com/vtk/vtk/-/issues/17670)

* Trailing whitespace
2020-09-28 19:30:18 -05:00
Adam J. Stewart
098beee295
Pillow-SIMD: use as default PIL provider (#18097)
* Pillow-SIMD: use as default PIL provider

* Fix concretization of pil

* Fix build of older versions of pillow
2020-09-03 10:39:35 -07:00
Ethan Stam
12aa6d221c
ParaView: added v5.8.1 (#17995) 2020-08-12 13:18:32 +02:00
Ethan Stam
b3dd90b95c
ParaView: Allow all ParaView versions to depend on Python 2 (#17484)
* Allow all ParaView versions to depend on Python 2

* Keep conflict for 5.9 and up with python 2

* Fix line too long

* Don't use backslash

* Try fixing indent

* Clean logic for python cmake flags

* Try fixing indent
2020-08-04 12:51:49 -05:00
Chuck Atkins
547c71ad78
Revert "Add libglvnd packages/Add EGL support (#14572)" (#17682)
This reverts commit 573489db71.
2020-07-23 17:41:48 -04:00
Omar Padron
573489db71
Add libglvnd packages/Add EGL support (#14572)
* add new package: "libglvnd-frontend"

* add +glvnd variant to opengl package

* add +glvnd variant to mesa package

* add +egl variant to paraview package

* add libglvnd-frontend entries to default packages config

* fix style

* add default providers for glvnd virtuals

add default providers for glvnd-gl, glvnd-glx, and glvnd-egl

* WIP: rough start to external OpenGL documentation

* rename libglvnd-frontend package and backend virtual dependencies

* update documentation

* fix ligvnd-be-* typos

* fix libglvnd-fe package class name

* fix doc parse error
2020-07-13 11:32:36 -04:00
Ethan Stam
7449bf8bab
ParaView: conflict ~opengl2 with versions 5.5 and up (#16742) 2020-05-22 10:33:19 -05:00
Utkarsh Ayachit
154a442817
paraview: use kits by default (#16698)
Adding a variant to enable/disable kits and making the default use kits.
2020-05-18 12:59:40 -05:00
Dan Lipsa
9c45c44738
Add version 5.8 and fix sqlite+column_metadata mismatch. (#15450) 2020-03-20 15:26:41 -04:00
Dan Lipsa
ca66ab6901
Paraview: fix PYTHONPATH for static build. (#14648)
* Fix PYTHONPATH for static build.

* Only for the latest version.
2020-02-12 13:24:09 -05:00
Todd Gamblin
4af6303086
copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
Dan Lipsa
0167ceb104 Add shared option to ParaView. (#14131)
* Add shared option to ParaView.

* Use append for one attribute
2019-12-13 15:19:31 -06:00
Chuck Atkins
831133a4c3 paraview: Adjust python version constraints (#13999)
py-matplotlib: No constraint necessary for py3 but py2 has an upper bound
py-numpy: No constraint necessary for py3 but py2 has an upper bound
2019-12-05 12:06:47 -06:00
Adam J. Stewart
2264e30d99
Update URL parsing regexes and tests (#13411)
* Update URL parsing regexes and tests

* Get rid of no longer used README

* Merge py-udunits and py-cf-units

* netcdf -> netcdf-c

* setup_environment -> setup_*_environment

* Fix doc tests

* Few last minute fixes

* Simplify prefix removal copypasta
2019-10-28 20:27:54 -05:00
Jon Rood
8786cb468a Paraview package: add version 5.7.0 and update environment setup (#13255)
Replace setup_environment/setup_dependent_environment with
setup__dependent_build_environment and setup_run_environment
according to 9ddc98e
2019-10-28 14:55:08 -07:00
Todd Gamblin
62927654dd checksums: use sha256 checksums everywhere
We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
2019-10-12 07:19:43 -07:00
Dan Lipsa
210dd594a1 Add cuda to paraview build. (#12996) 2019-10-02 12:00:03 -05:00
Dan Lipsa
1a8c572316 Paraview version (#12766)
* Update paraview

* Paraview 5.6.2 provides only .xz (no .gz)

* Add list_url and list_depth
2019-09-09 11:57:53 -05:00
Howard Pritchard
292baab069 paraview: use Spack-built libpng (#12587) 2019-08-29 13:18:37 -07:00
Chuck Atkins
a60ffdd5a2 vtk, paraview, catalyst packages: Add maintainers (#11774) 2019-06-19 10:57:19 -07:00
Dan Lipsa
83c7959580 Fix condition to enable mpi4py. (#11707)
* Fix condition to enable mpi4py.

* flake8

* Catalyst as paraview for mpi4py.

* Catalyst needs numpy and mpi4py.

* Remove leftover enable python.
2019-06-17 09:30:29 -04:00
psakievich
a998fa25b0 Paraview: Add motionfx Intel workaround (#11608)
* Paraview/VTK: Fix failure on intel builds

Paraview@5.6.0 fails to build with intel compilers on certain platforms.
Error messages have been traced to the optional MotionFX lib.
(see https://discourse.paraview.org/t/error-build-5-6-0-rc1/572)
Turning off motionfx allows for succesful builds on these platforms.
2019-06-11 08:15:41 -04:00
Dan Lipsa
c98190a6ec ParaView and Catalyst use python3. (#11485)
Use python3 for latest paraview and catalyst versions.
2019-06-10 12:48:49 -04:00
Chuck Atkins
c2d6095cf3
paraview: fix several dependency issues (#11432)
* Use externally provided mpi4py
* Make mpi4py and numpy both build deps instead of only run deps
* libxt is only on ~osmesa platform=linux
2019-05-16 09:04:44 -04:00
Chuck Atkins
85fa2dbe36
paraview: Fix OpenGL search to ignore glvnd (#11400) 2019-05-10 09:47:20 -04:00
Chuck Atkins
9f848205e4 mesa: re-written to new meson build system (#10482)
* mesa: re-writen to new meson build system

* xorg-server: Remove unneeded mesa dependency

* glx: provide the virtual GLX package

* Convert most "mesa" dependencies to use virtual gl and glx dependencies

* mesa: Switch to always building from the git repo instead of a tarball

* Use gl and glx version ranges instead of exact versions

* glx: provide a default package

* add auto to swr variant

* Revert "add auto to swr variant"

This reverts commit 2e7cd8a8ac.

* update mesa package to version 19.0

* set +glx by default only when running on linux

* fix style issues in geant4 package

* remove virtual package "egl"
2019-05-01 17:57:33 -05:00
Jon Rood
11c52c3bf7 Paraview package: update PYTHONPATH for dependents (#10501)
Add vtkmodules directory to PYTHONPATH in Paraview for Trilinos
2019-02-06 12:45:14 -06:00
Jon Rood
e896ce7457 Update Nalu-Wind and dependencies (#10204)
* Updating nalu-wind, nalu, openfast, and tioga packages. Includes
  improved handling of +shared variant.
* Add fftw and catalyst support to nalu-wind.
* Restrict ParaView to use matplotlib versions before 3 (which
  require Python 3)
2019-01-18 18:43:59 -06:00
Todd Gamblin
6f50cd52ed copyright: update license headers for 2013-2019 copyright. 2019-01-01 00:44:28 -08:00
Simone Bnà
e7e32cc2d6 openFOAM-paraview-catalyst (#10129)
* paraview: adding variants to use external packages as internal do not compile

* paraview: add latest paraview version

* catalyst: fixed libvtkexpat undefined reference linking error in Catalyst 5.5

* catalyst: add latest catalyst version

* catalyst: added ParaView_DIR env variable to catalyst module

* add paraview, catalyst patches

- https://gitlab.kitware.com/vtk/vtk-m/merge_requests/1166
- https://gitlab.kitware.com/paraview/paraview/merge_requests/2433
- https://gitlab.kitware.com/paraview/paraview/merge_requests/2436

* - Handle updated library paths for catalyst.

  Versions 5.4 and old places libraries under a paraview subdirectory.
  Eg, "lib/paraview-5.4", they are now placed directly under "lib"

- Minor code style cleanup

* Handle update library and python paths for ParaView-5.5

* catalyst: added ParaView_DIR path to spack_env

* BUG: applied the patch to the extracted catalyst source files

* paraview: added missing self to a member variable

* paraview: added Paraview_DIR to env

* catalyst: added osmesa variant

* of-catalyst: added new package

* add (FOAM,WM)_PROJECT_DIR  also to spack_env environment

* depends on first openfoam release supporting catalyst

* openfoam-com: added missing env variables to module generation

* openfoam: fixed flake8 errors

* of-catalyst: added full variant and openfoam version dependency

* paraview: adding variants to use external packages as internal do not compile

* catalyst: fixed libvtkexpat undefined reference linking error in Catalyst 5.5

* catalyst: added ParaView_DIR env variable to catalyst module

* add paraview, catalyst patches

- https://gitlab.kitware.com/vtk/vtk-m/merge_requests/1166
- https://gitlab.kitware.com/paraview/paraview/merge_requests/2433
- https://gitlab.kitware.com/paraview/paraview/merge_requests/2436

* - Handle updated library paths for catalyst.

  Versions 5.4 and old places libraries under a paraview subdirectory.
  Eg, "lib/paraview-5.4", they are now placed directly under "lib"

- Minor code style cleanup

* Handle update library and python paths for ParaView-5.5

* catalyst: added ParaView_DIR path to spack_env

* BUG: applied the patch to the extracted catalyst source files

* of-catalyst: added new package

* add (FOAM,WM)_PROJECT_DIR  also to spack_env environment

* depends on first openfoam release supporting catalyst

* paraview: added missing self to a member variable

* openfoam-com: added missing env variables to module generation

* openfoam: fixed flake8 errors

* paraview: added Paraview_DIR to env

* catalyst: added osmesa variant

* of-catalyst: added full variant and openfoam version dependency

* paraview-catalyst: use always external expat and netcdf

* of-catalyst: reformatted package description

* paraview-catalyst: removed duplicated function

* catalyst: fixed flake8 error

* of-catalyst: fixed license header

* of-catalyst: minor changes

* of-catalyst: renamed gitrepo with git

* of-catalyst: removed useless gitrepo parameter
2018-12-23 13:40:25 -06:00
Jon Rood
b4c7ffd424 Adding Paraview version 5.6. (#9788) 2018-11-13 09:36:18 -06:00
Todd Gamblin
eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00
Daryl W. Grunau
7f4b436ab6 ParaView: add versions (#9428) 2018-10-03 19:34:38 -07:00