Search found 146 matches

by Mico
Feb 02, 2015 9:38
Forum: Windows
Topic: Virus!?
Replies: 9
Views: 2717

Re: Virus!?

The 'Doctor Web' antivirus does the same false report, based on heuristics checks. I think this is the only explanation, and I am glad to know I'm not the only one who got a virus alert. In fact, I checked the "infected" FBIDETEMP.exe sending it to virustotal.com and it turned out that th...
by Mico
Feb 01, 2015 10:08
Forum: Windows
Topic: Virus!?
Replies: 9
Views: 2717

Re: Virus!?

About one month ago my AVIRA found a virus in the FBIDETEMP.exe that was compiled while I was executing a small piece of code. When I tried to run AVIRA for a full scan, right after that detection, it turned out that several api-ms-win-downlevel-*-l1-1-0.dll (the * replaces several names) were missi...
by Mico
Jan 02, 2015 20:31
Forum: Windows
Topic: Virus!?
Replies: 9
Views: 2717

Re: Virus!?

Thanks, dkl! I was pretty sure that FB was not involved in what happened and, if a fake virus alert was the only problem, I would not have been much concerned. The missing api-ms-win-downlevel-*-l1-1-0.dll files (I realized that *-user32-* is not the only missing dll) however, are a real problem bec...
by Mico
Jan 02, 2015 18:23
Forum: Windows
Topic: Virus!?
Replies: 9
Views: 2717

Virus!?

Hi everyone! While I'm no more an active user of this forum since a few years (not enough time, unfortunately!), I still know it's the only place where one can find advice about every FB-related issue. Yesterday I noticed that a new version was available (1.01) and I installed it on my WIn7 32 bit P...
by Mico
Sep 03, 2012 22:17
Forum: Windows
Topic: Minimum single precision value
Replies: 11
Views: 1771

Re: Minimum single precision value

As always I learned quite a bit from the forum. Thanks a lot everyone!
by Mico
Sep 02, 2012 11:36
Forum: Windows
Topic: Minimum single precision value
Replies: 11
Views: 1771

Re: Minimum single precision value

Thanks, Richard and MichaelW! I was (partly) aware of the rounding problems due to the different basis, as well as of those related to the byte order, but what really puzzled me was the fact that I was reading a value from a binary file that was apparently interpreted (i.e. shown in console output) ...
by Mico
Sep 02, 2012 8:23
Forum: Windows
Topic: Minimum single precision value
Replies: 11
Views: 1771

Minimum single precision value

I wrote a very simple program to read a single precision array from a binary file generated by Surfer 9 (a popular geostatical tool). Missing data are coded in the array as the minimum 32 bit floating point value (-3.402823e+38) and I want to recognize them as easily as possible. Although there are ...
by Mico
Apr 29, 2012 7:04
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

Re: reading big-endian binary files

For the purposes here the fix is to simply remove this instruction, with the probable side effect of making the code slightly faster. I have updated my posts. Thanks a lot, MichaelW. Now it works alike a charm and it's actually the fastest solution. I'm used to write 99% of my code for computationa...
by Mico
Apr 28, 2012 17:55
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

Re: reading big-endian binary files

I just ran a few more tests on both types of solutions, i.e. (1) processing only one value at a time and (2) processing the whole array. As for single value processing, I completely removed data I/O from my test program, because it took so much more time than the actual conversion that its variabili...
by Mico
Apr 28, 2012 7:53
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

Re: reading big-endian binary files

Thanks to MichaelW and I3I2UI/I0 for their asm-based solutions, I'm going to test them and post the results ASAP!
by Mico
Apr 28, 2012 7:49
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

Re: reading big-endian binary files

Can you post at least one of the two solutions you have validated? Yes, of course. Basically it's just a test with s sample HDF file containing chlorophyll concentration data from the MODISA remote sensing mission. The data file mentioned in the code is available at http://oceandata.sci.gsfc.nasa.g...
by Mico
Apr 27, 2012 18:16
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

Re: reading big-endian binary files

I ran a few test with Richard's reverse() function as well as with SARG's union-based solution. Reading a very large data file (37324800 4-bytes floating point values) the reverse() function was 15% to 20% faster than the union-based method. Unfortunately I wasn't able (my fault) to adapt fxm's &quo...
by Mico
Apr 27, 2012 14:55
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

Re: reading big-endian binary files

Thanks a lot everybody for your quick replies. I had problems with a couple of potential solutions (my fault, i guess, I'm not used to handle pointers, but I'll try again later), while Richard's reverse() function (as well as its sub counterpart) works very nicely. So, special thanks to Richard, I'l...
by Mico
Apr 27, 2012 11:43
Forum: Windows
Topic: reading big-endian binary files
Replies: 20
Views: 3150

reading big-endian binary files

I have to read an array of 4-bytes floating point data (single in FB) from a big-endian binary file, but I am realizing the process is less straightforward than expected. I can read the file byte by byte, write each set of 4 bytes in reverse order to another file, and then access the single data as ...
by Mico
Sep 01, 2011 9:05
Forum: General
Topic: FB vs gfortran
Replies: 18
Views: 1740

Oops! I was writing while you were posting. After changing the C version to "long long", it takes 25.77 secs, i.e. same as gfortran (as it should be) and only slightly faster than FB.

P.S. And I guess now it's time to get some real work done ;-)

Go to advanced search