On Wed, 2004-12-01 at 13:24 -0600, Ryuta Suzuki wrote:
> I had the same/similar problem. What version of gcc/g++ compiler are you
> using? In case of gcc-3.4.x the STL library (libstdc++.so.6) are not
> compatible with gcc-3.2/gcc-3.3 (libstdc++.so.5) and intel compiler
> seems to have a trouble with resolving this issue. I was able to
> succefully build with intel 8.1 + gcc-3.3.x combination and works fine.
> It is a bit strange since Intel compiler should be able to support
> gcc-3.4. It might be the case for you to have multiple version of gcc's.
> Hope this help.
Thanks for the suggestion. I am running on a freshly installed Fedora
Core 3 system which only has gcc-3.4.2-6.fc3 installed (and the same
release versions of libgcc,gcc-java,gcc-g77,and gcc-c++). With your
finding of gcc-3.4 and intel 8.1 incompatibilities, I came across a
couple of compiler switches to try from a google search. If I use the
-gcc-version=340 option, the segmentation fault still occurs. However,
if I use the -cxxlib-icc option, the segmentation faults no longer
occur.
Unfortunately, when I run my mpi-compiled program with mpirun (mpirun -
np 1 ./lmp_linux), it quickly exits without any errors. If I run the
program without mpirun (./lmp_linux), it works as expected. I'm going
to look into debugging mpirun, but if anyone has any suggestions, I
would appreciate it.
-Jim
|