Using -c, I can only redirect .o files. Is there a way to put .mod files in a separate folder and direct PGI Fortran compiler to look for .mod files in that folder.
Thanks,
Tuan
Using -c, I can only redirect .o files. Is there a way to put .mod files in a separate folder and direct PGI Fortran compiler to look for .mod files in that folder.
Thanks,
Tuan
Use “-module”.
$ pgfortran -help -module
-module Add search directory for module information files