[Nek5000-users] question about comilers
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Fri Apr 9 12:44:23 CDT 2010
Hi Mark,
I don't know if anyone else has encountered this...
I'll try to take a look as well.
Paul
On Fri, 9 Apr 2010, Mark Paul wrote:
>
> Hi Paul,
>
> Thanks -- our most immediate issue is postx. I can't seem to
> get postx to compile on a mac using gfortran and gcc. The
> compile crashes at xdriver.c with the error:
>
> gcc -c -O2 xdriver.c
> xdriver.c:14:16: error: icon: No such file or directory
> xdriver.c: In function ‘SetUpEnv’:
> xdriver.c:1266: error: ‘icon_bits’ undeclared (first use in this function)
> xdriver.c:1266: error: (Each undeclared identifier is reported only once
> xdriver.c:1266: error: for each function it appears in.)
> xdriver.c:1266: error: ‘icon_width’ undeclared (first use in this function)
> xdriver.c:1266: error: ‘icon_height’ undeclared (first use in this function)
> xdriver.c: In function ‘TypeChar’:
> xdriver.c:1628: warning: comparison is always true due to limited range of
> data type
> xdriver.c: In function ‘error’:
> xdriver.c:1748: warning: format not a string literal and no format arguments
> make: *** [xdriver.o] Error 1
>
> We still use postx quite a lot and it is important for us to be able
> to compile and use it on multiple machines making the free compiler
> an important part. Any thoughts on this?
>
> Thanks,
>
> Mark
>
> On 4/9/10 4:25 AM, Paul Fischer wrote:
>>
>> Hi Mark,
>>
>> g95 + gcc I think is fine... cc'g the users list
>>
>> I believe the builds should just go through w/ the current
>> repo version of the code.
>>
>> Paul
>>
>> On Fri, 9 Apr 2010, Mark Paul wrote:
>>
>>>
>>> Hi Paul,
>>>
>>> Can you recommend a free set of compilers we can use on mac os x
>>> snow leopard and for linux to run nekton, postx, and prex? We have
>>> used pgi in the past but it is getting too pricey and always seems
>>> to need an expensive upgrade to be supported on current os
>>> distributions etc.
>>>
>>> This would just be for small jobs and post-processing. I was going
>>> to try gcc and gfortran but wanted to get your thoughts on this
>>> before hacking around too much.
>>>
>>> Thanks,
>>>
>>> Mark
>>>
>>>
>
More information about the Nek5000-users
mailing list