<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello!<div><br></div><div>Your traceback leads to line 221 of your Config. If you have any leading spaces, try removing them. Otherwise, it would be helpful if you can attach your Config file.</div><div><br></div><div>Best wishes,</div><div>Ryan<br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Aug 15, 2024, at 9:17 PM, 史路林 <shilulin@impcas.ac.cn> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><p>
<span style="font-family:SimSun;">Dear Flash users,</span>
</p>
<p>
<span style="font-family:SimSun;"><br>
</span>
</p>
<p>
I'm a new user of FLASH and I encountered a new issue during running the case LaserSlab with the error:
</p>
<p>
<br>
</p>
<p>
Arguments: ['/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py', '-auto', 'LaserSlab', '-2d', '-nxb=16', '-nyb=16', '-maxblocks=9999', '+hdf5typeio', 'species=cham,targ', '+mtmmmt', '+laser', '+uhd3t', '+mgd', 'mgd_meshgroups=6', '-parfile=example.par']<br>
Python Version: 3.11.7<br>
Platform Details: linux<br>
Traceback (most recent call last):<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py", line 265, in <module><br>
raise e<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py", line 250, in <module><br>
main()<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py", line 66, in main<br>
unitList.generateUnitsfile()<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitUtils.py", line 428, in generateUnitsfile<br>
self.addUnits(GVars.withUnits)<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitUtils.py", line 84, in addUnits<br>
self.units[unitname] = FlashUnit(unitname, restrict=restrict, ignorePP=self.ignorePP) # add unit<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitCfg.py", line 83, in __init__<br>
self.parse()<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitCfg.py", line 140, in parse<br>
ans = self.processFile(self.filename) # exception goes all the way to the top<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/preProcess.py", line 49, in processFile<br>
code = compile(fd.read(), filename, "exec")<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
File "physics/sourceTerms/EnergyDeposition/EnergyDepositionMain/Laser/Config", line 221<br>
var14 = "ed_initialRaySpeed_" + str (i+1)<br>
TabError: inconsistent use of tabs and spaces in indentation
</p>
<p>
<br>
</p>
<p>
<br>
</p>
<p>
<br>
</p>
<pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;"><span style="text-wrap:wrap;">If you've had this problem before, or know how to fix it, please get back to me, thank you!</span></pre>
<pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;">Best regards,</pre>
<pre wrap="soft" style="font-size:14px;overflow-wrap:break-word;"></pre>
<p>
<br>
</p>
<p>
<br>
</p><span>_______________________________________________</span><br><span>flash-users mailing list</span><br><span>flash-users@flash.rochester.edu</span><br><span></span><br><span>For list info, including unsubscribe:</span><br><span>https://flash.rochester.edu/mailman/listinfo/flash-users</span><br></div></blockquote></div></body></html>