[ncl-install] gfortran error? installing NCL on Mac OS X Lion

Yoichi Takayama y.takayama at unsw.edu.au
Fri Apr 20 17:52:17 MDT 2012


On 21/04/2012, at 3:29 AM, Mary Haley wrote:

>> By the way, this page says it would require csh or tcsh, but Mac requires only bash.
> 
> You need csh in order to run some of the tools that come with NCL, like "ncl_filedump" and "ncl_convert2nc".

That is great to know. Please include that information in the note or the installation instructions. It implies that and I suspected that is the case, but it is not explicit enough.

>> $ ncargex cpex08 -clean
>> 
>> ......
>> 
>> The compile and link failed.
>> 
>> Is this to do with the gfortran version used, or something else is missing (such as header files)?

> This is because we don't have a binary for the Mac "x86_64" system yet. You downloaded a "i686" system,
> and I'm only just now starting to see requests for "x86_64". 
> 
> Note: it's not important to get "cpex08" to compile. This is only for people using NCAR Graphics and writing C or Fortran programs.
> If you plan to use NCL only, then it's not critical to get this program to compile.
> 
> However, if you want to try, you can try this:
> 
>   ncargex cpex08 -n
>   ncargf77 -o cpex08 cpex08.f cpexcc.f -lgfortran
>   ./cpex08

That is great to know. I actually plan to use NCAR Graphics in the near future and both of my machines (Mac and Linux) are installed with only x86_64.

For this, do you suggest that I wait for the x86_64 version of NCL (and NCAR Graphics if it does not have x86_64 version yet) or can do with the commands you have suggested? I take that they are to instruct cpex08 to compile with older i686 symbols that NCL binary is compiled with.

Alternatively, should I compile NCL from the source on the machines???

Cheers,
Yoichi

--------------------------------------------------
Yoichi Takayama, PhD
Research Officer
Climate Change Research Centre
Level 4 Mathews Building
University of New South Wales
Sydney, Australia, 2052
Phone (CCRC): +61 2 9385 8963 
Fax (CCRC): +61 2 9385 8969
--------------------------------------------------
UNSW  ABN 57 195 873 179, CRICOS Provider 00098G
IMPORTANT: This email and any attachment(s) transmitted with it are intended solely for the use of the addressee(s) and may contain information that is confidential or subject to legal privilege. If you receive this email in error, please disregard the contents of the email and attachment(s), delete them and notify the sender immediately. Please note that any copying, distribution or use of this email is prohibited. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the view of The University of New South Wales. Before opening any attachments, please check for viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120420/4068def1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120420/4068def1/attachment.bin 


More information about the ncl-install mailing list