Page 1 of 1

Cross-effect under MAS

Posted: Tue Jul 13, 2021 9:34 am
by faq_user
What I am typically trying to do is to run is a cross effect field scan but under MAS, so trying to loop the "masdnp" function... first, it is quite time consuming, and I was wondering to what extend we could parallelize the iterative calculations (the parfor loops do not seem to be compatible with structure variables)... and what about parallelizing the powder calculation as well?

Second, I am working on a server and run calculations without graphical interface, and I encounter failures quite often... My error message is "segmentation violation"... Are you aware of such issues ? Are there some changes to make in MATLAB's configuration to run Spinach in an appropriate way?

Re: Cross-effect under MAS

Posted: Tue Jul 13, 2021 9:35 am
by kuprov
At the moment, the parallelisation is over the rotor grid. I can switch it to parallelise over the powder grid if that's more convenient -- would you like me to do that?

Segmentation violation is a Linux operation system error -- that's between Linux and Matlab, probably nothing to do with Spinach. Try the -nodesktop option when launching Matlab.