[FLASH-USERS] FLASH & HYPRE: Makefile.h

Youngjun LEE m13lu2 at gmail.com
Sun Feb 22 10:21:01 EST 2015


Thanks Jason, it works for me. :)


Best,


—
Mailbox에서 보냄

On Mon, Feb 23, 2015 at 12:18 AM, Jason Galyardt <jason.galyardt at gmail.com>
wrote:

> Sorry, I just noticed that I missed name. My apologies Youngjun.
> Jason
> On Sun, Feb 22, 2015 at 10:17 AM, Jason Galyardt <jason.galyardt at gmail.com>
> wrote:
>> Hi Majid,
>>
>> Try adding the following to your Makefile.h CFLAGS or FFLAGS variables, as
>> appropriate:
>>
>> -I $(HYPRE_INSTALL_DIR)/include
>>
>> Of course, you will need to set the HYPRE_INSTALL_DIR earlier in the
>> makefile. This tells the C preprocessor where to look for the include
>> files, and is the most portable solution. Then you can revert your
>> "#include ..." line to the original, omitting the directory information.
>>
>> Regards,
>>
>> Jason Galyardt
>> Dept. of Physics & Astronomy
>> University of Georgia
>>
>> On Sun, Feb 22, 2015 at 10:09 AM, Youngjun LEE <m13lu2 at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I solved that problem with putting real path of the header file in the
>>> gr_hypreF90CAdapter.c file. For example, _hypre_parcsr_ls.h could be found
>>> in “[hypreDirectory]/include”, so I edit the gr_hypreF90CAdapter.c file
>>> like,
>>>
>>> line #90      #include “_hypre_parcsr_ls.h”    =>    #include
>>> “[hypreDirectory]/include/_hypre_parcsr_ls.h"
>>>
>>> After fix that file, you can see more files to fix in that way. I know
>>> this is annoying job, but I don’t know the proper way that fix this problem.
>>>
>>> If anybody knows the proper way to fix this problem, please let me know.
>>>
>>> Thanks,
>>>
>>>>>> Mailbox <https://www.dropbox.com/mailbox>에서 보냄
>>>
>>>
>>> On Fri, Feb 13, 2015 at 7:01 AM, Majid Masnavi <
>>> majidmasnavi at creol.ucf.edu> wrote:
>>>
>>>> Hello everyone,
>>>>
>>>> I am a new user of FLASH code. After a few days, I have installed the
>>>> code on Ubuntu.
>>>> I made executable file for first example: Sedov.
>>>>
>>>> I want to use the code for laser target interaction. I am mtrying to run
>>>> ./setup ..... in Page 440 of Manual.
>>>>
>>>> However, I cannot make correct Makefile.h for
>>>> linking Hypre and FLASH. I stuck on the following error:
>>>>
>>>> gr_hypreF90CAdapters.c:90:30: fatal error:_hypre_parcsr_ls.h: No such
>>>> file or directory
>>>> #include "_hypre_parcsr_ls.h"
>>>> compilation terminated.
>>>> make:***[gr_hypreF90CAdapters.o] Error 1
>>>>
>>>> I guess I installed the hypre-2.10.0b-babel in correct way.
>>>> If anybody knows how to solve this issue, please let me know.
>>>>
>>>> Many thanks.
>>>>
>>>> Majid
>>>>
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20150222/47697599/attachment.htm>


More information about the flash-users mailing list