@@ -52,11 +52,9 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
5252 variant ('distconv' , default = False ,
5353 description = 'Builds with support for spatial, filter, or channel '
5454 'distributed convolutions' )
55- variant ('docs' , default = False , description = 'Builds with support for building documentation' )
5655 variant ('dtype' , default = 'float' ,
5756 description = 'Type for floating point representation of weights' ,
5857 values = ('float' , 'double' ))
59- variant ('extras' , default = False , description = 'Add python modules for LBANN related tools' )
6058 variant ('fft' , default = False , description = 'Support for FFT operations' )
6159 variant ('half' , default = False ,
6260 description = 'Builds with support for FP16 precision data types' )
@@ -74,7 +72,6 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
7472 variant ('pfe' , default = True , description = 'Python Frontend for generating and launching models' )
7573 variant ('boost' , default = False , description = 'Enable callbacks that use Boost libraries' )
7674 variant ('asan' , default = False , description = 'Build with support for address-sanitizer' )
77- variant ('apps' , default = True , description = 'Add python modules for standard LBANN applications' )
7875
7976 # LBANN benefits from high performance linkers, but passing these in as command
8077 # line options forces the linker flags to unnecessarily propagate to all
@@ -92,7 +89,6 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
9289 conflicts ('~hwloc' , when = '+al' )
9390 conflicts ('~cuda' , when = '+nvshmem' )
9491 conflicts ('+cuda' , when = '+rocm' , msg = 'CUDA and ROCm support are mutually exclusive' )
95- conflicts ('+extras' , when = '~pfe' , msg = 'Python extras require the Python front end support' )
9692
9793 conflicts ('~vision' , when = '@0.91:0.101' )
9894 conflicts ('~numpy' , when = '@0.91:0.101' )
@@ -107,8 +103,8 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
107103 conflicts ('+gold' , when = 'platform=darwin' , msg = "gold does not work on Darwin" )
108104 conflicts ('+lld' , when = 'platform=darwin' , msg = "lld does not work on Darwin" )
109105
110- depends_on ('cmake@3.21.0:' , type = 'build' , when = '@0.103:' )
111- depends_on ('cmake@3.17.0:' , type = 'build' , when = '@:0.102' )
106+ depends_on ('cmake@3.21.0: ~doc ' , type = 'build' , when = '@0.103:' )
107+ depends_on ('cmake@3.17.0: ~doc ' , type = 'build' , when = '@:0.102' )
112108
113109 # Specify the correct versions of Hydrogen
114110 depends_on ('hydrogen@:1.3.4' , when = '@0.95:0.100' )
@@ -201,9 +197,9 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
201197 depends_on ('cnpy' , when = '+numpy' )
202198 depends_on ('nccl' , when = '@0.94:0.98.2 +cuda' )
203199
204- depends_on ('conduit@0.4.0: +hdf5~hdf5_compat' , when = '@0.94:0 +conduit' )
205- depends_on ('conduit@0.5.0:0.6 +hdf5~hdf5_compat' , when = '@0.100:0.101 +conduit' )
206- depends_on ('conduit@0.6.0: +hdf5~hdf5_compat~fortran~parmetis' , when = '@:0.90,0.99:' )
200+ depends_on ('conduit@0.4.0: +hdf5~hdf5_compat ~python ' , when = '@0.94:0 +conduit' )
201+ depends_on ('conduit@0.5.0:0.6 +hdf5~hdf5_compat ~python ' , when = '@0.100:0.101 +conduit' )
202+ depends_on ('conduit@0.6.0: +hdf5~hdf5_compat~fortran~parmetis ~python ' , when = '@:0.90,0.99:' )
207203
208204 # LBANN can use Python in two modes 1) as part of an extensible framework
209205 # and 2) to drive the front end model creation and launch
@@ -219,28 +215,8 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
219215 depends_on ('py-argparse' , type = 'run' , when = '@:0.90,0.99: +pfe ^python@:2.6,3.0:3.1' )
220216 depends_on ('py-protobuf+cpp@3.10.0' , type = ('build' , 'run' ), when = '@:0.90,0.99: +pfe' )
221217
222- # Add Python package dependencies to support applications in the LBANN repo
223- depends_on ('py-numpy@1.16.0:' , type = ('build' , 'run' ), when = '@:0.90,0.99: +pfe +apps' )
224- depends_on ('py-pytest' , type = ('test' , 'run' ), when = '@:0.90,0.99: +pfe +apps' )
225- depends_on ('py-scipy' , type = ('test' , 'run' ), when = '@:0.90,0.99: +pfe +apps' )
226- depends_on ('py-tqdm' , type = 'run' , when = '@:0.90,0.99: +pfe +apps' )
227-
228- # Add common Python packages that are used for LBANN auxiliary tools
229- depends_on ('py-configparser' , type = 'run' , when = '@:0.90,0.99: +pfe +extras' )
230- depends_on ('py-graphviz@0.10.1:' , type = 'run' , when = '@:0.90,0.99: +pfe +extras' )
231- depends_on ('py-matplotlib@3.0.0:' , type = 'run' , when = '@:0.90,0.99: +pfe +extras' )
232- depends_on ('py-numpy@1.16.0:' , type = ('build' , 'run' ), when = '@:0.90,0.99: +pfe +extras' )
233- depends_on ('py-onnx@1.3.0:' , type = 'run' , when = '@:0.90,0.99: +pfe +extras' )
234- depends_on ('py-pandas@0.24.1:' , type = 'run' , when = '@:0.90,0.99: +pfe +extras' )
235- depends_on ('py-texttable@1.4.0:' , type = 'run' , when = '@:0.90,0.99: +pfe +extras' )
236-
237218 depends_on ('protobuf+shared@3.10.0' , when = '@:0.90,0.99:' )
238219
239- depends_on ('py-breathe' , type = 'build' , when = '+docs' )
240- depends_on ('py-sphinx-rtd-theme' , type = 'build' , when = '+docs' )
241- depends_on ('doxygen' , type = 'build' , when = '+docs' )
242- depends_on ('py-m2r' , type = 'build' , when = '+docs' )
243-
244220 depends_on ('cereal' )
245221 depends_on ('catch2' , type = ('build' , 'test' ))
246222 depends_on ('clara' )
0 commit comments