we want to compile a CFD code on a Power9 machine. For some parts of the code we want to use the IBM xl compiler and for some other parts which include OpenACC code we want to use the PGI compiler.
Is it possible to compile the OpenACC code into a library using the PGI compiler and then call it from a program which was compiled using the IBM xl compiler? We are using FORTRAN as a programming language.
Thank you for your help