Yes -- something changed; I tested all 4 languages extensively before I committed (but not on mac). This fails for me on Linux as well; I'll check into it...

On Dec 12, 2007, at 2:15 PM, Ethan Mallove wrote:

Hello,

Is this change (or r16908) causing the below error in the MTT
trivial test (f77_hello)? The error occurs on Solaris and
Linux.

 ...
NOTICE: Invoking /ws/ompi-tools/SUNWspro/SOS11/bin/f90 -f77 -ftrap= %none -I<scratch>/installs/cGmK/install/include/v9 -xarch=amd64 hello.f -o f77_hello -R<scratch>/installs/cGmK/install/lib/amd64 -R/ opt/mx/lib -L<scratch>/installs/cGmK/install/lib/amd64 -lmpi_f77 - lmpi -lopen-rte -lopen-pal -lsocket -lnsl -lrt -lm
 hello.f:
  MAIN main:
 Undefined                      first referenced
  symbol                            in file
intercept_extra_state_t_class <scratch>/installs/cGmK/install/ lib/amd64/libmpi_f77.so
 ld: fatal: Symbol referencing errors. No output written to f77_hello

See also http://www.open-mpi.org/mtt/index.php?do_redir=475.

Didn't look that closely here, just noted the line change
involving "intercept_extra_state".

-Ethan


On Sun, Dec/09/2007 07:19:59PM, bosi...@osl.iu.edu wrote:
Author: bosilca
Date: 2007-12-09 19:19:58 EST (Sun, 09 Dec 2007)
New Revision: 16909
URL: https://svn.open-mpi.org/trac/ompi/changeset/16909

Log:
Avoid a compiler warning about the function being defined but not
used when we compile the profiling layer.

Text files modified:
  trunk/ompi/mpi/f77/register_datarep_f.c |     6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/ompi/mpi/f77/register_datarep_f.c
= = = = = = = = = =====================================================================
--- trunk/ompi/mpi/f77/register_datarep_f.c     (original)
+++ trunk/ompi/mpi/f77/register_datarep_f.c 2007-12-09 19:19:58 EST (Sun, 09 Dec 2007)
@@ -90,6 +90,9 @@
    MPI_Aint *extra_state_f77;
} intercept_extra_state_t;

+OBJ_CLASS_DECLARATION(intercept_extra_state_t);
+
+#if !OMPI_PROFILE_LAYER
static void intercept_extra_state_constructor(intercept_extra_state_t *obj)
{
    obj->read_fn_f77 = NULL;
@@ -98,9 +101,6 @@
    obj->extra_state_f77 = NULL;
}

-OBJ_CLASS_DECLARATION(intercept_extra_state_t);
-
-#if !OMPI_PROFILE_LAYER
OBJ_CLASS_INSTANCE(intercept_extra_state_t,
                   opal_list_item_t,
                   intercept_extra_state_constructor, NULL);
_______________________________________________
svn-full mailing list
svn-f...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/svn-full
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel


--
Jeff Squyres
Cisco Systems

Reply via email to