> >> StandardError: OCaml exception 'Failure: XXX TODO: get_potential()
> not implemented yet for parallel linalg_machine!'
> (linalg_machine_bem_field_strength)
>
> Apparently reading the online manual it should work.
> Did I have to set a specific flag during compilation? or it is not fully
> implemented yet?
Rather the other way round: Until recently, the underlying nsim system
supported both parallel execution and a slightly more efficient
single-processor mode (that did not do some vector copying which becomes
pointless if there is only one computational node). Some time ago, we
axed the dedicated single-processor mode in order to reduce the
complexity of the codebase (so all simulations now use parallelizable
code - single-processor or not), but as probing the demagnetisation
field in the exterior region was supported for the parallel code, we
lost that capablilty in the transition, which has to be re-implemented.
It is on our (rather: my) to-do list, but the short term fix is to
downgrade to an earlier version of the nmag package which still supports
dedicated sequential mode. Sequential mode was removed in nsim revision
5451. Hence, probe_subfield_siv() should work for the exterior region
for versions before this. What installation method did you use?
--
best regards,
Thomas Fischbacher
t.fisc...@soton.ac.uk
I am afraid you can not probe the demagnetisation field outside of the
magnetic regime,
since Nmag uses an algorithm, which only computes this field within the
magnetic body.
To my knowledge there is a relatively easy way to add this
functionality, but as you
already guessed in your email, this is not implemented yet.
Regards,
Andreas
> I am afraid you can not probe the demagnetisation field outside of the
> magnetic regime,
> since Nmag uses an algorithm, which only computes this field within the
> magnetic body.
> To my knowledge there is a relatively easy way to add this
> functionality, but as you
> already guessed in your email, this is not implemented yet.
I should mention that Andreas joined our group somewhat recently, and
only after we had thrown out the sequential code, so he is not fully
aware of the details of this situation. If you go back to this package:
http://nmag.soton.ac.uk/debian/dists/stable/unofficial/binary-i386/nsim_0.1.5282_i386.deb
...then probing the exterior field will work (but you will lose some
improvements that have been made since).
As I said, fixing this is on my to-do list.