Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License issue about object files #21

Closed
liux2085 opened this issue Jul 27, 2021 · 4 comments
Closed

License issue about object files #21

liux2085 opened this issue Jul 27, 2021 · 4 comments

Comments

@liux2085
Copy link

Hi,

I found there are some object files in the repo, such as "ittapi/include/fortran/posix/x86_64/ittfortran.o".
Are those object files under the same license? How to regenerate those files?

Thanks,
Yongxin

@ekovanova
Copy link
Contributor

Hi Yongxin!
.o file was mistakenly uploaded to the repo, I'll remove it.

To regenerate the files you can use the following compiler commands:

Linux:
ifort -g -c -fPIC -module ./include/fortran/posix/x86 -o ./include/fortran/posix/x86/ittfortran.o ./include/fortran/posix/ittnotify.f90
ifort -g -c -fPIC -module ./include/fortran/posix/x86_64 -o ./include/fortran/posix/x86_64/ittfortran.o ./include/fortran/posix/ittnotify.f90

Windows:
ifort /nologo /libdir:noauto /c /module:include\fortran\win32\x86\ /object:include\fortran\win32\x86\ include\fortran\win32\ittnotify.f90
ifort /nologo /libdir:noauto /c /module:include\fortran\win32\x86_64\ /object:include\fortran\win32\x86_64\ include\fortran\win32\ittnotify.f90

As a result, the following files will be regenerated:
ittnotify.mod
ittfortran.o (Linux)
ittfortran.obj (Windows)

Regards,
Elena

@liux2085
Copy link
Author

Thanks Elena for quick response and such detailed instructions.

@liux2085
Copy link
Author

@ekovanova, one more question, is it necessary to keep "ittnotify.mod" in repo?

@ekovanova
Copy link
Contributor

@liux2085 it's not necessary, it's just more convenient way of product distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants