Closed blwh closed 5 years ago
Which Fortran compiler are you trying to use on your supercomputer? Can you successfully compile and execute a minimal "hello world" Fortran program to check that your compiler is working properly?
Which Fortran compiler are you trying to use on your supercomputer? Can you successfully compile and execute a minimal "hello world" Fortran program to check that your compiler is working properly?
I am using gfortran
. I have no problems with compiling and executing a "hello world"-program
Update: I only get an error if I install the reqs and Holopy inside a virtual env. Outside of the virtual env the code runs fine.
I fixed the issue. I foolishly enough forgot to create my virtual env with --system-site-packages
so compilation with the env did not work.
Hi, I am trying to run some scattering simulations using holopy but there seem to be some problems with Fortran compilation during installation. When I run the first example from the Users Guide the code throws a NameError:
when
holopy/scattering/theory/scatteringtheory.py
tries to import use thecalc_scat_field
from the module. I cannot use Conda since I have to compile and run this code from source on a supercomputer. Using a fresh virtualenv with Python 3.7.2, I install reqs bypip install -r requirements.txt
and install bypython setup.py install
. Sorry for the long files below, but this is the output from stdout and stderr when runningpython setup.py install
.Stdout:
Stderr:
My guess is there is some problems compiling with Fortran. Any suggestions?