[FLASH-USERS] Problems that occurred during the FLASH 4.6 run case

史路林 shilulin at impcas.ac.cn
Thu Aug 15 22:17:09 EDT 2024


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,





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240816/df65cc8a/attachment.htm>


More information about the flash-users mailing list