Skip to content

Commit a45ccfc

Browse files
authored
paraview: enable parallel-netcdf when netcdf and mpi are enabled (spack#2389)
1 parent ff61972 commit a45ccfc

File tree

1 file changed

+3
-0
lines changed
  • repos/spack_repo/builtin/packages/paraview

1 file changed

+3
-0
lines changed

repos/spack_repo/builtin/packages/paraview/package.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ class Paraview(CMakePackage, CudaPackage, ROCmPackage):
287287
depends_on("libtheora")
288288
depends_on("libtiff")
289289
depends_on("netcdf-c")
290+
depends_on("netcdf-c+parallel-netcdf", when="+mpi platform=darwin")
291+
depends_on("netcdf-c+parallel-netcdf", when="+mpi platform=freebsd")
292+
depends_on("netcdf-c+parallel-netcdf", when="+mpi platform=linux")
290293
depends_on("netcdf-c@:4.9.2", when="@:5.13")
291294
depends_on("[email protected]")
292295
depends_on("[email protected]:")

0 commit comments

Comments
 (0)