that looks even better, good to know!

On 21/10/16 12:25, Alan O'Cais wrote:

There's also an easyblock to create a module filled with the environment variables used by a tool chain during the build process, an example use is at
https://github.com/hpcugent/easybuild-easyconfigs/tree/master/easybuild/easyconfigs/b/buildenv


On 21 Oct 2016 3:10 a.m., "Jack Perdue" <[email protected] <mailto:[email protected]>> wrote:

    Howdy Miguel,

    I totally missed that in some release notes along the way.
    That's awesome.  Thanks! (to Miguel and all those that made
    it possible)

    jack (seeing it of great use to our users)


    On 10/20/2016 08:02 PM, Miguel Dias Costa wrote:

        Dear Jack,

        I sometimes use --dump-env-script [1] (on the .eb files, not
        the -devel files)

        Miguel

        [1] https://github.com/hpcugent/easybuild-framework/pull/1624
        <https://github.com/hpcugent/easybuild-framework/pull/1624>


        On 21/10/16 08:46, Jack Perdue wrote:

            Howdy EB gods (Ken and crew),

            So EB, puts some useful environment settings in
            <app>/<version>/easybuild/<app>*-devel

            Is there a way to utilize those variables when not
            using EB?

            For example, I assume that if a user loads icc that they
            more than likely would like CC=icc (CFLAGS is a different
            matter).

            But EB doesn't do that now (probably for good reason).

            But it WOULD be nice if I could somehow use the variables in
            the -devel file (in bash) without all the extraneous stuff.

            EB has a rich collection of useful environment variables
            (especially when using Intel toolchains ala
            FFTW/LAPACK/BLAS)....
            how can we make them available to the user (who just wants to
            compile against EB modules without using EB).




------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
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
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Reply via email to