Hi,
may be I am missing something obvious, but are the
examples still actual

  C:                   hello_c.c
  C++:                 hello_cxx.cc
  Fortran mpif.h:      hello_mpifh.f
  Fortran use mpi:     hello_usempi.f90
  Fortran use mpi_f08: hello_usempif08.f90
  Java:                Hello.java
  C shmem.h:           hello_oshmem_c.c
  Fortran shmem.fh:    hello_oshmemfh.f90


$ make hello_cxx
mpic++ -g  hello_cxx.cc  -o hello_cxx
hello_cxx.cc: In function ‘int main(int, char**)’:
hello_cxx.cc:25:5: error: ‘MPI’ has not been declared

$ make -i
...
mpifort -g  hello_usempi.f90  -o hello_usempi
hello_usempi.f90:14:8:

     use mpi
        1
Fatal Error: Can't open module file ‘mpi.mod’ for reading at (1): No such file or directory

The second could be a different problem

$ ls /usr/lib/mpi.mod
/usr/lib/mpi.mod


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com

_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/devel

Reply via email to