Skip to content
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

error finding wignerTrafoAdjointmex #2268

Open
vedadb opened this issue Nov 29, 2024 · 7 comments
Open

error finding wignerTrafoAdjointmex #2268

vedadb opened this issue Nov 29, 2024 · 7 comments

Comments

@vedadb
Copy link

vedadb commented Nov 29, 2024

What do you want to do?
Evaluate ODF

What code do you use?
Please provide minimalist code with code in the following form

odf = calcDensity(ebsd.orientations);
ori = orientation.byMiller([0 0 1],[0 0 1], ebsd.CS);
odf.eval(ori)

Error Message
Unrecognized function or variable 'wignerTrafomex'.

Error in SO3FunHarmonic/wignerTrafo (line 61)
ghat = wignerTrafomex(N,SO3F.fhat,flags,sym);

What MTEX version do you use?
6.0.beta3

A workaround is to rename all wignerTrafo-functions such that trailing "mex" is removed.

@djm87
Copy link
Contributor

djm87 commented Dec 6, 2024

Same issue with mtex-6.0.0. I needed to compile the mex files for the function to be findable. I'm on apple silicon.

Dan

@ralfHielscher
Copy link
Member

Hi Vedad,

thank you for pointing this out. I have no idea, where this bug originates from.

Ralf

@ralfHielscher
Copy link
Member

Hi Dan,
can you send me the binaries for your mac?
Ralf.

@Zinjifrah17
Copy link

Hello! any follow up on this? Like Dan, I have that version and environment.

@maguag
Copy link

maguag commented Dec 19, 2024

Hi everyone,
I encountered the same issue on my MacBook Air (M3). I installed Xcode and then ran the mex_install.m file located in mtex-6.0.0/mex/ within MATLAB, when the command line showed “* wignerTrafomex.c is compiling,” it started working after that.

@ralfHielscher
Copy link
Member

Hi maguag,
great work! Could you please send me the compiled binaries such that I can include them into a bugfix release of MTEX?
Thank you very much,
Ralf.

@maguag
Copy link

maguag commented Dec 19, 2024

Hi Ralf,
The binaries were uploaded.
mex.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants