Alternatively, I may be able to use ACC_SET_DEVICE_NUM.
However, since I am using PGI compiler, I am not sure how I can use the accel_lib module.
Native Compiler: PGI 20.1 Fortran
Omni Compiler: 1.3.2
Best regards,
Noriyuki Kushida
Masahiro Nakao
unread,
Apr 17, 2020, 10:40:16 PM4/17/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omni-c...@googlegroups.com
Dear Kushida-san,
Sorry for the late reply.
Tabuchi-san graduated from development, so we do not know the details.
The function xacc_create_device() written in the paper doesn't seem to
be in omni-compiler package.
And omni-compiler cannot use the accel_lib module file.
Instead, you may use the ACC_DEVICE_NUM environment variable, which is
defined in OpenACC specification.
This variable controls the default device number.
If you use OpenMPI included in PGI compiler,
you can execute the following command using the "numa.sh" script,
which is attached in this mail.