Previously, I had installed gcc, gfortran, and mpich before trying to install OCAF.
I uninstalled all of WSL, reinstalled it, got opencoarrays, and ran install.sh
without dong anything else.
I see that gcc 7.3 is installed instead of 5.4 (makes a lot of sense). But . . .
This is end of the output from running install.sh.
Is there something I do need to install before opencoarrays?
make[1]: Leaving directory '/home/walt/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/CMakeFiles/CMakeTmp'
Performing Fortran SOURCE FILE Test Check_Simple_Coarray_Fortran_Source_Compiles succeeded with the following output:
Change Dir: /home/walt/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/CMakeFiles/CMakeTmp
-- Building OpenCoarrays version: 2.1.0-31-gc0e3ffb
-- Performing Test Check_Simple_Coarray_Fortran_Source_Compiles
-- Performing Test Check_Simple_Coarray_Fortran_Source_Compiles - Success
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND)
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindMPI.cmake:1444 (find_package_handle_standard_args)
CMakeLists.txt:247 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/walt/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/CMakeFiles/CMakeOutput.log".
2018-06-27 17:07:45 UTC [ info] Cleaning up. Done
2018-06-27 17:07:45 UTC [ info] Cleaning up. Done
==========================================
This is the end of the log file:
Run Build Command:"/usr/bin/make" "cmTC_e5cab/fast"
/usr/bin/make -f CMakeFiles/cmTC_e5cab.dir/build.make CMakeFiles/cmTC_e5cab.dir/build
make[1]: Entering directory '/home/walt/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/CMakeFiles/CMakeTmp'
Building Fortran object CMakeFiles/cmTC_e5cab.dir/src.F.o
/usr/bin/gfortran -DCheck_Simple_Coarray_Fortran_Source_Compiles -fcoarray=single -ffree-form -c /home/walt/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/CMakeFiles/CMakeTmp/src.F -o CMakeFiles/cmTC_e5cab.dir/src.F.o
Linking Fortran executable cmTC_e5cab
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e5cab.dir/link.txt --verbose=1
/usr/bin/gfortran -DCheck_Simple_Coarray_Fortran_Source_Compiles -fcoarray=single -ffree-form CMakeFiles/cmTC_e5cab.dir/src.F.o -o cmTC_e5cab
make[1]: Leaving directory '/home/walt/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/CMakeFiles/CMakeTmp'
Source file was:
program main
implicit none
integer :: i
i = this_image()
end program
--
Walt Brainerd