[Ifeffit] Compiling under windows

Matt Newville newville at cars.uchicago.edu
Sun May 2 11:14:28 CDT 2004


Hi Scott, 

Sorry, your earlier message that &max_paths was 256 in 1.2.5a (which
is indeed true!) somehow got lost in the piles of Ifeffit emails.
When I wrote earlier that it was 1024, I had increased this on my
own machine, but that was after the 1.2.5a release.  This 
'super-sized' dll has not been included in any updates -- see below.

I put a couple versions of ifeffit_10.dll at
    http://cars.uchicago.edu/ifeffit/src/Win32_dlls/

there's a MPATHS_1024 folder with a dll that has &max_paths set to
1024 (the consts.h used to build is there as well).  I should say I
_believe_ it has &max_paths set to 1024.  I'm not at a windows
machine as I post this, so I'm going from time-stamps and from my
own memory. Assuming it does, this version of ifeffit_10.dll can be
dropped into C:\Program Files\Ifeffit.  Please let me know what this
reports for &max_paths and how many paths you can verify work!

Given the memory problems discussed earlier this week, keeping the
standard distribution at 256 paths seems wise. But I should probably
make 'supersized' dlls for future releases too (I may need
reminding!).  Again, it's likely that this larger version will cause
the sorts of memory problems discussed last week, and that the
Virtual Memory may need to be increased on some machines.
 
--Matt

PS Re Compiling on Windows:

For what it's worth, I'm currently using Digital Visual Fortran (or
whatever it's called now) to build ifeffit_10.dll.  I haven't tried
using Gnu Fortran on Windows in a while.  I probably should look
into using Cygwin again for the Windows build, as it would be much
closer to the standard unix build, and so probably easier to
maintain (at least after some initial work!), and definitely easier
for others to mimic.  The tricky part is setting up the link with
GrWin/PGPLOT. I have not tried that with anything except Compaq
Visual Fortran in a very long time, but I understand it can be made
to work.

Also, Cygwin now includes XFree86 and I wouldn't be surprised if the
whole Unix/GNU approach (including PGPLOT for X11 and using the perl
source for horae) could be made to work under Cygwin, though it
might take some skill with Unix.




More information about the Ifeffit mailing list