IMTEK-Simulation / NuMPI

Utilities for MPI-parallel numerical calculations with Python
MIT License
2 stars 1 forks source link

Cannot import muFFTnp from NuMPI #60

Open mishramlan opened 2 years ago

mishramlan commented 2 years ago

The module muFFTnp cannot be imported into other repositories from NuMPI, whereas the other modules from NuMPI are easily importable. Error message: ImportError: cannot import name 'muFFTnp' from 'NuMPI' (/home/amishra97/.local/lib/python3.8/site-packages/NuMPI/init.py)

mishramlan commented 2 years ago

I fixed the issue yesterday, and it was importable from other repositories such as SurfaceTopography. But today when I again wanted to add the tests and checked, with all the settings remaining same, muFFTnp was again not importable NuMPI.

sannant commented 2 years ago

print NuMPI.file

it might be a local installation and not the devel version

sannant commented 2 years ago

you need to source env.sh to run the tests with the local code.

mishramlan commented 2 years ago

Its working. I just have to run the env.sh file each time, before I can use it in other packages in my local environment.