* Help! link to MPI library in IBM SP2 machine running AIX 4.2
@ 1998-06-26 19:16 Wei Ku
1998-06-27 10:50 ` David Edelsohn
0 siblings, 1 reply; 2+ messages in thread
From: Wei Ku @ 1998-06-26 19:16 UTC (permalink / raw)
To: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
I apologize if this question is stupid. I really
need help with linking a code with MPI library in IBM SP2 machine running AIX
4.2.
Â
The source code is compiled with egcs 1.0.2 ( which will soon
be upgraded to 1.0.3 ). The MPI library needs to be linked dynamically at run
time. I would like to do it with the native compiler mpCC ( xlC with proper
parameters) :
[
 prompt> g++ -c -o mpi_mm.g++.o
mpi_mm.cpp
 prompt> mpCC -g -o matmulC.g++
mpi_mm.g++.o  ld: 0711-317 ERROR: Undefined symbol: .__main  ld:
0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information. Â make: 1254-004 The error code from the last command is
8. ]
Â
Also, I read some information about collect2.
Does this kind of combination g++ plus mpCC( xlC ) properly initialize the
static object ?
Â
Any reply is VERY appreciated. Thank you in
advance.
Â
Sincerely, Wei Ku
Â
*************************************** Department of Physics and
Astronomy The University of Tennessee weiku@utkux.utcc.utk.edu --------------------------------------- Solid
State Division Oak Ridge National Laboratory weiku@solid.ssd.ornl.gov ***************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help! link to MPI library in IBM SP2 machine running AIX 4.2
1998-06-26 19:16 Help! link to MPI library in IBM SP2 machine running AIX 4.2 Wei Ku
@ 1998-06-27 10:50 ` David Edelsohn
0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 1998-06-27 10:50 UTC (permalink / raw)
To: Wei Ku; +Cc: egcs
Programs compiled with GCC need to be linked with GCC or you need
to manually play many additional games. Is there a reason that you are
not using the GCC "-mpe" option to work with IBM SP2 PE/MPI?
David
P.S. Wei, I cannot send email to any of your utk.edu addresses.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-06-27 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-26 19:16 Help! link to MPI library in IBM SP2 machine running AIX 4.2 Wei Ku
1998-06-27 10:50 ` David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).