Cross-effect under MAS

Topics related to Spinach package
Post Reply
faq_user
Posts: 49
Joined: Tue Jul 13, 2021 8:33 am

Cross-effect under MAS

Post 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?
kuprov
Posts: 202
Joined: Mon Mar 29, 2021 4:26 pm

Re: Cross-effect under MAS

Post 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.
Post Reply