-
Notifications
You must be signed in to change notification settings - Fork 51
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
Configuration on Windows with Intel visual fortran complier #7
Comments
Hi, this looks like that you did not link against the Python library. I did not have the chance to try it myself, but according to [1] (point 7.), you can set the path to the Python library in the project properties in the tab "Linker > General > Additional Library Directories". |
Thanks for your reply and your contribution to forpy. I have modified some configurations depending on your suggestion and make the test case work on VS. I summarize it as follow for others who may encounter the same problem:
Notice: |
I'm trying to use forpy with Intel Fortran on Windows 10 with Visual studio 2019. I have installed Python 3.7 and have followed the steps given by @wuxiaoxiong1990, but I cannot get it to work. It throws the following error: forpy_mod.obj Does anyone have a workaround? @ylikx Could you please help me on this? |
Hi, according to the error message linking against the Python runtime library failed. Try to locate the |
Hello, I’m trying to call some python modules of anaconda from FORTRAN program on Windows OS and intel visual fortran complier integrated in VS IDE. I tested the examples of forpy on linux with ifort which worked well but raised errors on Windows. The complier cannot recongnize the function used in forpy.f90 like '_Py_Initialize'. I didn't find the manual about configuration on Windows. Can you provide some detailed sugguestions about this situation? Many thanks!
The text was updated successfully, but these errors were encountered: