--- source-trees/gt2-cvs/nexus/source/nexus/pr_mp.c 18 Apr 2005 21:43:19 -0000 1.87 +++ source-trees/gt2-cvs/nexus/source/nexus/pr_mp.c 30 Jan 2008 22:01:42 -0000 @@ -441,7 +441,12 @@ static int GLOBUS_NEXUS_MP_PROTOCOL_COUNT(void); -#if defined(GLOBUS_USING_THIS_MP_PROTO) +/* Some implementations of MPI are not thread safe. While Nexus insures + that it does not simultaneously call MPI functions from two different + threads, it cannot make that guarantee with respect to other independent + modules and itself. */ +#if defined(GLOBUS_USING_THIS_MP_PROTO) && \ + (defined(BUILD_LITE) || !defined(GLOBUS_MP_HAS_MPI_PROTO)) static nexus_proto_funcs_t mp_proto_funcs = {