I've successfully used a coarray library with
shared memory and ifort 12. Now I've got
licence for distributed memory and ifort 14,
but my coarray library doesn't work anymore.
I can compile and run standalone coarray code
with distributed memory. However, I'm not clear
how to use the coarray-config-file with the library.
A typical scenario: I have coarray library code
under ~/project/lib and coarray code using the
library under ~/project/tests.
I compile under ~/project/lib with
ifort -c -coarray=distributed -debug full -free -fPIC -warn all
I put the resulting module files under ~/project/modules.
I put the resulting object files into a unix archive and under
Then under ~/project/tests I build and link the
coarray code using the library code like this:
ifort -c z.f90 -coarray=distributed -I~/project/modules -coarray-config-file=ca.conf -debug full -warn all
ifort -o z.x z.o -coarray=distribued -L~/project/libs -l
I get an executable, but when I run it with this ca.conf:
-envall -n 64 ./z.x 4 4
and with an appropriate PBS script, I get various runtime
rank 0 in job 1 node32-034_45144 caused collective abort of all ranks
exit status of rank 0: killed by signal 9
I will investigate the code, of course, but just wanted
to check that I'm using the logic of -coarray-config-file correctly
for building/linking coarray library code.