ubermag / workshop

Workshop: Micromagnetics with Ubermag
BSD 3-Clause "New" or "Revised" License
27 stars 13 forks source link

lastomffile not found #63

Closed mrtalkingbadger closed 4 years ago

mrtalkingbadger commented 4 years ago

Hello, one of my ubermag scripts throws the following error when i drive the system:

" Traceback (most recent call last): File "uberamag_nucleation.py", line 52, in md.drive(system) File ".../.conda/envs/UBERMAG_ENV/lib/python3.8/site-packages/oommfc/drivers/driver.py", line 198, in drive lastomffile = sorted(omffiles)[-1] IndexError: list index out of range "

Does anyone has an idea where this could come from? it is a short script (initalizing FM state in a disk and relaxing)

Best, Thomas

marijanbeg commented 4 years ago

Hi @mrtalkingbadger, this error usually means that OOMMF run failed and OOMMF did not output any files due to an error. If you get this error for all Ubermag runs, then probably Ubermag is not installed properly. If you get it only for some runs, then please send me the script, so I can explore where the error might have occurred.

marijanbeg commented 4 years ago

Hi @mrtalkingbadger, is this problem resolved? If not, please feel free to reopen this issue.