It should work. 'icc' command works regardless of 'pwd'. So as 'ifort'. I just programmed Hello World! in both C and FORTRAN and they all compiled well and ran successfully. Even for the intel provided sample c source code(one that is in /intel/sample/). I could compile it and successfully run it.Maybe it's version problem. I'll downgrade intel compiler and see if it works in that case.
On Thu, Sep 5, 2013 at 7:09 PM, Antonio J. Peņa <apenya@mcs.anl.gov> wrote:
_______________________________________________
Seungbum,
I've checked your configure flags in our testbed. I find no problems even without the LDFLAGS parameter. Have you tried to compile any other code with your icc setup? I bet there's something wrong with your icc setup. Have you executed the iccvars.sh script? (BTW, we use icc 13.1.3).
Antonio
On Thursday, September 05, 2013 06:34:08 PM Seungbum Koo wrote:
Thank you for your advice. But nothing has changed even if I add that line at the stage of configure.
So this is what I wrote in the command line.
========================================================================
sudo /opt/mpich/mpich-3.0.4-source/configure --prefix=/opt/mpich/ CC=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/icc CXX=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/icpc F77=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/ifort FC=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/ifort LDFLAGS="-L/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64" --enable-fast=all,O3 --enable-g=dbg,mem,log --enable-shared --with-pm=hydra 2>&1 | sudo tee log_configure.txt
================================================================What 'configure' says:
======================================================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)
======================================================
================================================================
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)
================================================================Not a single line difference as before.
Does it make sense? "libifport.so.5" needs "libintlc.so.5" but they are in the same directory. And those 'not found' files at the 'make' stage as well. They are all in '/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64/'.
Any idea?
Seungbum
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss