From: "Wei Ku" <wku1@utk.edu>
To: <egcs@cygnus.com>
Subject: Help! link to MPI library in IBM SP2 machine running AIX 4.2
Date: Fri, 26 Jun 1998 19:16:00 -0000 [thread overview]
Message-ID: <001401bda156$61a20770$3a85a980@magnon.phys.utk.edu> (raw)
[-- 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 ***************************************
next reply other threads:[~1998-06-26 19:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-26 19:16 Wei Ku [this message]
1998-06-27 10:50 ` David Edelsohn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001401bda156$61a20770$3a85a980@magnon.phys.utk.edu' \
--to=wku1@utk.edu \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).