[Nek5000-users] endian problems
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Thu Dec 3 09:21:22 CST 2009
Hi Stefan,
Just curious - do you plan to update the repo, or
are you saving multiple upgrades for a single commit?
I don't care either way, just trying to understand good (Stefan)
programming practices, so that I can emulate them! :)
Paul
On Thu, 3 Dec 2009, nek5000-users at lists.mcs.anl.gov wrote:
> I was able to identify where the problems is. Yes you're right there is bug in the latest repo version if you'll try to restart and you need to swap the bytes.
>
> Fixed it in my dev-version.
>
> #Stefan
>
>
> On Dec 3, 2009, at 2:13 PM, nek5000-users at lists.mcs.anl.gov wrote:
>
>> It turns out that the old version of the code hangs after a random number of time steps, so I need the new version (r374) to work.
>>
>>
>>
>> Quoting nek5000-users at lists.mcs.anl.gov:
>>
>>> Yes, the files were written out on a AMD Opteron Linux system.
>>>
>>> J
>>>
>>> Quoting nek5000-users at lists.mcs.anl.gov:
>>>
>>>> Ok and do you need to swap the bytes on Intrepid meaning is your restart data of small endian type?
>>>>
>>>> On Dec 3, 2009, at 11:30 AM, nek5000-users at lists.mcs.anl.gov wrote:
>>>>
>>>>> It's a blahh??.f0001 file. (16 files)
>>>>>
>>>>> Johan
>>>>>
>>>>> nek5000-users at lists.mcs.anl.gov wrote:
>>>>>> Is the restart data a .fld?? or a .f???? file?
>>>>>>
>>>>>> #Stefan
>>>>>>
>>>>>> On Dec 3, 2009, at 11:08 AM, nek5000-users at lists.mcs.anl.gov wrote:
>>>>>>
>>>>>>
>>>>>>> Hi again,
>>>>>>>
>>>>>>> It seems to work when I use a slightly older version of the code. There
>>>>>>> was apparently a change in ic.f where the restart data was read in
>>>>>>> ('Reading restart data..' --> 'Reading checkpoint data..').
>>>>>>>
>>>>>>> Johan
>>>>>>>
>>>>>>> --
>>>>>>> Johan Ohlsson
>>>>>>> Department of Mechanics, KTH
>>>>>>> SE-100 44, Stockholm, Sweden
>>>>>>> Phone: +46 8 7906876
>>>>>>> E-mail: johan at mech.kth.se
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Nek5000-users mailing list
>>>>>>> Nek5000-users at lists.mcs.anl.gov
>>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Nek5000-users mailing list
>>>>>> Nek5000-users at lists.mcs.anl.gov
>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Johan Ohlsson
>>>>> Department of Mechanics, KTH
>>>>> SE-100 44, Stockholm, Sweden
>>>>> Phone: +46 8 7906876
>>>>> E-mail: johan at mech.kth.se
>>>>>
>>>>> _______________________________________________
>>>>> Nek5000-users mailing list
>>>>> Nek5000-users at lists.mcs.anl.gov
>>>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>>>
>>>> _______________________________________________
>>>> Nek5000-users mailing list
>>>> Nek5000-users at lists.mcs.anl.gov
>>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>>>
>>>
>>>
>>>
>>> ----------------------------------------------------------------
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>> _______________________________________________
>>> Nek5000-users mailing list
>>> Nek5000-users at lists.mcs.anl.gov
>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
More information about the Nek5000-users
mailing list