sourceryinstitute / OpenCoarrays

A parallel application binary interface for Fortran 2018 compilers.
http://www.opencoarrays.org
BSD 3-Clause "New" or "Revised" License
247 stars 56 forks source link

Defect: tests fail when compiling OpenCoarrays (2.10.2) with MPICH (4.1.2) #783

Open banana-bred opened 8 months ago

banana-bred commented 8 months ago

[ X ] I am reporting a bug others will be able to reproduce and not asking a question or requesting a new feature.

System information including:

CPU(s): 16 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 1



  - Version of CMake: 3.28.1

## To help us debug your issue please explain:

Tests fail when compiling OpenCoarrays with MPICH : 
  - sync_team
  - sendget_convert_nums
  - sendget_convert_char_array
  - issue-503-multidim-array-broadcast

### What you were trying to do (and why)

Compile OpenCoarrays with MPICH.

### What happened (include command output, screenshots, logs, etc.)

Tests failed. See attached files for test output. 

### What you expected to happen

Tests succeed.

### Step-by-step reproduction instructions to reproduce the error/bug

Install mpich
[compilation.txt](https://github.com/sourceryinstitute/OpenCoarrays/files/14213494/compilation.txt)
[LastTest.log](https://github.com/sourceryinstitute/OpenCoarrays/files/14213495/LastTest.log)
, compile with above steps.

[links]:#
[fenced code blocks]: https://help.github.com/articles/creating-and-highlighting-code-blocks/
[CONTRIBUTING.md]: https://github.com/sourceryinstitute/OpenCoarrays/blob/master/CONTRIBUTING.md
rouson commented 2 months ago

@banana-bred in case you're still interested, I just completed an installation using GCC 14.1.0 and MPICH 4.2.2. I'll do some more testing and updated the OpenCoarrays installation scripts to use these versions.

rouson commented 2 months ago

All tests pass when I execute something like the following

export FC=`which gfortran-14`
export CC=`which gcc-14`
export CXX=`which g++-14`

./install.sh \
  /-p mpich \ 
  -i /opt/mpich/4.2.2/gnu/14.1.1 \
  -f $FC -c $CC -C $CXX \
  -I 4.2.2

export PATH=/opt/mpich/4.2.2/gnu/14.1.1/bin:PATH
export LD_LIBRARY_PATH=/opt/mpich/4.2.2/gnu/14.1.1/lib

./install.sh \
  -i /opt/opencoarrays/2.10.2/gnu/14.1.0 
  -f $FC -c $CC -C $CXX \
  -M /opt/mpich/4.2.2/gnu/14.1.0

source /opt/opencoarrays/2.10.2/gnu/14.1.0/setup.sh
cd prerequisites/builds/opencoarrays/2.10.2
ctest
mkowsiak commented 2 months ago

Will give it a try. Thanks.