>
Mark,
What fortran compiler are you using? The problem you are having is due to how mpich's
configure selected how to mangle fortran function names, they can either be a single
under score or a double underscore. You should see this error if you try to build the
examples in the mpich installation directory under examples as well. If you are using
intel's fortran compiler, first off, use version 6.0, and second you need to set some
environment variables to help configure get the name mangling right. The following
should work starting with a clean mpich distribution:
in c-shell in the mpich source directory: (use "export FC=ifc" if using bourne based
shell)
setenv FC ifc
setenv F90 ifc
setenv RSHCOMMAND ssh
setenv pac_cv_prog_f77_name_mangle "lower underscore"
./configure --prefix=/usr/mpich --with-romio
If you are not using ifc let me know what you are using, mpich's configure seems to
get the portland group's compiler's name mangling correct without any help.
Also, I've added the following e-mail address to flash-users:
mweber@head-cfa.cfa.harvard.edu , is this the e-mail address you be sending message
to the flash-users list from always? The list is restricted so you'll need to come
from the address in order for the message to make through to the list. Please let me
know if you need more help.
Brad Gallagher
ASCI Flash Center
jbgallag@flash.uchicago.edu
>
>
> Hello
>
> We are trying to get FLASH to compile on a Beowulf cluster, but are
> getting a slew of compile-time errors of the following sort:
>
> flash.o(.text+0x36): In function `MAIN_':
> : undefined reference to `mpi_wtime_'
> flash.o(.text+0x406): In function `MAIN_':
> : undefined reference to `mpi_wtime_'
> init_flash.o(.text+0x87f): In function `init_flash_':
> : undefined reference to `mpi_wtime_'
>
> ... etc, etc
>
> I have been trying to research this problem, and the best I can tell is
> that it is some sort of linking error, and that it might have something to
> do with dissimilar compilers being used for MPICH and FLASH. (??)
> (However, gcc was used to compile the MPICH installation, and gcc is
> used for FLASH, so I don't see how that could be the issue.)
>
> This is not strictly a FLASH problem, but I was wondering if anyone on
> this list had encountered this situation between FLASH and MPICH.
>
> Cheers,
> Mark Weber
Received on Wed Jan 8 15:41:52 2003
This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT