Package: libcoarrays-openmpi-dev
Version: 2.9.2-3
Severity: important
X-Debbugs-Cc: hugh.pumph...@gmail.com

Dear Maintainer,

I attempted to compile a program using coarray fortran; it compiles without 
error but gives a series of runtime errors when run. Any test program using 
coarrays appears to behave the same way; the following minimal example
will do:

program main
  implicit none
  write (*,*) "Hello from image", this_image(), "of", num_images()
  sync all
  write (*,*) "Bye   from image", this_image(), "of", num_images()
end program main

I compiled it like this:

gfortran -Wall -fcoarray=lib coarray_hello.f95 -lcaf_openmpi

and ran it like this:

cafrun -np 2 ./a.out 

getting the following errors:

[holly:321678] *** An error occurred in MPI_Win_create
[holly:321678] *** reported by process [1184235521,0]
[holly:321678] *** on communicator MPI COMMUNICATOR 3 DUP FROM 0
[holly:321678] *** MPI_ERR_WIN: invalid window
[holly:321678] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will 
now abort,
[holly:321678] ***    and potentially your MPI job)
[holly:321674] 1 more process has sent help message help-mpi-errors.txt / 
mpi_errors_are_fatal
[holly:321674] Set MCA parameter "orte_base_help_aggregate" to 0 to see all 
help / error messages
Error: Command:
   `/usr/bin/mpiexec -n 2 ./a.out`
failed to run.

Apologies if I have assigned this error to the wrong package: it might 
really belong to libcaf-openmpi-3 or libcoarrays-dev.

Many thanks

Hugh Pumphrey









-- System Information:
Debian Release: 11.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcoarrays-openmpi-dev depends on:
ii  gfortran [fortran-compiler]  4:10.2.1-1
ii  libc6                        2.31-13+deb11u3
ii  libcaf-openmpi-3             2.9.2-3
ii  libcoarrays-dev              2.9.2-3
ii  libgfortran5                 10.2.1-6
ii  libopenmpi3                  4.1.0-10
ii  openmpi-bin                  4.1.0-10

libcoarrays-openmpi-dev recommends no packages.

libcoarrays-openmpi-dev suggests no packages.

-- no debconf information

Reply via email to