Hi Inge,
Try with "download_deps":
https://github.com/ComputeCanada/easybuild-easyconfigs/blob/computecanada-master/easybuild/easyconfigs/p/PETSc/PETSc-3.7.5-iomkl-2016.4-download.eb

You can use one of three options:

download_deps, download_deps_static, download_deps_shared

All of them translate into --download-<package>=1

The other two add the following:
download_deps_static adds --download-<package>-static=1
download_deps_shared adds --download-<package>-shared=1


Maxime

On 17-03-09 10:19, Inge Gutheil wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear developers of EasyBuild,
I just tried to use the new feature

downloadinstall = True

for PETSc

with
download_deps_static = ['hypre',
                             'metis',
                             'parmetis',
                             'spooles',
                             'superlu',
                             'superlu_dist',
                             'mumps',
                             'spai',
                             'chaco',
                             'sundials',
                             'triangle',
                             'parms',
                             'hdf5',
]

and it translates to
./configure
-
--prefix=/usr/local/software/jureca/Stage1/software/PETSc/3.7.5-intel-para-2016b_downloads
- --with-large-file-io --download-hypre=1  --download-spai=1
- --download-triangle=1  --download-chaco=1  --download-superlu=1
- --download-superlu_dist=1  --download-metis=1  --download-sundials=1
- --download-mumps=1  --download-spooles=1  --download-parms=1
- --download-parmetis=1  --download-hdf5=1  --download-hypre-shared=0
- --download-metis-shared=0  --download-parmetis-shared=0
- --download-spooles-shared=0  --download-superlu-shared=0
- --download-superlu_dist-shared=0  --download-mumps-shared=0
- --download-spai-shared=0  --download-chaco-shared=0
- --download-sundials-shared=0  --download-triangle-shared=0
- --download-parms-shared=0  --download-hdf5-shared=0  --with-cc="mpicc"
  --with-cxx="mpicxx" --with-c++-support  --with-fc="mpif90"
- --CFLAGS="-O2 -xHost -ftz -fp-speculation=safe -fp-model source -fPIC"
  --CXXFLAGS="-O2 -xHost -ftz -fp-speculation=safe -fp-model source
- -fPIC"  --FFLAGS="-O2 -xHost -ftz -fp-speculation=safe -fp-model
source -fPIC"  --with-gnu-compilers=0  --with-mpi=1
- --with-build-step-np=48  --with-shared-libraries=0  --with-debugging=0
  --with-pic=1  --with-x=0 --with-windows-graphics=0  --with-fftw=1
-
--with-fftw-include=/usr/local/software/jureca/Stage1/software/imkl/2017.0.098-ipsmpi-2016b/mkl/include
  
--with-fftw-lib=[/usr/local/software/jureca/Stage1/software/imkl/2017.0.098-ipsmpi-2016b/mkl/lib/intel64/libfftw3xc_intel_pic.a,libfftw3x_cdft_lp64_pic.a,libmkl_cdft_core.a,libmkl_blacs_intelmpi_lp64.a,libmkl_intel_lp64.a,libmkl_sequential.a,libmkl_core.a]
  --with-scalapack=1  
--with-scalapack-include=/usr/local/software/jureca/Stage1/software/imkl/2017.0.098-ipsmpi-2016b/mkl...

but then within the configure I get
*******************************************************************************
          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
for details):
-
-------------------------------------------------------------------------------
triangle cannot use download-triangle-shared=1. This flag can only be
used to disable triangle shared libraries
*******************************************************************************


The funny thing is that in the configure command it says
- --download-triangle-shared=0 and not download-triangle-shared=1
Maybe it is a bug in the PETSc configure??

Do you have any idea?

Inge
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJYwXKCAAoJEAMTTHwPbmtKRvIQANEDaGbp2MqiRFj93rTDhKMt
/+BMnlT8wfCBBSBUC0NklRO/7VvprXZbUOnMdvdiEXq0lqh8qWoT0Dilae+ZHIBJ
ADmgO1xgDuwEyQpEz7jMbrpHnaboX9nCRQDA0aEHdsAeVWIkjQ/jLQND4tqnvB9M
xZwT55DU1hxnsPgewA30jdYSXmx2uf+w91n6laZw8FnkedkQxmWjxOgJYb8mQV9s
dissHOVbqn3HceRSvkWNF5kzi2Eerubdyoy2SiZkIVmGRK3O9QlKnk4o1Wmj7svj
WDGi4sULSZQo+/Dx9uXxGo2XWXi5aU1zgKcWjiOoOUP4QTZ+BWIrRzsQA2qOMASQ
Ctm+8CMLfkRRJT2tP6LQkNDAaj5NBD/cylyOjsX4WZYnYYqNsZOxe7/zOg04k2F3
IdYBl6+sqUc/gN73UnvICuTvbKU+VTuq32ofQj/cPkqPtO/5X8GsYmBnwhY8FEwL
wKUC49ZypAnw8CnpSdkncRa4O9zb8aoUDe2XH50iCtfX8O0sQq+xKfz03ysBr6Hi
vTj+rWd2jCUfGRLMDCjqjMMysg89JiEuZtwoYKZvO3YMnM6HrtF4NItwDG5hoQI5
/zDePFaUJEiXzmYIoiRSk5LB3BkTCbbOwvjLUaOBVDlOS7b3LwA5cS+xLYSuUo97
wqtNzTnyVwmFH9RxGFOB
=21yP
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------



--
---------------------------------
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Président - Comité de coordination du soutien à la recherche de Calcul Québec
Team lead - Research Support National Team, Compute Canada
Instructeur Software Carpentry
Ph. D. en physique

Reply via email to