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