- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have installed GNU and Intel Compilers 6.0 on a cluster running RedHat 7.3.
All paths to binaries and libraries are added and both compilers work with sequental programs.
I have compiled MPICH 1.2.5 by both compilers and installed GNU version under
/usr/local/mpich-1.2.5 and Intel version under /usr/local/mpich-1.2.5-ifc.
After I have compiled examples provided with mpich in /examples directory.
Now when I am running cpi example or any other compiled with GNU it works perfectly,
but the same example made with Intel compiler results in the error as below when np > 1:
$ mpirun -np 1 cpi
Process 0 on lasc
pi is approximately 3.1416009869231254, Error is 0.0000083333333323
wall clock time = 0.000169
$
$ mpirun -np 2 cpi
/usr/local/mpich-1.2.5-ifc/examples/cpi: error while loading shared libraries: libcxa.so.1: cannot open shared object file: No such file or directory
p0_4516: p4_error: Child process exited while making connection to remote process on lasc1: 0
/usr/local/mpich-1.2.5-ifc/bin/mpirun: line 1: 4516 Broken pipe
/usr/local/mpich-1.2.5-ifc/examples/cpi -p4pg /home/a.kuzmin/PI4432 -p4wd /usr/local/mpich-1.2.5-ifc/examples
$
What is the problem ?
All paths to binaries and libraries are added and both compilers work with sequental programs.
I have compiled MPICH 1.2.5 by both compilers and installed GNU version under
/usr/local/mpich-1.2.5 and Intel version under /usr/local/mpich-1.2.5-ifc.
After I have compiled examples provided with mpich in /examples directory.
Now when I am running cpi example or any other compiled with GNU it works perfectly,
but the same example made with Intel compiler results in the error as below when np > 1:
$ mpirun -np 1 cpi
Process 0 on lasc
pi is approximately 3.1416009869231254, Error is 0.0000083333333323
wall clock time = 0.000169
$
$ mpirun -np 2 cpi
/usr/local/mpich-1.2.5-ifc/examples/cpi: error while loading shared libraries: libcxa.so.1: cannot open shared object file: No such file or directory
p0_4516: p4_error: Child process exited while making connection to remote process on lasc1: 0
/usr/local/mpich-1.2.5-ifc/bin/mpirun: line 1: 4516 Broken pipe
/usr/local/mpich-1.2.5-ifc/examples/cpi -p4pg /home/a.kuzmin/PI4432 -p4wd /usr/local/mpich-1.2.5-ifc/examples
$
What is the problem ?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please use the option -static-libcxa when linking. This should help.
![](/skins/images/DF2E495CEC88D713A66401CF495CD875/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page