WRAPIT error: wrong architecture

From: Mingxuan Chen <chen_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 02 2010 - 11:00:36 MST

Hello,
   I run "WRAPIT utc_lt90.stub utc_lt.f90", and obtained "utc_lt90.so".
  When I use
   "external utc_lt90 "./utc_lt90.so"
  There is error message:
warning:An error occurred loading the external file ./utc_lt90.so, file not loaded
dlopen(./utc_lt90.so, 2): no suitable image found. Did find:
        ./utc_lt90.so: mach-o, but wrong architecture
warning:error at line 5

 What is wrong?
WRAPIT is version : 091416
 NCL version 5.1.1
  it run at Max Os X 10.6.2

  Thank you for your help

Mingxuan

-------
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
external UTC_LT90 "./utc_lt90.so"
begin
.................
  ---------

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 2 11:00:49 2010

This archive was generated by hypermail 2.1.8 : Sun Feb 07 2010 - 15:37:25 MST