intel / intel-application-migration-tool-for-openacc-to-openmp

OpenACC* to OpenMP* API assisting migration tool
BSD 3-Clause "New" or "Revised" License
32 stars 5 forks source link

Files must be located in the current directory #12

Closed Pennycook closed 10 months ago

Pennycook commented 10 months ago

Attempting to invoke the migration tool on a file that is not in the current directory produces an error:

intel-application-migration-tool-for-openacc-to-openmp /path/to/file.f90
Error! Cannot find file file.f90.

I think this is because the tool extracts the basename from the path and checks that, instead of using the path as provided: https://github.com/intel/intel-application-migration-tool-for-openacc-to-openmp/blob/1e13f6f766623c8fcca39f196948247370bf05d3/src/migrate_openacc_2_openmp.py#L321-L324