<div dir="ltr">Hi Sonu,<div><br></div><div>1. This should serve as a friendly reminder to always "reply all" if you want to enable help from all flash-users ;)<br>2. There is a quickstart in the user's guide (which you can find on the FLASH website) but generally to get started you should:<br><br>i. Submit the code request, and then after receiving your password, download FLASH [which you probably have done already]</div><div>ii. <font face="monospace">tar xvzf FLASH4.8.tar.gz</font><br>iii. Set the paths for your system in Makefile.h (as Xu mentioned). If you have already run the setup command, your object directory probably has a soft link, which can show you the path to the original file (or you can use the soft link to open Makefile.h). Otherwise, if you look in your "sites" folder (inside of FLASH4.8) then you can either create a directory matching your machine's hostname and modify a Makefile.h in there, or modify the appropriate Prototypes subfolder's Makefile.h</div><div><br></div><div>Regarding what to modify in Makefile.h, generally you'll need to update the MPI_PATH (and sometimes MPI_HOME, MPI_BIN, etc.) to point towards where you have MPI installed. You typically will also need to update HDF5_PATH (or I guess HDF4_PATH or the variable for netcdf). Make sure the fortran, C, and C++ compilers are set to appropriate values.</div><div><br></div><div>iv. Back in your FLASH4.8 directory, run setup (for the Sedov problem for example since I think it is still the de facto FLASH test problem): <font face="monospace">./setup Sedov -auto 2>&1 | tee OUTERR_SETUP.txt</font></div><div><br></div><div>v. <font face="monospace">cd object; make 2>&1 | tee OUT_MAKE.txt</font></div><div>-> You can also do parallel make of course.</div><div><br></div><div>If you run into issues, kindly attach the output of OUTERR_SETUP.txt as well as OUT_MAKE.txt, in addition to describing what you tried and what you think went wrong.</div><div><br></div><div>Best wishes,<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 14, 2024 at 7:13 AM Sonu Kumar <<a href="mailto:kashyapsonu09@gmail.com">kashyapsonu09@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Flash Team,<div><br></div><div>Please help me if possible.<br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr">Thanks & Regards, </div><div>Sonu Kumar</div><div>Post Doctoral Fellow</div><div>Basic Theory & Simulations Division</div><div>Institute for Plasma Research</div><div>Bhat, Gandhinagar-382428</div><div>Gujarat, India<br></div><div dir="ltr"><div><br></div></div></div></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Sonu Kumar</strong> <span dir="auto"><<a href="mailto:kashyapsonu09@gmail.com" target="_blank">kashyapsonu09@gmail.com</a>></span><br>Date: Fri, Oct 11, 2024 at 1:00 PM<br>Subject: Re: [FLASH-USERS] Flash Compilation Problem<br>To: 赵旭 <<a href="mailto:xuzhao1994@sjtu.edu.cn" target="_blank">xuzhao1994@sjtu.edu.cn</a>><br></div><br><br><div dir="ltr"> Dear Sir,<div><br></div><div>Can you give details of the command for compilation. I am facing difficulty in giving proper command. </div><div><br></div><div>and the mpif90 directory is in <b> /home/sonu/mpich-install/bin/mpif90. </b></div><div><b><br></b></div><div>How to add this in my Flash4.8/object directory?.</div><div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr">Thanks & Regards, </div><div>Sonu Kumar</div><div>Post Doctoral Fellow</div><div>Basic Theory & Simulations Division</div><div>Institute for Plasma Research</div><div>Bhat, Gandhinagar-382428</div><div>Gujarat, India<br></div><div dir="ltr"><div><br></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 30, 2024 at 9:52 PM 赵旭 <<a href="mailto:xuzhao1994@sjtu.edu.cn" target="_blank">xuzhao1994@sjtu.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Sonu,<br>
<br>
In your object folder there is a link file named Makefile.h,<br>
<br>
and you can modify the mpi/hdf5/hypre path.<br>
<br>
i.e., for mpi, you can use "which mpif90" command to show the file path.<br>
<br>
If you run FLASH in cluster, you can use "module" to load the mpi/hdf5/hypre, which would be easier.<br>
<br>
Hope this help,<br>
<br>
Xu<br>
<br>
----- 原始邮件 -----<br>
发件人: "Sonu Kumar" <<a href="mailto:kashyapsonu09@gmail.com" target="_blank">kashyapsonu09@gmail.com</a>><br>
收件人: "flash-users" <<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a>><br>
发送时间: 星期一, 2024年 9 月 30日 下午 2:31:14<br>
主题: [FLASH-USERS] Flash Compilation Problem<br>
<br>
Dear Sir/Madam, <br>
<br>
Please guide me for the compilation of Flash code. I am facing a difficulty with mpich installation. I am sharing with you a screenshot related to this problem. <br>
<br>
<br>
Thanks & Regards, <br>
Sonu Kumar <br>
Post Doctoral Fellow <br>
Basic Theory & Simulations Division <br>
Institute for Plasma Research <br>
Bhat, Gandhinagar-382428 <br>
Gujarat, India <br>
<br>
<br>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
-- <br>
Zhao Xu<br>
Laboratory for Laser Plasmas (MoE)<br>
Shanghai Jiao Tong University<br>
800 Dongchuan Rd, Shanghai 200240<br>
</blockquote></div>
</div></div></div>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div>