[FLASH-USERS] Compile Error mismatch between...
Naveen Yadav
naveen.phys at gmail.com
Sat Aug 28 08:42:37 EDT 2021
Dear Victor,
I am glad that something worked out. Try attaching this compile flag
-Wno-implicit-function-declaration
to the line of your makefile which states
CFLAGS = -g -O2
The edited line would read
CFLAGS = -g -O2 -Wno-implicit-function-declaration
I hope this helps.
Regards
Naveen Yadav
Post-doctoral Researcher,
Max Planck Institute For Astrophysics,
Garching, Germany.
"The purpose of (scientific) computing is insight, not numbers" -- Richard
Hamming.
On Fri, Aug 27, 2021 at 11:12 PM Victor Ramon Flores <floresvr at uci.edu>
wrote:
> Dear Naveen,
>
> I tried it again and it now turns the error into a warning. Thank you very
> much for your help. A new error arised, any advice ?
> [image: Screen Shot 2021-08-27 at 2.10.12 PM.png]
>
> thanks again!
>
> best regards,
>
> Victor Flores
>
> On Fri, Aug 27, 2021 at 12:28 AM Naveen Yadav <naveen.phys at gmail.com>
> wrote:
>
>> Dear Victor,
>>
>> Try adding the flag
>> -fallow-argument-mismatch
>>
>> to your makefile in the line:
>> FFLAGS_DEBUG
>>
>> The new line would read:
>>
>> FFLAGS_DEBUG = -g -c -fdefault-real-8 -fdefault-double-8 -Wall -pedantic
>> -fbacktrace -ffpe-trap=invalid,zero,overflow -fallow-argument-mismatch
>>
>> Cheers
>>
>> Naveen Yadav
>> Post-doctoral Researcher,
>> Max Planck Institute For Astrophysics,
>> Garching, Germany.
>>
>> "The purpose of (scientific) computing is insight, not numbers" --
>> Richard Hamming.
>>
>>
>> On Fri, Aug 27, 2021 at 7:46 AM Victor Ramon Flores <floresvr at uci.edu>
>> wrote:
>>
>>> Hello all,
>>>
>>> I keep encountering this error when I try to compile. I'm using macOS,
>>> brew gcc,and brew MPICH. Thank you all for the help, it is very much
>>> appreciated. I will attach my makefile.
>>> [image: Screen Shot 2021-08-26 at 10.42.06 PM.png]
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210828/bdaac81d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-08-26 at 10.42.06 PM.png
Type: image/png
Size: 456923 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210828/bdaac81d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-08-27 at 2.10.12 PM.png
Type: image/png
Size: 207981 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210828/bdaac81d/attachment-0003.png>
More information about the flash-users
mailing list