From: Julien Balas <balas@vegaserv.univ-fcomte.fr>
Newsgroups: comp.parallel.mpi
Subject: MPI & Fortran77
Date: Thu, 26 Nov 1998 18:13:22 +0000
Organization: univ-fcomte.fr
Message-Id: <365D9A42.47E8DBA7@vegaserv.univ-fcomte.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hello

we are juste beginner in fortran but familiar with MPI and C

we would like to know if it was true that MPI_function can only be
called from Main 
program and not from SubRoutines

We have problems with the re-declaration of "integer
status(MPI_STATUS_SIZE)"
the SGI fortran Compiler answers "
 line 74: error(2194): "MPI_STATUS_SIZE", used as array bound, is
          not a dummy argument or in COMMON
        integer status(MPI_STATUS_SIZE)"

after a quick look at "mpif.h" we try to affect "integer status(6)" but
the answer is
even worse : "
ld64: WARNING 84: /usr/lib64/mips4/libmpi.so is not used for resolving
any symbol.
ld64: ERROR 33: Unresolved text symbol "mpi_init_" -- 1st referenced by
essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: ERROR 33: Unresolved text symbol "mpi_wtime_" -- 1st referenced by
essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: ERROR 33: Unresolved text symbol "mpi_comm_size_" -- 1st
referenced by essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: ERROR 33: Unresolved text symbol "mpi_comm_rank_" -- 1st
referenced by essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: ERROR 33: Unresolved text symbol "mpi_recv_" -- 1st referenced by
essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: ERROR 33: Unresolved text symbol "mpi_send_" -- 1st referenced by
essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: ERROR 33: Unresolved text symbol "mpi_finalize_" -- 1st referenced
by essai.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld64: INFO 152: Output file removed because of error."

this little problem block us to finish our project
Thank you
-- 
Julien Balas :: balas@vegaserv.univ-fcomte.fr

