From: Jerry DeLisle on 7 Aug 2010 09:03 On 08/06/2010 02:15 PM, Walt Brainerd wrote: > Walt Brainerd wrote: >> Uno wrote: >>> So, I've been thinking about how to document how one uses gfortran on >>> windows and intend to use my own tendency to think a picture is worth >>> between 3 and 5 paragraphs. >>> >>> I could sit here tapping the keys to describe my first quandary with >>> this material, and where the hms pinafore was helping out, but a >>> picture also reveals the point of view of the user: >>> >>> http://i33.tinypic.com/11liuep.jpg >>> >>> I followed the mingw link this time, as opposed to going to >>> equation.com. I couldn't find binaries when directed along the path >>> that the gfortran folks seemed to want to send me down. >>> >>> I've never had a problem with the products from equation.com, but I >>> wanted to see what else was out there. >>> >>> So, If I'm a person who is well-advised to get a mingw 32 bit xp >>> binary, where was I to find it? >> >> I, too, need some help/advice with this. >> >> I am using an AMD 64 with XP. >> >> I have been running both g95 and gfortran for years with Cygwin and >> decided to see how things work with MinGW. I spent a long time chasing >> links to and from gnu, gfortran, wiki, sourceforge, etc. Finally found >> three versions to try. One doesn't appear to contain gfortran (g77 is >> there). Another (gfortran.org I think) and the one from equations.com >> seem to install and gfortran.exe is in C:\gfortran\bin in both cases, >> but when I try to execute it, I get "Access denied". Trying with a >> bash shell gives "Permission denied". All the .exe files in the bin >> directory have execute permission. >> >> There are several versions from each site and I am not even sure which >> ones to try. >> >> Next I tried g95. It installed, but gave the message >> >> g95: _spawnvp: Exec format error >> >> Any ideas? Thanks. >> >> I also have a laptop i3 with W7. I'll try it next. >> >> Walt Brainerd > > Well, I seemed to have stumbled on the cause of my problems. > I renamed the Cygwin directory and all seems OK. > > It works on both computers (the version from > gnu.gcc.org/wiki/GFortranBinariesWindows). > > G95 still has a problem, but I think it is now > a library path problem. I don't update the Cygwin binary available at the wiki very often. This is because I don't have much time available and it ties up the machine I have quite a bit. I am attempting a build right now for 4.6. At one time we add one of our maintainers doing a regular mingw build with its own windows setup program. He is no longer available to provide this. We are looking for a volunteer to do these, but the original scripts seem to be lost and no one has stepped up. I will post the Cygwin build update if/when successful. Regards, Jerry
From: Uno on 9 Aug 2010 19:59 gmail-unlp wrote: > On Aug 6, 10:06 am, gmail-unlp <ftine...(a)gmail.com> wrote: >> Hi, >> >> I'm not well-advised, but some time ago I've installed Code::Blocks >> with mingw included and now I found I have gfortran as well. I guess >> gfortran is included in mingw binaries... >> >> Hope this helps, >> >> Fernando. > > Just as another consequence of not being well-advised, I realized that > I've not obtained gfortran via Code::Blocks but specifically by > installing > > tdm-mingw-1.908.0-4.4.1-2.exe > > which I downloaded some months ago from > > http://tdm-gcc.tdragon.net/ > (maybe there are newer versions) > > And, at install time, I required to install every available language > (i.e. including Fortran) Thx for your responses, Fernando. I'm trying to document how to use gfortran on windows while I've still got it all fresh in my head. I use windows for fewer and fewer things anymore, and before I put it on mothballs entirely, I want to be able to have this capability squared away as a back-up. I'll take a look at that link for the sake of thoroughness. Do you like your install? -- Uno
From: Uno on 9 Aug 2010 23:32 On 8/6/2010 12:32 PM, Walt Brainerd wrote: > I have been running both g95 and gfortran for years with Cygwin and > decided to see how things work with MinGW. I spent a long time chasing > links to and from gnu, gfortran, wiki, sourceforge, etc. Finally found > three versions to try. One doesn't appear to contain gfortran (g77 is > there). Another (gfortran.org I think) and the one from equations.com > seem to install and gfortran.exe is in C:\gfortran\bin in both cases, > but when I try to execute it, I get "Access denied". Trying with a > bash shell gives "Permission denied". All the .exe files in the bin > directory have execute permission. > > There are several versions from each site and I am not even sure which > ones to try. > > Next I tried g95. It installed, but gave the message > > g95: _spawnvp: Exec format error > > Any ideas? Thanks.Thx, Walt, for apprising me better of the cygwin angle. The reason this had never been a good solution for me was that I had 0 unix background. I grew up in the shadow of mount rainier. So I'm hoping with this thread to describe what I think would be a good update for the fortran wiki. In doing so, I intend to honor the wiki convention of putting some work into it to see what's out there, and how a person is best informed. I learn mainly by my eyes. When my 44-yr old, desert, allergy and construction-irritated eyes comes onto new places on the net, I need to see maybe more trailmarkers than others. In real life, I rely on geoff, who was up four skins in the front 9 and ended the day even with the old man who couldn't even putt. So my first question is what you're supposed to do when you go through mingw. Are you supposed to end up here, and download this thing? http://i34.tinypic.com/fu6zip.jpg *** What I would offer is a simple windows tutorial. Even with this limited ambition, I think there would have to be changes to the 2 following links: http://gcc.gnu.org/wiki/GFortranBinaries http://gcc.gnu.org/wiki/GFortranBinariesWindows I would expect there to be many opinions on this, but I assume that the gfortan folks can basically send me the same signals on this. I think you guys need a documentor as much as your documentation does. *** This is where I would deviate from defaults and for good reason. 'Program Files' sucks on a command line. Simple and plain. 'gcc': better. http://i34.tinypic.com/s5ibu9.jpg http://i36.tinypic.com/1zz28ab.jpg Beautiful night here is the desert southwest. Cicadas still going. Gib, the other thing about cicadas is that they do the "tick tick tick" like a Predator. Cheers, -- Uno
From: Uno on 10 Aug 2010 01:10 On 8/7/2010 6:03 AM, Jerry DeLisle wrote: > I don't update the Cygwin binary available at the wiki very often. This > is because I don't have much time available and it ties up the machine I > have quite a bit. I am attempting a build right now for 4.6. At one time > we add one of our maintainers doing a regular mingw build with its own > windows setup program. He is no longer available to provide this. We are > looking for a volunteer to do these, but the original scripts seem to be > lost and no one has stepped up. > > I will post the Cygwin build update if/when successful. I went for a mingw install and failed spectacularly: http://i38.tinypic.com/35lzzex.jpg If you gfortran folk will not come to terms with this, I will start taking it out on the pandas. Tug McGraw ++. -- Uno
From: gmail-unlp on 10 Aug 2010 08:51 On Aug 9, 8:59 pm, Uno <merrilljen...(a)q.com> wrote: > gmail-unlp wrote: > > On Aug 6, 10:06 am, gmail-unlp <ftine...(a)gmail.com> wrote: > >> Hi, > > >> I'm not well-advised, but some time ago I've installed Code::Blocks > >> with mingw included and now I found I have gfortran as well. I guess > >> gfortran is included in mingw binaries... > > >> Hope this helps, > > >> Fernando. > > > Just as another consequence of not being well-advised, I realized that > > I've not obtained gfortran via Code::Blocks but specifically by > > installing > > > tdm-mingw-1.908.0-4.4.1-2.exe > > > which I downloaded some months ago from > > >http://tdm-gcc.tdragon.net/ > > (maybe there are newer versions) > > > And, at install time, I required to install every available language > > (i.e. including Fortran) > > Thx for your responses, Fernando. > > I'm trying to document how to use gfortran on windows while I've still > got it all fresh in my head. I use windows for fewer and fewer things > anymore, and before I put it on mothballs entirely, I want to be able to > have this capability squared away as a back-up. > > I'll take a look at that link for the sake of thoroughness. Do you like > your install? > -- > Uno Hi Uno, As a matter of fact, I'm a plain Windows user, since I learn, research, and teach, using Linux. I use development tools in Windows only when strictly required (and I have to recognize that "strictly" have several different meanings along the time...). That said, I installed gfortran via tdm-gcc and it worked immediately ok, and this implies I really like it. I'm pretty much sure I had some trouble with other options, but I don't remember the details, maybe having to rename directories was one of them (an ugly one, for me). By the way, I've installed Code::Blocks in Windows because some student asked for a Windows IDE for making some programs using sockets, and I found Code::Blocks fine, I've finally made some examples for sockets, fortran, and OpenMP under Windows (all in different times, for different people). I'm still a plain user, who did some little example programs in Windows, I don't know similarities/differences among the different options for Fortran compilers and IDEs in Windows, just as an example of my ignorance. Hope this helps, Fernando.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: Going from Fortran IV for CDC to any other Fortran Next: unformatted files (again) |