Lbann flags (#5747)
* Fixed the datatype flag in the LBANN package. Also added develop version to OpenBLAS. * Fixed where the datatype flag should be set.
This commit is contained in:

committed by
Christoph Junghans

parent
f2a6685d8c
commit
bd185b8146
@@ -60,9 +60,6 @@ def cmake_args(self):
|
||||
CPPFLAGS = []
|
||||
CPPFLAGS.append('-DLBANN_SET_EL_RNG')
|
||||
|
||||
CPPFLAGS.append('-DLBANN_DATATYPE={0}'.format(
|
||||
int(spec.variants['dtype'].value)))
|
||||
|
||||
args = [
|
||||
'-DCMAKE_INSTALL_MESSAGE=LAZY',
|
||||
'-DCMAKE_CXX_FLAGS=%s' % ' '.join(CPPFLAGS),
|
||||
@@ -77,6 +74,7 @@ def cmake_args(self):
|
||||
'-DELEMENTAL_MATH_LIBS={0}'.format(
|
||||
spec['elemental'].libs),
|
||||
'-DSEQ_INIT:BOOL=%s' % ('+seq_init' in spec),
|
||||
'-DDATATYPE={0}'.format(int(spec.variants['dtype'].value)),
|
||||
'-DVERBOSE=0',
|
||||
'-DLBANN_HOME=.',
|
||||
'-DLBANN_VER=spack']
|
||||
|
Reference in New Issue
Block a user