See https://github.com/easybuilders/JSC/blob/0e9a247beec6984052e9a8f0980fec4c465606f4/Golden_Repo/2018b/d/Dask/Dask-Nov2018Bundle-ipsmpi-2018b-Python-2.7.15.eb for an example of how to do it.
Alan On Tue, 26 Mar 2019 at 14:02, Yann Sagon <yann.sa...@unige.ch<mailto:yann.sa...@unige.ch>> wrote: Dear list, I'm trying to build dask for python 2.7.15 with the toolchain fosscuda/2018b the Python extension "distributed" needs the extension "futures" which I have added to the ext_list. https://github.com/agronholm/pythonfutures The sanity check isn't working, probably because it's not possible to do an import futures. How should I override the sanity check of this module only? See the relevant part of the log: == 2019-03-26 13:40:57,371 build_log.py:162 ERROR EasyBuild crashed with an error (at ?:124 in __init__): Sanity check failed: extensions sanity check failed for 1 extensions: futures failing sanity check for 'futures' extension: command "/opt/ebsofts/MPI/GCC-CUDA/7.3.0-2.30-9.2.88/OpenMPI/3.1.1/Python/2.7.15/bin/python -c "import futures"" failed; output: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named futures, (at easybuild/framework/easyblock.py:2369 in _sanity_check_step) Best -- [Logo UNIGE] Yann Sagon Référent HPC Division du système et des technologies de l'information et de la communication Université de Genève | 24 rue Général-Dufour Tél 022 379 77 37 | Bureau 151 www.unige.ch/stic <http://www.unige.ch/stic> -- Dr. Alan O'Cais E-CAM Software Manager Juelich Supercomputing Centre Forschungszentrum Juelich GmbH 52425 Juelich, Germany Phone: +49 2461 61 5213 Fax: +49 2461 61 6656 E-mail: a.oc...@fz-juelich.de<mailto:a.oc...@fz-juelich.de> WWW: http://www.fz-juelich.de/ias/jsc/EN ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------