Hello Johannes,

I do agree with you.
The Intel's environment is set by using Intel's scripts in my ".bashrc" file.

. /ccipl/logiciels/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars_global.sh intel64 . /ccipl/logiciels/intel/compilers_and_libraries_2016.0.109/linux/mpi/intel64/bin/mpivars.sh

I have changed the "config.yaml" file : "build_dirs" are not in my home but elsewhere on a shared filesystem.

I have changed the local.yaml file by looking what I did some weeks ago :
parameters:
    PROLOGUE: |
export FC=/ccipl/logiciels/intel/compilers_and_libraries_2016.0.109/linux/bin/intel64/ifort ; export CC=/ccipl/logiciels/intel/compilers_and_libraries_2016.0.109/linux/bin/intel64/icc ; export CXX=/ccipl/logiciels/intel/compilers_and_libraries_2016.0.109/linux/bin/intel64/icpc

Should I set "the LD_LIBRARY_PATH" and the "PATH" env. variables as "FC", "CC", "CXX" juste above at the end of the "local.yaml" file ?

Regards,
   Guy.


Le 17/11/2015 12:36, Johannes Ring a écrit :
It looks like you need to set LD_LIBRARY_PATH for your Intel compiler to work. How do you load the Intel compilers? Have you made a custom HashDist profile? If so, please attach it in your reply.

Johannes

On Tue, Nov 17, 2015 at 11:53 AM Guy Moebs <[email protected] <mailto:[email protected]>> wrote:

    Hello,

    I need some help to finish installation of Fenics with Intel compilers
    (icc --version : icc (ICC) 16.0.0 20150815)

    I have to rebuild Fenics using the Intel's compilers. It stops during
    the compilation of  the "ncurses" package :

    [ncurses] Building ncurses/owf7yx4rawfd, follow log with:
    [ncurses]   tail -f
    /work/mdsip/fenics/1.6.0_intel/tmp/ncurses-owf7yx4rawfd/_hashdist/build.log
    [ncurses|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']'
    returned
    non-zero exit status 2
    [ncurses|ERROR] command failed (code=2); raising

    If I look at its "build.log" file I see :

    2015/11/17 11:01:21 - INFO: [package:run_job]   /bin/sh ./run_tic.sh
    2015/11/17 11:01:21 - INFO: [package:run_job] ** Building terminfo
    database, please wait...
    2015/11/17 11:01:21 - INFO: [package:run_job] Running sh ./shlib
    tic to
    install
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/share/terminfo
    ...
    2015/11/17 11:01:21 - INFO: [package:run_job]
    2015/11/17 11:01:21 - INFO: [package:run_job]   You may see messages
    regarding extended capabilities, e.g., AX.
    2015/11/17 11:01:21 - INFO: [package:run_job]   These are extended
    terminal capabilities which are compiled
    2015/11/17 11:01:21 - INFO: [package:run_job]   using
    2015/11/17 11:01:21 - INFO: [package:run_job]           tic -x
    2015/11/17 11:01:21 - INFO: [package:run_job]   If you have
    ncurses 4.2
    applications, you should read the INSTALL
    2015/11/17 11:01:21 - INFO: [package:run_job]   document, and install
    the terminfo without the -x option.
    2015/11/17 11:01:21 - INFO: [package:run_job]
    2015/11/17 11:01:21 - INFO: [package:run_job] tic: error while loading
    shared libraries: libimf.so: cannot open shared object file: No such
    file or directory
    2015/11/17 11:01:21 - INFO: [package:run_job] ? tic could not build
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/share/terminfo
    2015/11/17 11:01:21 - INFO: [package:run_job] make[1]: ***
    [install.data] Error 1
    2015/11/17 11:01:21 - INFO: [package:run_job] make[1]: Leaving
    directory
    `/work/mdsip/fenics/1.6.0_intel/tmp/ncurses-owf7yx4rawfd/misc'
    2015/11/17 11:01:21 - INFO: [package:run_job] make: *** [install]
    Error 2
    2015/11/17 11:01:21 - ERROR: [package:run_job] Command '[u'/bin/bash',
    '_hashdist/build.sh']' returned non-zero exit status 2
    2015/11/17 11:01:21 - ERROR: [package:run_job] command failed
    (code=2);
    raising

    I think that the error is that the script does not find the shared
    library "libimf.so" which is, of course, present inside the Intel's
    compilers files tree. So it might be a path problem.

    As my shell's environment is enriched regarding Intel's compilers,
    I go
    to the "ncurses-owf7yx4rawfd/misc" directory and I run the script
    "run_tic.sh" .
     > cd /work/mdsip/fenics/1.6.0_intel/tmp/ncurses-owf7yx4rawfd/misc/
     > /bin/sh ./run_tic.sh
    ** Building terminfo database, please wait...
    Running sh ./shlib tic to install
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/share/terminfo
    ...

         You may see messages regarding extended capabilities, e.g., AX.
         These are extended terminal capabilities which are compiled
         using
             tic -x
         If you have ncurses 4.2 applications, you should read the INSTALL
         document, and install the terminfo without the -x option.

    1650 entries written to
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/share/terminfo
    ** built new
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/share/terminfo
    ln: failed to create symbolic link
    «
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/lib/terminfo
    »: No
    such file or directory
    ** could not sym-link
    /work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/lib/terminfo
    for
    compatibility

    If I print the value of "RELATIVE" and "TICDIR", I get :
    RELATIVE:../share/terminfo
    TICDIR:/work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/lib/terminfo

    So I make the directory "lib" as
    "/work/mdsip/fenics/1.6.0_intel/bld/ncurses/owf7yx4rawfd/lib" and It
    works fine.
    But If I go back to the "fenics-install.sh" script step, It fails back
    as the first time above with "libimf.so" error.

    What should I modify to finish the "ncurse" installation ?

    Thank you in advance for your help

    Regards,
        Guy


    _______________________________________________
    fenics-support mailing list
    [email protected]
    <mailto:[email protected]>
    http://fenicsproject.org/mailman/listinfo/fenics-support


_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to