Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Problem with compiler differences
@ 1999-11-10  5:00 Ken Light
  1999-11-12  5:00 ` Bo-sung Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Light @ 1999-11-10  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

I am trying to link an MPICH library compiled with f77 from Redhat 6.0 to a
project compiled with Compaq's Linux Alpha compiler (beta).  I receive the
following message...

/usr/mpich/build/LINUX/ch_p4/lib/libmpich.a(farg.o): In function
�mpir_iargc__�: farg.f(.text+0x18): undefined reference to �xargc�
collect2: ld returned 1 exit status

Is there an additional library that I may not be loading?  What is xargc?
Any ideas?

-Ken Light






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with compiler differences
  1999-11-10  5:00 Problem with compiler differences Ken Light
@ 1999-11-12  5:00 ` Bo-sung Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Bo-sung Lee @ 1999-11-12  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=EUC-KR, Size: 1210 bytes --]

Ken Light wrote:

> I am trying to link an MPICH library compiled with f77 from Redhat 6.0 to a
> project compiled with Compaq's Linux Alpha compiler (beta).  I receive the
> following message...
>
> /usr/mpich/build/LINUX/ch_p4/lib/libmpich.a(farg.o): In function
> �mpir_iargc__�: farg.f(.text+0x18): undefined reference to �xargc�
> collect2: ld returned 1 exit status
>
> Is there an additional library that I may not be loading?  What is xargc?
> Any ideas?
>
> -Ken Light

I think you compiled MPICH with Compaq c compiler. But if you didn't modify
some include file before compiling MPICH with Compaq c, you will meet above
compiliation error.

Before compile mpich-1.1.2, modify /usr/include/rpc/xdr.h
Insert below lines after line 41.

 #if defined(__DECC) || defined(__DECCXX)
 #define int64_t long int
 #endif

And when you compile your mpi code, use mpif77 or mpif90 instead of fort.

Because of Alpha system is 64 bit and x86 system is 32 bit, your error
happens.
xargc is I think used when send data in MPICH.
Good Luck!

 --
Bo-sung Lee
Chief of Cluster Business Team. LinuxOne, Inc.
Tel) +82-2-3488-9800,9840 Fax) +82-2-3488-9898
mailto:bslee@linuxone.co.kr http://www.linuxone.co.kr



[-- Attachment #2: Type: text/html, Size: 1486 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-11-12  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-10  5:00 Problem with compiler differences Ken Light
1999-11-12  5:00 ` Bo-sung Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox