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]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to