[FLASH-USERS] Problem trying to change species name from 'target' to 'buzz' in LasSlab example

Rodger, Izzy rodger1 at llnl.gov
Tue Aug 1 16:40:49 EDT 2023


Hi Adam,

Thank you for your quick response. You were right!

Here’s what I did to get it to work:

  1.  As described in my previous message, I changed every instance of Targ -> Buzz and every instance of target -> buzz. What matters here is that they’re consistent across the 5 important files, which leads to…
  2.  Make these changes for: Simulation_initBlock.F90, Simulation_init.F90, Simulation_data.F90, Config, exampler.par : in the source/Simulation/SimulationMain/LaserSlab directory
  3.  Run the setup and make commands as normal

I’ve verified that the simulation runs as expected. Thank you again for your help.

Kind regards,
Izzy

From: Adam Reyes <adam.reyes at rochester.edu>
Sent: Tuesday, August 1, 2023 12:30 PM
To: Rodger, Izzy <rodger1 at llnl.gov>
Cc: flash-users at flash.rochester.edu
Subject: Re: [FLASH-USERS] Problem trying to change species name from 'target' to 'buzz' in LasSlab example

Hi Izzy,

The last place would be in the 'Config' file located in your simulation directory. For example in "source/Simulation/SimulationMain/LaserSlab/Config" there are runtime parameter declarations like:

PARAMETER sim_targetRadius REAL 0.0050

These declare to the setup script parameters that you want the compiled executable to be able to read from your parfile at runtime. You can read more about the PARAMETER directive, and other Config file syntax here<https://urldefense.us/v3/__https:/flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p71/node35.html*SECTION03252000000000000000__;Iw!!G2kpM7uM-TzIFchu!xmBXuCE5F6m6iJk-Jo768ccCUyurFkHQb94hPjVejV4Wz8M54L31nxGW0nu0udGenvk8YzNga7jsSILvaTh8p3iduQ$>.



*************************************************************************
Adam Reyes
[Image removed by sender.]
Code Group Leader, Flash Center for Computational Science
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu<mailto:adam.reyes at rochester.edu>
Web https://flash.rochester.edu<https://urldefense.us/v3/__https:/flash.rochester.edu/__;!!G2kpM7uM-TzIFchu!xmBXuCE5F6m6iJk-Jo768ccCUyurFkHQb94hPjVejV4Wz8M54L31nxGW0nu0udGenvk8YzNga7jsSILvaTgfpviLtg$>
 (he / him / his)
[Image removed by sender.]
*************************************************************************

On Tue, Aug 1, 2023 at 9:09 PM Rodger, Izzy <rodger1 at llnl.gov<mailto:rodger1 at llnl.gov>> wrote:
I hope this email finds everybody well!

I’m trying to change the name of the species in the LaserSlab from ‘target’ to ‘buzz’ to get a better understanding for how to use FLASH. I specified it in the setup line, and have gone through the FLASH.par, Simulation_initBlock.F90, Simulation_init.F90 and Simulation_data.F90 files and changed every instance of target to buzz and every instance of Targ to Buzz by hand. The make command runs fine, but then when I try to run the flash4 executable I get the error message:

RuntimeParameters_read:  ignoring unknown parameter "sim_buzzRadius"...
RuntimeParameters_read:  ignoring unknown parameter "sim_buzzHeight"...
RuntimeParameters_read:  ignoring unknown parameter "sim_rhoBuzz"...
RuntimeParameters_read:  ignoring unknown parameter "sim_teleBuzz"...
RuntimeParameters_read:  ignoring unknown parameter "sim_tionBuzz"...
RuntimeParameters_read:  ignoring unknown parameter "sim_tradBuzz"...

Which is later followed by:

WARNING: requested real parameter 'sim_buzzRadius' not found

Before the program aborts.

Please can somebody provide advice on how to fix this?
Kind regards,
Izzy
_______________________________________________
flash-users mailing list
flash-users at flash.rochester.edu<mailto:flash-users at flash.rochester.edu>

For list info, including unsubscribe:
https://flash.rochester.edu/mailman/listinfo/flash-users<https://urldefense.us/v3/__https:/flash.rochester.edu/mailman/listinfo/flash-users__;!!G2kpM7uM-TzIFchu!xmBXuCE5F6m6iJk-Jo768ccCUyurFkHQb94hPjVejV4Wz8M54L31nxGW0nu0udGenvk8YzNga7jsSILvaTjgZbczrg$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230801/2d608281/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD0000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD0000.jpg
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230801/2d608281/attachment-0001.jpg>


More information about the flash-users mailing list