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
LINKING
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
END WRAPIT
--------------------------------------
2. Ran:
$ locate libgfortran.a
showed:
--------------------------------------
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/com.apple.locate.plist
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/com.apple.locate.plist
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.
Sha
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
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