[FLASH-USERS] Problems that occurred during the FLASH 4.6 run case
Ryan Farber
rjfarber at umich.edu
Fri Aug 16 00:26:17 EDT 2024
Hello!
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.
Best wishes,
Ryan
Sent from my iPhone
> On Aug 15, 2024, at 9:17 PM, 史路林 <shilulin at impcas.ac.cn> wrote:
>
>
> Dear Flash users,
>
>
>
> I'm a new user of FLASH and I encountered a new issue during running the case LaserSlab with the error:
>
>
>
> 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']
> Python Version: 3.11.7
> Platform Details: linux
> Traceback (most recent call last):
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py", line 265, in <module>
> raise e
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py", line 250, in <module>
> main()
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/setup.py", line 66, in main
> unitList.generateUnitsfile()
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitUtils.py", line 428, in generateUnitsfile
> self.addUnits(GVars.withUnits)
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitUtils.py", line 84, in addUnits
> self.units[unitname] = FlashUnit(unitname, restrict=restrict, ignorePP=self.ignorePP) # add unit
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitCfg.py", line 83, in __init__
> self.parse()
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/unitCfg.py", line 140, in parse
> ans = self.processFile(self.filename) # exception goes all the way to the top
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/LustreData5/home/zhangjinfu/flash/FLASH4.6/bin/preProcess.py", line 49, in processFile
> code = compile(fd.read(), filename, "exec")
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "physics/sourceTerms/EnergyDeposition/EnergyDepositionMain/Laser/Config", line 221
> var14 = "ed_initialRaySpeed_" + str (i+1)
> TabError: inconsistent use of tabs and spaces in indentation
>
>
>
>
>
>
>
> If you've had this problem before, or know how to fix it, please get back to me, thank you!
> Best regards,
>
>
>
>
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240815/5d7fe287/attachment.htm>
More information about the flash-users
mailing list