You can try with:
LDFLAGS="-L /opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64"
in your configure line (or wherever libintlc.so.5 is). LD_LIBRARY_PATH is to find them at runtime, while LDFLAGS does it at compile time.
Antonio
On Thursday, September 05, 2013 05:33:12 PM Seungbum Koo wrote:
I hope this to be the last question.
While configuring, I see a warning message as follows from "config.log".
======================================================
ld: warning: libintlc.so.5, needed by /opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64/libifport.so.5, not found (try using -rpath or -rpath-link)
======================================================
I googled a bit and found out that this is about an intel library issue. And it says about $LD_LIBRARY_PATH and so on.
Well, but my $LD_LIBRARY_PATH has the directory where "libintlc.so.5" is.
======================================================
simba@asterix:/opt/mpich/mpich-3.0.4-build$ echo $LD_LIBRARY_PATH
/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/mpirt/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/tbb/lib/intel64/gcc4.4
simba@asterix:/opt/mpich/mpich-3.0.4-build$
======================================================
If I go on to "make", then it shows following warnings from the screen.
======================================================
ld: warning: libimf.so, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by /opt/mpich/mpich-3.0.4-build/src/mpl/.libs/libmpl.so, not found (try using -rpath or -rpath-link)
======================================================
If I keep proceed and install MPICH, "mpiexec" seems to work. I tested with "cpi" in example.
The problem is, when I try to install PETSc, it complains about the same issue (missing those *.so(.5) files) and don't configure any more.
I tried "--download-mpich=1" option from PETSc without installing MPICH separately, but the result was the same. It keeps complaining those missing(?) files, which are actually in /opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64 directory.
Does anyone has an idea what else can I do?
Seungbum
--
Antonio J. Peņa
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
(+1) 630-252-7928
apenya@mcs.anl.gov
www.mcs.anl.gov/~apenya