nwchem: fix lapack detection
This commit is contained in:
parent
7eb386e55e
commit
6500ac80e4
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,8 @@ def install(self, spec, prefix):
|
|||
'BLASOPT=%s %s' % (
|
||||
to_link_flags(spec['lapack'].lapack_shared_lib),
|
||||
to_link_flags(spec['blas'].blas_shared_lib)),
|
||||
'BLAS_LIB=%s' % to_link_flags(spec['blas'].blas_shared_lib),
|
||||
'LAPACK_LIB=%s' % to_link_flags(spec['lapack'].lapack_shared_lib),
|
||||
'USE_SCALAPACK=y',
|
||||
'SCALAPACK=%s' % spec['scalapack'].fc_link,
|
||||
'NWCHEM_MODULES=all',
|
||||
|
@ -90,11 +92,13 @@ def install(self, spec, prefix):
|
|||
args.extend([
|
||||
'USE_64TO32=y',
|
||||
'BLAS_SIZE=4',
|
||||
'LAPACK_SIZE=4',
|
||||
'SCALAPACK_SIZE=4'
|
||||
])
|
||||
else:
|
||||
args.extend([
|
||||
'BLAS_SIZE=8',
|
||||
'LAPACK_SIZE=8'
|
||||
'SCALAPACK_SIZE=8'
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue