help: WRAPIT

From: Sha Feng <sfeng_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 15 2011 - 07:50:20 MDT

Hi ncl-talker,

1. I tried to call a Fortran subroutine from NCL using WRAPIT. I had a Fortran 90 file and created a "stub" file. Following the step on the NCL website, ran

$ wrapit jointFtoNCL.stub A3_writeNCLascii.f90

It showed:
WRAPIT Version: 100111
A syntax error occurred while parsing: nteger
COMPILING A3_writeNCLascii.f90
ld: library not found for -lgfortran
collect2: ld returned 1 exit status

2. Ran:

$ locate libgfortran.a

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

  sudo launchctl load -w /System/Library/LaunchDaemons/

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
3. Ran:

$ sudo launchctl load -w /System/Library/LaunchDaemons/

However, it did not work. The problem in Step 1 still happened.

Could anyone help me to fix it? My system is Mac OS X version 10.6.7.

Any help is appreciated.


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Jul 15 07:51:08 2011

This archive was generated by hypermail 2.1.8 : Mon Jul 18 2011 - 15:57:57 MDT