[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010825: McIDAS-X 7.80 build on FreeBSD 4.3



>From:  "Dr. James Koermer" <address@hidden>
>Organization:  Plymouth State College
>Keywords:  200108251422.f7PEMS127324 McIDAS-X 7.8 FreeBSD g77

Jim and Ted,

>Date: Sat, 25 Aug 2001 14:18:11 +0000 (GMT)
>From: Jim Koermer <address@hidden>
>Subject: Re: FORTRAN

>I asked Ted about the f2c stuff and here was his response. He found what
>you had put on the system and started the compilation. I'm in Cleveland
>until Monday, so I'm only using this e-mail address as a convenience.

>>From: Ted Wisniewski <address@hidden>
>>To: Jim Koermer <address@hidden>
>>Subject: Re: Items
>>
>>Well,  FreeBSD now has a native F77 compiler and no longer uses f2c.
>>
>>I found your source directory on pscwx...
>>
>>I modified mccomp.sh, did a "make clobber" and started running the make..
>>Depending on how late it runs I may let it finish.  See changes to mccomp.sh
>>below.
>>
>>      As like some other systems with a native fortran77 compiler I
>>added:
>>
>>      fc=f77
>>        fcopts=
>>
>>And modified:
>>
>>      l_opts="$l_opts -lf2c"
>to be:
>>      l_opts="$l_opts"
>>
>>To the FreeBSD section.

>It looks like everything built on McIDAS, taking about 7 minutes.

Wow!  That's a new speed record!

>You may want to see if everything looks okay. I'll be back in the
>office on Tuesday afternoon.

I jumped onto pscwx and checked out 'f77'.  It turns out that this is
just the g77 routine bundled with gcc 2.9x.x.

%f77 -v
g77 version 2.95.3 [FreeBSD] 20010315 (release) (from FSF-g77 version 0.5.25 
20010315 (release))

I have tried multiple times to get g77 builds working _correctly_.  My
latest set of code modifications allows for the applications to be
built, but several do not run correctly.  In particular, if you start a
McIDAS-X session using the code built with g77, you will get crazy
graphics; they zing all over the screen.

In my quick tests on pscwx, I found that BATCH (batch.k) did not work.
The problem is the use of a variable before it gets initialized.
Virtually all Fortran's initialize varibles to 0 at run time; g77
compiled modules unfortunately do not do this.  I fixed batch.pgm so
that the executable now works, but I am _sure_ that this was not the
only routine that will need to be changed in order to work correctly
after being built with g77.

So, it is likely that f2c, f2c.h, and libf2c.a will have to be loaded
on pscwx and McIDAS-X rebuilt and installed.

>>From: Ted Wisniewski <ted>
>>To: "Dr. James Koermer" <koermer>
>>Subject: Build Done
>>
>>McIDAS builds fast on the machine!  
>>
>>Sat Aug 25 03:58:28 GMT 2001: BUILD BEGIN
>>Sat Aug 25 04:05:35 GMT 2001: BUILD END
>>
>>I remember when it would literally take hours. 
>>
>>Ted

Tom
--
+-----------------------------------------------------------------------------+
* Tom Yoksas                                             UCAR Unidata Program *
* (303) 497-8642 (last resort)                                  P.O. Box 3000 *
* address@hidden                                   Boulder, CO 80307 *
* Unidata WWW Service                             http://www.unidata.ucar.edu/*
+-----------------------------------------------------------------------------+


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.