Hi,
I am trying to use pywinter to produce intermediate file formats for MPAS-A. I am able to install this package to a virtual environment of mine on Casper, but when I try to import the package via:
import pywinter.winter
This fails with the following error message:
ImportError: /glade/u/home/doughert/miniconda3/envs/pangeo3/lib/python3.9/site-packages/KreatE_inter_m_f.cpython-39-x86_64-linux-gnu.so: undefined symbol: _intel_fast_memset
Does anyone know how to fix this? Thanks!
You may need to unload your compiler modules so that the package builds using the compilers in your conda env (there's some Fortran in pywinter that's making things a bit complicated). There might be a smoother way to do this, but it works at least.
When reinstalling you'll probably also need to tell pip not to use the cache: pip install pywinter --no-cache-dir
Thanks, Katelyn! This worked great, so thanks for the help!
Katelyn FitzGerald has marked this topic as resolved.
Just adding that I'll be adding this solution to this WRF/MPAS forum request as well. https://forum.mmm.ucar.edu/threads/how-to-use-pywinter-for-intermediate-files.17087/
Similarly, a request came in on this question to rchelp.ucar.edu and appreciate the insight here.
Last updated: May 16 2025 at 17:14 UTC