[FLASH-USERS] FLASH make error
Peter Manzella
peter.manzella at maine.edu
Fri Nov 15 12:05:39 EST 2024
Ryan,
That was helpful. I was able to use both your screenshots and advice to fix
some things ( I think). I have double and triple checked my paths, with no
progress at all. I do not know where else to look, any advice on how to
proceed would be greatly appreciated (I did not know that the switch made
on the cluster since when I last had this working would prevent me from
using FLASH in this manner).
On Thu, Nov 14, 2024 at 10:29 PM Ryan Farber <rjfarber at umich.edu> wrote:
> Hi Peter,
>
> Thanks for the screenshot and your Makefile.h. To echo what Klaus wrote in
> the FLASH mailing list post you linked to, your Makefile.h has problems.
>
> The error you’re receiving is in the linking step and is complaining about
> hdf5 and/or MPI files not being found.
>
> I noticed that you have LIB_NCMPI set (for netcdf) as well as CFLAGS_NCMPI.
>
> You should instead set the corresponding MPI variables.
>
> Also note that you have -ggdb in your *_OPT variables, which is very
> useful for debugging but not ideal for production runs. I’d also recommend
> -O3, unless you’re worried about one or more of its optimizations being
> inappropriate for your system.
>
> Probably the above should be enough, but I’ve attached screenshots (on my
> phone so they might not be the easiest to parse) in case they help.
>
> You might also need to check that your paths exist and update the paths
> you set in Makefile.h as needed.
>
> Best wishes,
> Ryan[image: image0.png][image: image1.png][image: image2.png][image:
> image3.png][image: image4.png]
>
> Sent from my iPhone
>
> On 14. Nov 2024, at 17:33, Peter Manzella <peter.manzella at maine.edu>
> wrote:
>
>
> Ryan,
>
> My apologies, I was in a rush, and forgot the screenshot as well. This is
> the error I get at the very end of running make,
> <image.png>
>
> In case it is helpful, attached is my Makefile.h, and here is the setup
> command:
> ./setup CCSN -auto -2d +cylindrical -nxb=16 -nyb=16 -objdir ccsn2d
> threadBlockList=False +pm4dev threadWithinBlock=False +newMpole +uhd
> +hdf5TypeIO useFortran2003=True
>
> On Thu, Nov 14, 2024 at 6:30 PM Ryan Farber <rjfarber at umich.edu> wrote:
>
>> Hi Peter,
>>
>> It would be helpful if you can explain what issue you encountered
>> (screenshots welcomed).
>>
>> Best wishes,
>> Ryan
>>
>> Sent from my iPhone
>>
>> On 14. Nov 2024, at 14:05, Peter Manzella <peter.manzella at maine.edu>
>> wrote:
>>
>>
>> I actually did not know that I could use google to search the mailing
>> list, that is helpful. I resolved that issue, but a new one has come up,
>> that after checking the mailing list, I still am unsure. I found this
>> thread,
>> https://flash.rochester.edu/pipermail/flash-users/2016-June/006310.html
>> , but as I had mentioned before, I'm pretty sure my Makefile.h is good, so
>> I am not sure where to look now. I had FLASH working but the cluster admin
>> must have changed some things around and FLASH no longer works properly.
>>
>> On Thu, Nov 14, 2024 at 3:55 PM Ryan Farber <rjfarber at umich.edu> wrote:
>>
>>> Hi Peter,
>>>
>>> I’m not in front of my computer now but this is another very common
>>> issue. If you google search the flash mailing list you should find the
>>> solution to your compilation error quite readily.
>>>
>>> Best wishes,
>>> Ryan
>>>
>>> Sent from my iPhone
>>>
>>> On 14. Nov 2024, at 10:10, Peter Manzella <peter.manzella at maine.edu>
>>> wrote:
>>>
>>>
>>> Ryan,
>>>
>>> Thank you very much! That worked, I have another error now, but I think
>>> it may have to do with the version of the links in makefile.h,
>>> <image.png>
>>>
>>> If that is the case, I have no way of getting back to a different
>>> version as I have been unable to contact the cluster admin for assistance.
>>> Help is again very much appreciated.
>>>
>>> On Thu, Nov 14, 2024 at 11:24 AM Ryan Farber <rjfarber at umich.edu> wrote:
>>>
>>>> Hi Peter,
>>>>
>>>> Comment out the section of your Makefile.h (mine was at the bottom)
>>>> that has iso_c_binding
>>>> https://flash.rochester.edu/pipermail/flash-users/2024-May/008664.html
>>>>
>>>> Best wishes,
>>>> --------
>>>> Ryan
>>>>
>>>>
>>>> On Thu, Nov 14, 2024 at 6:53 AM Peter Manzella <
>>>> peter.manzella at maine.edu> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am trying to get FLASH running on my university cluster after they
>>>>> moved user interfaces and now it is no longer working, I can setup the
>>>>> problem, but when I run 'make' I encounter this error,
>>>>> <image.png>
>>>>>
>>>>> I am pretty sure the makefile.h is accurate, is there a way to check
>>>>> that? Or are there other ways to check how to fix this? Thanks!
>>>>>
>>>>>
>>>>> --
>>>>> 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-users mailing list
>>>>> flash-users at flash.rochester.edu
>>>>>
>>>>> For list info, including unsubscribe:
>>>>> https://flash.rochester.edu/mailman/listinfo/flash-users
>>>>>
>>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>> --
>> 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
>>
>>
>
> --
> 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
> <Makefile.h>
>
>
--
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://flash.rochester.edu/pipermail/flash-users/attachments/20241115/ab7d1f6d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image0.png
Type: image/png
Size: 97194 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241115/ab7d1f6d/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1.png
Type: image/png
Size: 127592 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241115/ab7d1f6d/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2.png
Type: image/png
Size: 142804 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241115/ab7d1f6d/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image3.png
Type: image/png
Size: 134928 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241115/ab7d1f6d/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image4.png
Type: image/png
Size: 97967 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241115/ab7d1f6d/attachment-0009.png>
More information about the flash-users
mailing list