[FLASH-USERS] FLASH compilation

Ryan Farber rjfarber at umich.edu
Fri Jun 30 05:00:24 EDT 2023


Hi Carlos,

I think the extra slash character "/" is why you had command not found. In
any case for switching to openmpi (or for fixing the path typo), go to
${YOUR_FLASH_PATH}/sites and then create a directory for your hostname (or
just modify whichever one it is using, usually Prototypes/Linux; in any
case that gets printed during the setup command). You'll want to modify the
paths in Makefile.h.

Best,
--------
Ryan


On Thu, Jun 29, 2023 at 2:02 PM Carlos Celma <ccelma.96 at gmail.com> wrote:

> Hello all,
> I am experiencing issues with the FLASH compilation, the error is:
>
> /usr/local/mpich2//bin/mpif90 -ggdb -c -O2 -fdefault-real-8
> -fdefault-double-8 -Wuninitialized  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8
> -DNZB=1 -DN_DIM=2 Burn_interface.F90
> make: /usr/local/mpich2//bin/mpif90: Command not found
> make: *** [Makefile:116: Burn_interface.o] Error 127
>
> which seems not to recognize mpich in my machine, however I would like to
> run it using openmpi and not mpich. I am not sure how to change this in the
> specifications.I have seen that in the webpage:
>
> https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p7/node36.html#Sec:SetupMakefile
> The link redirecting to the how to library is not working. Could you
> provide any advice regarding this?
> Thanks for your help,
> Carlos Celma
> _______________________________________________
> 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/20230630/e7a6e8eb/attachment.htm>


More information about the flash-users mailing list