Closed mexas closed 5 years ago
@mexas thanks for the report. I suspect something fishy might be happening in your environment to trigger so many failures with GFortran 7.3. One or two of those would be expected, but not 26...
The first step, is PLEASE, please, please set CTEST_OUTPUT_ON_FAILURE=ON
in your environment, so that we can see the actual test output?
Second, I need to know specifically what version of GFortran you are using, and which version (vendor & version number) of MPI you are using.
I suspect that with GFortran 7.x there is a problem with either your MPI setup, or OpenCoarrays somehow getting linked against the wrong GFortran ABI or something similar. Did the build directory get completely wiped between building for GFortran 8 and GFortran 7?
20474701626e> gfortran7 -v
Using built-in specs.
COLLECT_GCC=gfortran7
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc7/gcc/x86_64-portbld-freebsd11.1/7.3.0/lto-wrapper
Target: x86_64-portbld-freebsd11.1
Configured with: /wrkdirs/usr/ports/lang/gcc7/work/gcc-7.3.0/configure --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc7 --libexecdir=/usr/local/libexec/gcc7 --program-suffix=7 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc7/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --enable-languages=c,c++,objc,fortran --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc7 --build=x86_64-portbld-freebsd11.1
Thread model: posix
gcc version 7.3.0 (FreeBSD Ports Collection)
20474701626e> mpif90 -v
mpifort for MPICH version 3.2.1
Using built-in specs.
COLLECT_GCC=gfortran7
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc7/gcc/x86_64-portbld-freebsd11.1/7.3.0/lto-wrapper
Target: x86_64-portbld-freebsd11.1
Configured with: /wrkdirs/usr/ports/lang/gcc7/work/gcc-7.3.0/configure --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc7 --libexecdir=/usr/local/libexec/gcc7 --program-suffix=7 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc7/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --enable-languages=c,c++,objc,fortran --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc7 --build=x86_64-portbld-freebsd11.1
Thread model: posix
gcc version 7.3.0 (FreeBSD Ports Collection)
If I remove (comment) /etc/make.conf, I don't get any failures with gfortran7. If I add these FFLAGS:
20474701626e> cat /etc/make.conf
#DEVELOPER=yes
FFLAGS+= -O2 -pipe -march=bdver2 -mtune=bdver2
FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize
FFLAGS+= -g
#DEFAULT_VERSIONS=gcc=8
I now get 2 failures with gfortran7. I added CTEST_OUTPUT_ON_FAILURE=ON. Here's the full make test log:
https://seis.bristol.ac.uk/~mexas/opencoarrays_gcc7_with_extra_FFLAGS.log
Yes, the build directory is fully wiped between builds (make clean).
Yes, the build directory is fully wiped between builds (make clean).
make clean
will not wipe some sticky CMake configuration parameters. The best thing to do is an
rm -rf /path/to/build/dir # be careful that you don't nuke something important here!
but a make clean
followed by a rm CMakeCache.txt
should achieve the same results.
I'll try to look at the failures later today.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Failure logs are no longer available. Please let me know if you hit any issues with the latest OpenCoarrays releases. I will close this for now.
For Fortran we use GCC. I noticed that using gfortran8 (for both MPICH and opencoarrays) makes all tests pass, but using gfortran7 gives multiple failures: