LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Marcelo Barreiro (barreiro_at_[hidden])
Date: 2004-05-21 19:19:21


Hi,

I have compiled version 7.0.6 of lam-mpi on RH linux.
I had to use different vendors for C and fortran compilers: I used cc and c++, and pgf90. I know that it is preferible not to do so, but my fortran programs are in pgf90 and I do not have the C compilers from PGI.

The examples that come with the distribution run OK. I run hello, pi and trivial.

The result of 'mpif77 -showme' is

pgf90 -I/home/mrb/bin/lam7_bin/include -L/home/mrb/bin/lam7_bin/lib -llammpio -llamf77mpi -lmpi -llam -lutil -lpthread

and of 'laminfo' is

           LAM/MPI: 7.0.6
            Prefix: /home/mrb/bin/lam7_bin
      Architecture: i686-pc-linux-gnu
     Configured by: mrb
     Configured on: Wed May 19 18:50:24 EDT 2004
    Configure host: linux1
        C bindings: yes
      C++ bindings: yes
  Fortran bindings: yes
       C profiling: yes
     C++ profiling: yes
 Fortran profiling: yes
     ROMIO support: yes
      IMPI support: no
     Debug support: no
      Purify clean: no
          SSI boot: globus (Module v0.5)
          SSI boot: rsh (Module v1.0)
          SSI coll: lam_basic (Module v7.0)
          SSI coll: smp (Module v1.0)
           SSI rpi: crtcp (Module v1.0.1)
           SSI rpi: lamd (Module v7.0)
           SSI rpi: sysv (Module v7.0)
           SSI rpi: tcp (Module v7.0)
           SSI rpi: usysv (Module v7.0)

When I run my program (in pgf90) I get the following error, and the program stops:

0: init_descriptor: invalid target descriptor
-----------------------------------------------------------------------------
It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).
 
mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.
-----------------------------------------------------------------------------

I have seen in the mailing list that many other people have had the same error message, but it is not clear to me what the cause can be.
There was no lam installed in the machine before I installed version 7.0.6.

I really appreciate your help. Thank you!

Marcelo