Yes, exactly. To do it correctly you should really put in some version
checking and check for the appropriate files based on version, an example
of this would be the sanity check in
https://github.com/hpcugent/easybuild-easyblocks/blob/8bd3a34f3c8606fc218c71722a4c29e8b104129f/easybuild/easyblocks/l/libint.py

and once you're done remember to contribute back ;)

On 15 April 2015 at 16:29, Danilo Guerrera <[email protected]>
wrote:

>  Thanks for the suggestion,
>
>  I installed MVAPICH 2.1 without easy build and checked the libraries
> generated. There’s no such a libfmpich.a anymore. Then, I suppose I need to
> change the easyblock, since the sanity check is done there, don’t I?
>
>  Danilo
>
>
>
>
>  On 15 Apr 2015, at 10:13, Alan O'Cais <[email protected]> wrote:
>
>  I'm not sure exactly what the situation is with MVAPICH but I know that
> with the MPI version that we use (ParaStation MPI, which like MVAPICH is
> also based on MPICH) the libraries generated by the install have changed
> with the move to MPI 3.0. You just need to update the easyconfig so that it
> checks for the correct libraries (after you verify what the correct
> libraries are ;) ).
>
> On 15 April 2015 at 10:05, Danilo Guerrera <[email protected]>
> wrote:
>
>> Hello,
>>
>>  yes I did, libfmpich.a is actually missing
>>
>>  Danilo
>>
>>
>>
>>  On 14 Apr 2015, at 18:34, Alan O'Cais <[email protected]> wrote:
>>
>>  It's just failing to find libfmpich.a, did you take a look to see if
>> the lib actually still gets built by the new version?
>>
>> On 14 April 2015 at 15:31, Danilo Guerrera <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>>  I tried to install gmvolf-1.7.20.
>>>
>>>  The installation failed when installing MVAPICH2. They released a new
>>> version and deleted the link to the old one: the version 2.0.1 can’t be
>>> downloaded anymore.
>>>
>>>  I then tried to install the new version but got an error:
>>>
>>>  == 2015-04-14 13:55:32,802 main.easyblock WARNING build failed (first
>>> 300 chars): EasyBuild crashed with an error (at
>>> easybuild/software/EasyBuild/2.0.0/lib/python2.7/site-packages/easybuild_framework-2.0.0-py2.7.egg/easybuild/framework/easyblock.py:1602
>>> in sanity_check_step): Sanity check failed: no file of ('lib/libfmpich.a',)
>>> in /export/hpwc/apps/easybuild/software/MVAPICH2/2.
>>>
>>>    Any suggestion on how to deal with it?
>>>
>>>  Thanks,
>>>
>>>  Danilo
>>>
>>>
>>
>>
>>  --
>>  Dr. Alan O'Cais
>> Application Support
>> Juelich Supercomputing Centre
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich, Germany
>>
>> Phone: +49 2461 61 5213
>> Fax: +49 2461 61 6656
>> E-mail: [email protected]
>> 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
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>>
>>
>>
>
>
>  --
>  Dr. Alan O'Cais
> Application Support
> Juelich Supercomputing Centre
> Forschungszentrum Juelich GmbH
> 52425 Juelich, Germany
>
> Phone: +49 2461 61 5213
> Fax: +49 2461 61 6656
> E-mail: [email protected]
> WWW:    http://www.fz-juelich.de/ias/jsc/EN
>
>
>


-- 
Dr. Alan O'Cais
Application Support
Juelich Supercomputing Centre
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49 2461 61 5213
Fax: +49 2461 61 6656
E-mail: [email protected]
WWW:    http://www.fz-juelich.de/ias/jsc/EN

Reply via email to