[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20031202: Problem with Absoft8.0 on Mac OS
- Subject: Re: 20031202: Problem with Absoft8.0 on Mac OS
- Date: Tue, 03 Feb 2004 15:30:25 -0700
Stephen,
>Date: Mon, 02 Feb 2004 15:00:03 -0800
>From: Stephen Leroy <address@hidden>
>Organization: NASA/JPL
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20031202: Problem with Absoft8.0 on Mac OS
>Keywords: 200311150031.hAF0V4Ob004401
The above message contained the following:
> After a long break, I'm back to trying to get the netcdf-fortran interface
> working on mac os x with absoft fortran v8. After all we've tried already,
> would it be any easier if I can get you a temporary account on the computer?
> It wouldn't be difficult to do because the computer is already outside the
> JPL firewall. I'll even send along pdfs of the absoft user and reference
> manual. <br>
> <br>
> Please?!?!?!<br>
> <br>
I was able to successfully build and install the netCDF package on your
MacOS X system. Here's a summary of my effort:
$ ssh address@hidden
...
Welcome to Darwin!
[thomaspc:~] ems% exec bash
~: ftp ftp.unidata.ucar.edu
Connected to ftp.unidata.ucar.edu.
...
ftp> cd pub/netcdf/
...
ftp> get netcdf-3.5.1-beta13.tar.Z
...
^D
...
~: zcat netcdf-3.5.1-beta13.tar.Z | tar -xf -
...
~: rm netcdf-3.5.1-beta13.tar.Z
~: cd netcdf-3.5.1-beta13/src/fortran
~/netcdf-3.5.1-beta13/src/fortran: patch -c cfortran.h absoft90-macosx.patch
patching file cfortran.h
~/netcdf-3.5.1-beta13/src: FC=/Applications/absoft/bin/f90 FFLAGS="-w
-YEXT_NAMES=LCS -YEXT_SFX=_ -YCFRL=1" F90=/Applications/absoft/bin/f90
F90FLAGS="-w -YEXT_NAMES=LCS -YEXT_SFX=_ -YCFRL=1" FLIBS=-lU77
CPPFLAGS="-DAbsoftProFortran" CFLAGS= CC=/usr/bin/cc CXX=/usr/bin/c++
./configure &>configure.log
~/netcdf-3.5.1-beta13/src: make &>make.log
~/netcdf-3.5.1-beta13/src: make test &>test.log
~/netcdf-3.5.1-beta13/src: make install &>install.log
I got the patch-file "absoft90-macosx.patch" from
http://www.unidata.ucar.edu/packages/netcdf/absoft90-macosx.patch
Please let me know if this helps.
Regards,
Steve Emmerson