-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Compilation following the manual completes normally in an hpc module-type environment, then tests/examples give segfault errors. Bug tracked to parameter set() function; implicit type change from Literal[] to float[] fails, and tuple assignment of Literals avoids type classification, giving segfault when trying to assign the tuple.
This occurs even for the default function found in mumaxplus/parameter.py > line 211 and 213.
Work around: change line 211 "self._impl.set(0)" -> "self._impl.set(0.0)"
and line 213 "self._impl.set((0, 0, 0))" -> "self._impl.set((0.0, 0.0, 0.0))"
avoid Literal[] values for any parameter set().
Suscpected issue: since it works fine on laptop, and conda install uses the environment.yml, issue is suspected to be the gcc version loaded on the module cluster (our version: 12.3.0), nvcc --version: V12.4.131