[Flash-X-users] Getting Flash-X to work

Ryan Farber rjfarber at umich.edu
Mon Aug 26 22:42:11 CDT 2024


Hi Peter,

Thanks for attaching the full output of your make command. The following
lines I find disconcerting:

make -f Makefile.Flash -j8 BUILDFLAG=OPT USE_GPU=FALSE USE_CUDA=FALSE
USE_CUBLAS=FALSE USE_HIP=FALSE USE_ROCM=FALSE USE_ONEMKL=FALSE
USE_OACC=FALSE USE_OMP_OL=FALSE USE_OMP=FALSE MOMENT_CLOSURE=MINERBO
NEUTRINO_MATTER_SOLVER=EMAB TWOMOMENT_ORDER=ORDER_1
MICROPHYSICS=WEAKLIB
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).


I just browsed your emails on the FLASH + Flash-X user support threads. I
suspect your installation of thornado is missing in your system PATH.

Have you had luck with running any Flash-X problems so far? If not, I'd
suggest starting with the Sedov problem. If you've already run the Sedov
problem, then probably checking thornado would be helpful. I'm traveling
currently, and having wifi issues at the motel, so my apologies I cannot
give you more useful help at this time.

Best wishes,
--------
Ryan


On Mon, Aug 26, 2024 at 8:01 PM Peter Manzella <peter.manzella at maine.edu>
wrote:

> Ryan,
> Of course, many many thanks to Kiya, been extremely helpful. And many
> thanks to you for lending a helping hand too! I didn't see your email till
> very much after I had left my office, but noticed it and had to come in to
> take care of some other things, so it is a bit late, sorry.
> As asked (let me know if I didn't grab the right thing)
> 1) screenshot of 'ls' in the problem directory:
> [image: image.png]
> 2) my setup command:
>
> ./setup Relaxation -auto -3d +cartesian +cube16 +thornado nE=16 swE=0
> nSpecies=6 nNodes=2 nMoments=4 momentClosure=MINERBO thornadoOrder=ORDER_1
> +weaklib -parfile=flash.par
>
> 3)full output in a compile.txt
>
> I really appreciate any and all help I can get, I've spent a bit on trying
> to get through it, but quite often it felt like I was going in circles.
>
> On Mon, Aug 26, 2024 at 4:42 PM Ryan Farber <rjfarber at umich.edu> wrote:
>
>> Hi Peter,
>>
>> If you share the following I can take a look tonight:
>> 1) screenshot of “ls” in your problem directory
>> 2) your setup command
>> 3) the full output and error streams of your compilation command (e.g., make
>> 2>&1 compile.txt
>>
>> As an aside, thanks to Kiya for your kind contributions to this thread!
>> I’m sure what you've provided will be useful in the future too!
>>
>> Best wishes,
>> Ryan
>>
>> Sent from my iPhone
>>
>> On Aug 26, 2024, at 1:53 PM, Peter Manzella <peter.manzella at maine.edu>
>> wrote:
>>
>> 
>> OK, that makes more sense, I'll need to make sure those are in the file,
>> not command line. I went to setup after adding those, and have this error,
>> its related to equation of state, and I haven't been able to find anything
>> in documentation
>> ZjQcmQRYFpfptBannerStart
>> This Message Is From an External Sender
>> This message came from outside your organization.
>>
>> ZjQcmQRYFpfptBannerEnd
>> OK, that makes more sense, I'll need to make sure those are in the file,
>> not command line. I went to setup after adding those, and have this error,
>> its related to equation of state, and I haven't been able to find anything
>> in documentation about it.
>> <image.png>
>>
>> This is the sort of thing that is frustrating, not being able to find
>> where I need to look to troubleshoot. I tried using grep to find it, I've
>> looked in the documentation link you sent me (I already knew about that,
>> but it wasn't helpful beyond the quick start), but couldn't find it. Is
>> this more of a thornado issue? Cause like I said I'm not super acquainted
>> with large codes that require so many moving pieces.
>>
>> On Mon, Aug 26, 2024 at 2:28 PM kiyarash Taghiniyarami <
>> kiyarash.niyarami at gmail.com> wrote:
>>
>>> Dear Peter,
>>> These are not for command line (If you mean "command line" as setup for
>>> configuring a new run).
>>> Before setup you need to make a directory in the Simulation unit
>>> (/source/Simulation/SimulationMain). In that directory you need some codes
>>> such as Simulation_data.F90, Simulation_init.F90, Simulation_initBlock.F90,
>>> and etc.
>>> Say you need the "Half" variable in the Simulation_initBlock.F90. you
>>> can call it by KindModule from Thornado if you write the following in that
>>> fortran code:
>>> Use KindModule, only: Half
>>> so you can use the "Half" anywhere in that Simulation_initBlock.F90. It
>>> has nothing to do with typing in the command line and hitting enter.
>>> If I understand correctly what you mean, there are some setup variables
>>> you can type in the command line (such as nxb,nyb, swE,nE and etc.) which
>>> are different from modules. setup variables can be set up in Config files
>>> in any physics subdirectories.
>>>
>>> There is documentation for Flashx as well:
>>> https://urldefense.us/v3/__https://flash-x.github.io/Flash-X-docs/*__;Iw!!G_uCfscf7eWS!fDCe9M9ZN4XdAWtJQ5_LL4o5kEL3sG1YsU6CZgobR1SjQIOHArZYCRNbNZYFYO0gIJsHrrRMWFmd_fRuiwno_unQ2GfUT9zRnA$ 
>>> <https://urldefense.us/v3/__https://flash-x.github.io/Flash-X-docs/*__;Iw!!G_uCfscf7eWS!cy5tKVb9Qwu2rLLCi1LNfkq2D5uVYlmB4FWF6x2Pvqvq1OrrRPvzAwx-yFHLivQcBbWQTRySdjTQzVXdJjzC_Qh1vl2zpGdoLrGAwyOT$>
>>>
>>> Kind regards,
>>> Kiya
>>>
>>>
>>
>> --
>> Peter Manzella
>> PhD Candidate, Department of Physics and Astronomy
>> 309 Bennett Hall
>> University of Maine
>> peter.manzella at maine.edu
>>
>> “If you run out of ideas follow the road; you'll get there.” – Edgar
>> Allan Poe
>> --
>> Flash-X-users mailing list
>> Flash-X-users at lists.cels.anl.gov
>> https://urldefense.us/v3/__https://lists.cels.anl.gov/mailman/listinfo/flash-x-users__;!!G_uCfscf7eWS!fDCe9M9ZN4XdAWtJQ5_LL4o5kEL3sG1YsU6CZgobR1SjQIOHArZYCRNbNZYFYO0gIJsHrrRMWFmd_fRuiwno_unQ2GfBDAm8ZQ$ 
>>
>>
>
> --
> Peter Manzella
> PhD Candidate, Department of Physics and Astronomy
> 309 Bennett Hall
> University of Maine
> peter.manzella at maine.edu
>
> “If you run out of ideas follow the road; you'll get there.” – Edgar Allan
> Poe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cels.anl.gov/pipermail/flash-x-users/attachments/20240826/e1acfa84/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 58932 bytes
Desc: not available
URL: <http://lists.cels.anl.gov/pipermail/flash-x-users/attachments/20240826/e1acfa84/attachment-0001.png>


More information about the Flash-X-users mailing list