Installing on WSL

41 views
Skip to first unread message

Walt Brainerd

unread,
Jun 27, 2018, 12:41:29 PM6/27/18
to opencoarrays
I spent a lot of hours getting CAF to work on Windows by building
the library with the makefile.
That option is no longer available, so I am trying WSL.

I have installed WSL/Ubuntu, cloned the open coarrays and in the
opencoarrays directory, typed ./install.sh. Here is the end of the result:

[ 81%] Generating issue-552-send_by_ref-singleton
/home/walt/CAF/opencoarrays/src/tests/regression/reported/issue-552-send_by_ref-singleton.f90:23:12:

    allocate(co % c, co % d, co % e, mold=co % b)
            1
Error: Array specification required in ALLOCATE statement at (1)
/home/walt/CAF/opencoarrays/src/tests/regression/reported/issue-552-send_by_ref-singleton.f90:23:20:

    allocate(co % c, co % d, co % e, mold=co % b)
                    1
Error: Array specification required in ALLOCATE statement at (1)
/home/walt/CAF/opencoarrays/src/tests/regression/reported/issue-552-send_by_ref-singleton.f90:23:28:

    allocate(co % c, co % d, co % e, mold=co % b)
                            1
Error: Array specification required in ALLOCATE statement at (1)
Error: comand:
   `/usr/bin/gfortran -I/home/walt/CAF/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/include/OpenCoarrays-2.1.0-31-gc0e3ffb_GNU-5.4.0 -fcoarray=lib -Wl,-Bsymbolic-functions -Wl,-z,relro -I /usr/include/mpich -DPREFIX_NAME=_gfortran_caf_ -DHAVE_MPI -DMPI_WORKING_MODULE -O3 -o /home/walt/CAF/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/bin/OpenCoarrays-2.1.0-31-gc0e3ffb-tests/issue-552-send_by_ref-singleton /home/walt/CAF/opencoarrays/src/tests/regression/reported/issue-552-send_by_ref-singleton.f90 /home/walt/CAF/opencoarrays/prerequisites/builds/opencoarrays/2.1.0/lib/libcaf_mpi.a /usr/lib/x86_64-linux-gnu/libmpichfort.so /usr/lib/x86_64-linux-gnu/libmpich.so`
failed to compile.
src/tests/regression/reported/CMakeFiles/build_issue-552-send_by_ref-singleton.dir/build.make:61: recipe for target 'src/tests/regression/reported/issue-552-send_by_ref-singleton' failed
make[2]: *** [src/tests/regression/reported/issue-552-send_by_ref-singleton] Error 1
CMakeFiles/Makefile2:2466: recipe for target 'src/tests/regression/reported/CMakeFiles/build_issue-552-send_by_ref-singleton.dir/all' failed
make[1]: *** [src/tests/regression/reported/CMakeFiles/build_issue-552-send_by_ref-singleton.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
2018-06-27 16:30:31 UTC [     info] Cleaning up. Done
2018-06-27 16:30:32 UTC [     info] Cleaning up. Done

Help please!

--
Walt Brainerd
Reply all
Reply to author
Forward
0 new messages