GNU bug report logs -
#32732
[PATCH] gnu: hdf5-parallel-openmpi: Really enable parallel build.
Previous Next
Full log
View this message in rfc822 format
Hi Paul,
Paul Garlick <pgarlick <at> tourbillion-technology.com> skribis:
> This fix ensures that the H5_HAVE_PARALLEL identifier is correctly set
> in the file H5pubconf.h.
>
> * gnu/packages/maths.scm (hdf5-parallel-openmpi)[arguments]: Add
> the "--enable-parallel" flag to the list of configure flags. Remove
> the incompatible "--enable-cxx" flag. Add 'mpi-setup' phase. Replace
> the 'split' phase, omitting the references to the h5fc script which is
> not present.
Good catch!
> + (replace 'split
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + ;; Move all fortran-related files
Instead of duplicating the whole phase minus the h5fc bit, what about
changing the phase in ‘hdf5’ so that it does:
;; Note: When built with --enable-parallel, the 'h5fc' file
;; doesn't exist, hence this condition.
(when (file-exists? (string-append bin "/h5fc"))
(rename-file (string-append bin "/h5fc")
(string-append fbin "/h5fc")))
That way, no need to touch the ‘split’ phase in
‘hdf5-parallel-openmpi’.
If that’s fine with you, could you send an updated patch?
Thanks,
Ludo’.
This bug report was last modified 6 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.