[ncl-talk] sub: Wrapit error...

dale zuri dalezuri at gmail.com
Sat Mar 11 19:21:34 MST 2017


Hi,
WRAPIT didn't give any error. But, when I run ncl code, I get below printed
warning. And also printed the WRAPIT -d output.

Please, help me to fix this bug?
Thank you,
Dale

;;;;;;;;;;;;;;;;;;;;;;;;;;;

warning:An error occurred loading the external file
./newcffi_singlegrid.so, file not loaded
dlopen(./newcffi_singlegrid.so, 2): Symbol not found: _hin_
  Referenced from: ./newcffi_singlegrid.so
  Expected in: flat namespace
 in ./newcffi_singlegrid.so
warning:error at line 9 in file canadafire_FWItestZeikcomp.ncl

fatal:syntax error: line 43 in file canadafire_FWItestZeikcomp.ncl before
or near :
EX:
--^

fatal:error in statement
fatal:Syntax Error in block, block not executed

Output of WRAPIT -d
COMPILING newcffi_singlegrid.f
gfortran -m64 -fPIC -v -c -fno-second-underscore newcffi_singlegrid.f
Using built-in specs.
COLLECT_GCC=gfortran
Target: x86_64-apple-darwin15.6.0
Configured with: ../gcc-6.2.0/configure --enable-languages=c++,fortran
--with-gmp=/usr/local
Thread model: posix
gcc version 6.2.0 (GCC)
COLLECT_GCC_OPTIONS='-m64' '-fPIC' '-v' '-c' '-fno-second-underscore'
'-mmacosx-version-min=10.12.3' '-mtune=core2'
 /usr/local/libexec/gcc/x86_64-apple-darwin15.6.0/6.2.0/f951
newcffi_singlegrid.f -ffixed-form -fPIC -quiet -dumpbase
newcffi_singlegrid.f -m64 -mmacosx-version-min=10.12.3 -mtune=core2
-auxbase newcffi_singlegrid -version -fPIC -fno-second-underscore
-fintrinsic-modules-path
/usr/local/lib/gcc/x86_64-apple-darwin15.6.0/6.2.0/finclude -o
/var/folders/60/qx8g2gvj169741yy29b3h0hm0000gn/T//ccLtfHN9.s
GNU Fortran (GCC) version 6.2.0 (x86_64-apple-darwin15.6.0)
    compiled by GNU C version 6.2.0, GMP version 6.0.0, MPFR version
3.1.2-p10, MPC version 1.0.2, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (GCC) version 6.2.0 (x86_64-apple-darwin15.6.0)
    compiled by GNU C version 6.2.0, GMP version 6.0.0, MPFR version
3.1.2-p10, MPC version 1.0.2, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-m64' '-fPIC' '-v' '-c' '-fno-second-underscore'
'-mmacosx-version-min=10.12.3' '-mtune=core2'
 as -arch x86_64 -force_cpusubtype_ALL -o newcffi_singlegrid.o
/var/folders/60/qx8g2gvj169741yy29b3h0hm0000gn/T//ccLtfHN9.s
COMPILER_PATH=/usr/local/libexec/gcc/x86_64-apple-darwin15.6.0/6.2.0/:/usr/local/libexec/gcc/x86_64-apple-darwin15.6.0/6.2.0/:/usr/local/libexec/gcc/x86_64-apple-darwin15.6.0/:/usr/local/lib/gcc/x86_64-apple-darwin15.6.0/6.2.0/:/usr/local/lib/gcc/x86_64-apple-darwin15.6.0/
LIBRARY_PATH=/usr/local/lib/gcc/x86_64-apple-darwin15.6.0/6.2.0/:/usr/local/lib/gcc/x86_64-apple-darwin15.6.0/6.2.0/../../../
COLLECT_GCC_OPTIONS='-m64' '-fPIC' '-v' '-c' '-fno-second-underscore'
'-mmacosx-version-min=10.12.3' '-mtune=core2'
SHARED OBJECT NAME (SharedObj): newcffi_singlegrid.so
LINKER SUFFIX (ld_suffix): WRAPIT.o newcffi_singlegrid.o -o
newcffi_singlegrid.so

LINKING
gcc -m64 -bundle -flat_namespace -undefined suppress WRAPIT.o
newcffi_singlegrid.o -o newcffi_singlegrid.so -lgfortran
END WRAPIT


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170311/0494d628/attachment.html 


More information about the ncl-talk mailing list