-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fortran Libs not importing properly #32
Comments
Hi, |
Hi, thank you for the reply. It doesn't even look like the .so files are created. They are supposed to be in $MAGIC_HOME/python/magic correct? |
I see. It's the compiler then. Could you send the following information?
|
Local computer, CC=gcc, FC=gfortran, CXX=mpicxx [plots] |
You need to set |
Ah, that worked! Thought I had already tried gnu95 as my fortran compiler but apparently not. Thank you! |
With build_lib set to true, from magic import * fails. Specifically, it has trouble import magic.legendre as leg which leads me to believe that the fortran libraries are not importing correctly. Any help would be greatly appreciated! Traceback:
Please wait: building greader_single...
Please wait: building greader_double...
Please wait: building lmrreader_single...
Please wait: building Legendre transforms...
Please wait: building vtklib...
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from magic import *
~/magic/python/magic/init.py in
14 from .checker import *
15 from .thHeat import *
---> 16 from .coeff import *
17 from .radialSpectra import *
18 from .checkpoint import *
~/magic/python/magic/coeff.py in
4 import numpy as np
5 import matplotlib.pyplot as plt
----> 6 from .spectralTransforms import SpectralTransforms
7 from magic.setup import labTex
8 import copy
~/magic/python/magic/spectralTransforms.py in
4
5 if buildSo:
----> 6 import magic.legendre as leg
7
8
ModuleNotFoundError: No module named 'magic.legendre'
The text was updated successfully, but these errors were encountered: