Changes between Initial Version and Version 1 of Ticket #47806, comment 5
- Timestamp:
- Jun 15, 2015, 8:56:50 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47806, comment 5
initial v1 8 8 > I have had a very hard time figuring out the appropriate dependencies so I'm hoping you can help sort this out: 9 9 > 10 > (1) Building gcc5 does not require the OpenCoarrays libcaf_mpi.a library, but using gcc5 to build parallel executables from coarray Fortran codes requires linking to libcaf_mpi.a 11 > 12 > (2) Building libcaf_mpi.a does not require gcc5 (earlier versions of gcc5 can build libcaf_mpi.a), but libcaf_mpi.a will be unusable if mpich-gcc5 is not present. 10 > 1. Building gcc5 does not require the OpenCoarrays libcaf_mpi.a library, but using gcc5 to build parallel executables from coarray Fortran codes requires linking to libcaf_mpi.a 11 > 2. Building libcaf_mpi.a does not require gcc5 (earlier versions of gcc5 can build libcaf_mpi.a), but libcaf_mpi.a will be unusable if mpich-gcc5 is not present. 13 12 > 14 13 > so either can be built without the other, but each is of limited utility without the utility without the other. Should gcc5 depend on OpenCoarrays or should OpenCoarrays depend on gcc5 or neither? … … 26 25 after the installation process: 27 26 27 {{{ 28 28 mpif90 -fcoarray=lib testCoarray.f90 -L/opt/local/lib -lcaf_mpi -o test 29 }}} 29 30 30 31 compiles without any problem 31 32 33 {{{ 32 34 $ mpirun -np 4 ./test 33 35 … … 40 42 Hello world, I am 4 41 43 4 prev 3 next 1 44 }}} 42 45 43 46 which means the program runs correctly too.