installation related: cannot find 'fortran' module

Issue #233 new
Sheng-Chih Lin created an issue

Hi AMP community,

I am new to the amp. As I try to build a fortran module, I encounter several problems. I’ve done something to fix it, but it still doesn’t work. What I’ve done is as follows.

My system is windows 10 64-bit and I use python 3.6 to install the amp. In the first part of pip3 installing, that process was smooth. However, when I try to import amp. The shell told me that it cannot find a fortran module. So I tried to compile it myself, and I downloaded a series of *.f90 files in order to compile. After compiling, there was a file named fmodules.cp36-win_amd64 and a folder-fmodules-coming out in the amp folder. However, when I tried to import amp, the shell still told me that it cannot find a fortran module. Then, I check the system path to make sure the python can point to the path where the file, fmodules, located. However, it still doesn’t work, and the same message still happened. Besides, I check my compiler, mingw32. I thought that might be caused by the 32-bit compiler, so I switch the compiler to that for 64-bit. Still, the problem remains. Does anyone have suggestion to fix the problem?

Best,

SC Lin

Comments (0)

  1. Log in to comment